Results 1 to 5 of 5

Thread: FTP Connection Failed

  1. #1
    Join Date
    Mar 2004

    FTP Connection Failed


    FTP has been running fine, but for some reason today every site gets a Connection Refused, Connection Failed etc etc.

    "Connected to in 0.000000 seconds, Waiting for Server Response

    Failed to receive response after connect"

    I can't even connect from the server itself to FTP.

    ProFTP says it's running (I've stopped it, started it, rebooted the server, turned off firewall etc) - but nothing seems to work.

    Any ideas ?


  2. #2
    Join Date
    Mar 2004
    Ok an update... It's only when I add a site does it stop for everyone.

    If I delete the site and restart proftp it works again.

    In /etc/proftpd.vhosts.conf there are 2 dedicated IP's with all the Virtual Host blurb, but when I add a site to the main shared IP it adds the below and then won't work. If I remove it, then it works, but add another account and it does it again.

    ServerName "ProFTPd"
    ExtendedLog /var/log/proftpd/ WRITE,READ userlog
    AuthUserFile /etc/proftpd.passwd


    Any clues ?
    Last edited by XYZed; 03-30-2004 at 06:53 AM.

  3. #3

    Make sure the following is set:

    localhost should be set to
    The hostname should only be set to the server IP.

    the server IP should *not* appear in that file because proftpd will load the server IP by default (IP from the /etc/hosts file).

    If DA is adding the server IP to the proftpd.vhosts.conf file, double check that the IP is actually set as the server IP in the IP manager section of the Admin Panel.


  4. #4
    Join Date
    Mar 2004
    This came back to haunt me with all FTP failing on the shared IP. The server IP isn't showing in /etc/proftpd.vhosts.conf, but the shared IP is (a different IP).

    Now here's the weird part, it is when I disable (untick) SSH access in the plan it is then that FTP fails to the shared IP sites only - if I tick it again, no problem for FTP access.

    Umm I take it that is not normal ???


    (also posted to remind me next time what the cause is).

  5. #5
    I'm wondering if Pam is getting in the way of things. Pam would use the system password instead of the password files DA sets up.

    are virtual ftp accounts affected at all? (eg

    If the password file for the shared IP is /etc/proftpd.passwd, you should be able to remove the whole virtualhost and it will still work (defaults to /etc/profptd.passwd if no VH).

    You can tell what it's doing if you restart it in non-daemon mode and add debug options:
    service proftpd stop
    proftpd -n -d 9
    Then you can see all files it's using while trying to authenticate (or pam if it's using that).

    One thing you might try adding :
    AuthPAM off
    AuthPAMAuthoritative off

    in your /etc/proftpd.conf file (top) to try and stop PAM from dong antyhing.


Similar Threads

  1. failed: Connection timed out.
    By TestUser in forum Installation / System Requirements
    Replies: 0
    Last Post: 09-05-2011, 11:10 AM
  2. connection to IMAP server failed
    By imran_lk in forum CentOS
    Replies: 13
    Last Post: 02-13-2011, 01:08 AM
  3. help failed: Connection timed out.
    By coolloyal in forum Installation / System Requirements
    Replies: 4
    Last Post: 12-28-2010, 10:30 AM
  4. spamd connection failed
    By knorde in forum E-Mail
    Replies: 1
    Last Post: 08-01-2009, 05:08 PM
  5. Replies: 0
    Last Post: 03-21-2007, 11:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts