FTP doesn't work on freebsd (proftpd)

Discussion in 'Site & Server Administration' started by emadness, Aug 29, 2006.

  1. #1
    i installed proftpd and made 2 virtual servers, when i try to connect in flashfxp, it give the following:

    
    [L] Connecting to ****.com -> DNS=ftp.****.com IP=66.**.*.** PORT=21
    [L] Connected to ****.com
    [L] Connection failed (Connection lost)
    
    Code (markup):
    any idea why is that happening? the ftp server is up and running, and when i tried to ping ftp.****.com it pinged successfully.
     
    emadness, Aug 29, 2006 IP
  2. Cryogenius

    Cryogenius Peon

    Messages:
    1,280
    Likes Received:
    118
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you SSH to the Virtual Servers and then do a "ftp localhost"?
    Check your log file (perhaps in /var/log/proftpd.log) to find the cause of the error.

    Cryo.
     
    Cryogenius, Aug 29, 2006 IP
  3. emadness

    emadness Active Member

    Messages:
    41
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    63
    #3
    
    %ftp localhost
    Trying ::1...
    Connected to localhost.
    421 Service not available, remote server has closed connection.
    
    Code (markup):
     
    emadness, Aug 29, 2006 IP
  4. mariush

    mariush Peon

    Messages:
    562
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Read the conf file and configure the daemon correctly, it says something there about this issue you have.

    I can't give you any accurate help because I'm at work (FreeBSD is a hobby of mine in my spare time)

    Also, see http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-ConfigFile.html

    It could be that you try to start the daemon as root or user/group is not properly defined or the root ftp folder has execute rights.

    Also, it may not hurt if you try Pure FTPD. It's very good, it has some very nice features (virtual users is one that I like a lot). I had it for a long time but decided to use proftpd and vsftpd because it had a bug at that time that caused crc errors while uploading on my configuration.
     
    mariush, Aug 29, 2006 IP