Problems with a clean install and proftpd

Discussion in 'Installation/Configuration' started by Richard87, Jun 21, 2007.

  1. Richard87

    Richard87 New Member

    [SOLVED]Problems with a clean install and proftpd

    Hello, I am having some big problems with ProFTPd, I cant login to the ftp server nomatter what I do:(

    My Setup is Fedora 7, and the Perfect Server Fedora 7, with ISPConfig,

    I have no idea where to start error probing, so please help:O

    Thanks in advance;)
     
    Last edited: Jun 24, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap | grep ftp

    and:

    iptables -L
     
  3. Richard87

    Richard87 New Member

    Sorry for the slow replie, but here it is, everything is looking good to me atleast...

    any udea?

    Code:
    [root@drachir ~]# netstat -tap | grep ftp
    tcp        0      0 *:ftp                       *:*                         LISTEN      2292/proftpd: (acce
    [root@drachir ~]# iptables -L
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    DROP       tcp  --  anywhere             127.0.0.0/8
    ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
    ACCEPT     0    --  anywhere             anywhere
    DROP       0    --  BASE-ADDRESS.MCAST.NET/4  anywhere
    PUB_IN     0    --  anywhere             anywhere
    PUB_IN     0    --  anywhere             anywhere
    PUB_IN     0    --  anywhere             anywhere
    PUB_IN     0    --  anywhere             anywhere
    DROP       0    --  anywhere             anywhere
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
    DROP       0    --  anywhere             anywhere
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    PUB_OUT    0    --  anywhere             anywhere
    PUB_OUT    0    --  anywhere             anywhere
    PUB_OUT    0    --  anywhere             anywhere
    PUB_OUT    0    --  anywhere             anywhere
    
    Chain INT_IN (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    DROP       0    --  anywhere             anywhere
    
    Chain INT_OUT (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    ACCEPT     0    --  anywhere             anywhere
    
    Chain PAROLE (9 references)
    target     prot opt source               destination
    ACCEPT     0    --  anywhere             anywhere
    
    Chain PUB_IN (4 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere            icmp destination-unreachable
    ACCEPT     icmp --  anywhere             anywhere            icmp echo-reply
    ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded
    ACCEPT     icmp --  anywhere             anywhere            icmp echo-request
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ftp
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ssh
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:smtp
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:domain
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:http
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:hosts2-ns
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:pop3
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:https
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ndmp
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
    DROP       icmp --  anywhere             anywhere
    DROP       0    --  anywhere             anywhere
    
    Chain PUB_OUT (4 references)
    target     prot opt source               destination
    ACCEPT     0    --  anywhere             anywhere
    
    Chain RH-Firewall-1-INPUT (0 references)
    target     prot opt source               destination
    ACCEPT     0    --  anywhere             anywhere
    ACCEPT     icmp --  anywhere             anywhere            icmp any
    ACCEPT     esp  --  anywhere             anywhere
    ACCEPT     ah   --  anywhere             anywhere
    ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:mdns
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ipp
    ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
    ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
    ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http
    ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ftp
    ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ndmp
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:hosts2-ns
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:5901
    REJECT     0    --  anywhere             anywhere            reject-with icmp-host-prohibited
    
    ps, I can connect to the server local and from a client, but I cant login no matter what:(
     
    Last edited: Jun 22, 2007
  4. falko

    falko Super Moderator Howtoforge Staff

  5. Richard87

    Richard87 New Member

    Hey, I followed it, and my config file match the config file on internett,

    the ftp server is runnning, but wont accept any users/pass'es...
     
  6. mlz

    mlz Member

    Just curious, but did you verify that the user is in the passwd file:

    Code:
    # grep username /etc/passwd
    
    Can you ssh into the user?
     
  7. Richard87

    Richard87 New Member

    [root@drachir /]# grep web8_richard /etc/passwd
    web8_richard:x:10003:10008:Richard:/var/www/html/web8:/bin/bash

    (I can loggin via ssh with this account)

    :(

    [EDIT]
    I checket /var/log/messages for hits from proftpd, wich kept happening was this line:

    PAM(web8_richard): Authentication failure.
     
    Last edited: Jun 24, 2007
  8. Richard87

    Richard87 New Member

    I dont know what have happend, but I can login to the ftp-server now

    Tanks for all the help:D

    (PS. the user web8_richard is set up as a site user (w/ administrator rights), shouldn't this user be able to login to ISPConfig - Login?)
     
  9. mlz

    mlz Member

    No, you would use the client login for that. The web8_richard is a system user, you can manage your mail account, but not use the control panel for the site.
     

Share This Page