Ftp Client not connect to host.

Discussion in 'General' started by immortalbikram, Dec 23, 2011.

  1. immortalbikram

    immortalbikram New Member

    I am having strange problem. My ispconfig 3 runs on ubuntu 10.04 . Its almost 6 months i am running this server and working good. Few days ago i upgrade packages of ubuntu . Now Ftp client like filezilla cannot establish to the server. It display Connection timeout. But when i try to connect ftp connection from my laptop to webserver with terminal , it gets established. I can see all folders of remote host (webserver). I look after log and cannot see any log. In log it show you are log in.
    Help urgently needed.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your logs?

    Did you check the firewall? What are the outputs of
    Code:
    iptables -L
    and
    Code:
    netstat -tap
    ?
     
  3. immortalbikram

    immortalbikram New Member

    Iptables -L
    -------------
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain fail2ban-ssh (1 references)
    target prot opt source destination
    RETURN all -- anywhere anywhere

    netstat -tap
    ------------

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 ns1.server.com.np:46819 *:* LISTEN 19483/pure-ftpd (ID
    tcp 0 0 *:6660 *:* LISTEN 19651/apache2
    tcp 0 0 localhost:10024 *:* LISTEN 1027/amavisd (maste
    tcp 0 0 localhost:10025 *:* LISTEN 2850/master
    tcp 0 0 ns1.server.com.np:44106 *:* LISTEN 19660/pure-ftpd (ID
    tcp 0 0 *:mysql *:* LISTEN 957/mysqld
    tcp 0 0 localhost:spamd *:* LISTEN 1031/spamd.pid
    tcp 0 0 *:www *:* LISTEN 19651/apache2
    tcp 0 0 *:tproxy *:* LISTEN 19651/apache2
    tcp 0 0 *:ftp *:* LISTEN 19465/pure-ftpd (SE
    tcp 0 0 ns1.server.com.np:domain *:* LISTEN 969/named
    tcp 0 0 localhost:domain *:* LISTEN 969/named
    tcp 0 0 *:smtp *:* LISTEN 2850/master
    tcp 0 0 localhost:953 *:* LISTEN 969/named

    tcp 0 0 *:https *:* LISTEN 19651/apache2
    tcp 32 0 ns1.server.com.np:smtp mail-tul01m020-f1:56252 CLOSE_WAIT 18876/smtpd
    tcp 32 0 ns1.server.com.np:smtp mail-iy0-f177.goo:57382 CLOSE_WAIT 17213/smtpd
    tcp 32 0 ns1.server.com.np:smtp mail-iy0-f177.goo:53697 CLOSE_WAIT 16293/smtpd
    tcp 1 0 ns1.server.com.np:ftp system.server.com.n:57481 CLOSE_WAIT 19483/pure-ftpd (ID
    tcp 0 0 ns1.server.com.np:666 parijat.server.com.:44404 ESTABLISHED 19147/0
    tcp 1 0 ns1.server.com.np:smtp 119.82.102.34:1339 CLOSE_WAIT 17505/smtpd
    tcp 0 0 ns1.server.com.np:www proxy1.subisu.net:38096 TIME_WAIT -
    tcp 0 0 localhost:mysql localhost:33605 TIME_WAIT -
    tcp 32 0 ns1.server.com.np:smtp mail-iy0-f177.goo:40079 CLOSE_WAIT 18031/smtpd
    tcp 32 0 ns1.server.com.np:smtp mail-gx0-f177.goo:42824 CLOSE_WAIT 16584/smtpd
    tcp 0 0 localhost:mysql localhost:33604 TIME_WAIT -
    tcp 0 0 ns1.server.com.np:www proxy1.subisu.net:55806 TIME_WAIT -
    tcp 1 0 ns1.server.com.np:ftp system.server.com.n:57522 CLOSE_WAIT 19660/pure-ftpd (ID
     
  4. cbj4074

    cbj4074 Member

    You don't see any errors in the console when you restart pure-FTPd with something like

    Code:
    service pure-ftpd-mysql restart
    
    do you? If not, what is the full command that is output when you start the service?

    I have a VPS and I had to build pure-ftpd from source, or it would not start. You didn't do this in the past and forget to hold-back the package or something, did you?

    Also, it would be helpful to know which software packages, exactly, were upgraded.
     

Share This Page