1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

FTP fails after LIST

Discussion in 'Plesk for Linux - 8.x and Older' started by sunmacet, Mar 5, 2007.

  1. sunmacet

    sunmacet Guest

    0
     
    For some reason unknown to me one of my Plesk 8.1.0 servers won't do FTP very well anymore.

    FTP will accept connections and will login without problems but when login is complete and LIST comes next it fails to serve client. Following messages is shown on FileZilla:
    ---
    Command: LIST
    Error: Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    Error: Could not retrieve directory listing
    ---

    /var/log/messages:
    ---
    Mar 6 01:07:10 xxx proftpd[21650]: xxx.xxx (xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx]) - FTP session opened.
    Mar 6 01:07:10 xxx proftpd(pam_unix)[21650]: session opened for user xxx by (uid=0)
    ---

    Other server with exact configuration works with same FTP-client thought.

    What other logs should I check?

    Any ideas?

    Restarted the server but still same problem.

    I am almost certain that this started after I updated Plesk with the most recent minor updates. My other Plesk server was unaffected thought.

    It is also reported that some versions of FileZilla seems to work and so do WS_FTP in most cases.

    Help, please. Thanks.
     
  2. albans

    albans Regular Pleskian

    26
     
    Joined:
    Nov 29, 2005
    Messages:
    173
    Likes Received:
    0
    It's probably not this, but it looks like an FTP-data connection not being able to be established... And as far as I know, it depends of the configuration of your firewall on your server:
    - try a passiv connection
    - check in your firewall rules if both port 20/21 are opened
    - check in your firewall rules if ip_conntrack is activated (in case of iptable), more information here, under "Connection tracking and ftp": IPTables - Connection tracking

    Hope this helps!
     
  3. sunmacet

    sunmacet Guest

    0
     
    Thank you for your answer.

    It was firewall issue. It seems that I have denied all other but allowed incoming traffic.

    It seems that the FTP-server in firewall rules (in Plesk modules) don't cover the FTP data connections.
     
  4. albans

    albans Regular Pleskian

    26
     
    Joined:
    Nov 29, 2005
    Messages:
    173
    Likes Received:
    0
    I personnaly don't use PSA Firewall module. I prefer to use my own IPTable rules.

    Good to know you found a solution to your problem!
     
Loading...