Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    25

    Unhappy FTP stopped working suddenly

    Hi,

    FTP was working fine but suddenly it has stopped working.

    When trying to connect it connects fine but stops at LIST command and then times out.

    STATUS:> [17-05-2008 00:06:52] Resolving host name ftp.somedom.com...
    STATUS:> [17-05-2008 00:06:52] Host name ftp.somedon.com resolved: ip = 123.123.123.123.
    STATUS:> [17-05-2008 00:06:52] Connecting to FTP server... ftp.somedom.com:21 (ip = 123.123.123.123)...
    STATUS:> [17-05-2008 00:06:52] Socket connected. Waiting for welcome message...
    [17-05-2008 00:06:53] 220---------- Welcome to Pure-FTPd [TLS] ----------
    220-You are user number 2 of 50 allowed.
    220-Local time is now 13:36. Server port: 21.
    220-This is a private system - No anonymous login
    220-IPv6 connections are also welcome on this server.
    220 You will be disconnected after 15 minutes of inactivity.
    STATUS:> [17-05-2008 00:06:53] Connected. Authenticating...
    COMMAND:> [17-05-2008 00:06:53] USER someuser
    [17-05-2008 00:06:53] 331 User someuser OK. Password required
    COMMAND:> [17-05-2008 00:06:53] PASS *****
    [17-05-2008 00:06:54] 230-User someuser has group access to: someuser
    230 OK. Current restricted directory is /
    STATUS:> [17-05-2008 00:06:54] Login successful.
    COMMAND:> [17-05-2008 00:06:54] PWD
    [17-05-2008 00:06:54] 257 "/" is your current location
    STATUS:> [17-05-2008 00:06:54] Home directory: /
    STATUS:> [17-05-2008 00:06:54] This site supports features.
    STATUS:> [17-05-2008 00:06:54] This site supports SIZE.
    STATUS:> [17-05-2008 00:06:54] This site can resume broken downloads.
    COMMAND:> [17-05-2008 00:06:54] REST 0
    [17-05-2008 00:06:54] 350 Restarting at 0
    COMMAND:> [17-05-2008 00:06:54] PORT 192,168,1,5,192,103
    [17-05-2008 00:06:55] 200 PORT command successful
    COMMAND:> [17-05-2008 00:06:55] LIST
    [17-05-2008 00:07:40] 425 Could not open data connection to port 49255: Connection timed out
    ERROR:> [17-05-2008 00:07:40] Server can't open data connection.
    Can anyone tell me whats happening ?

    Thanks.

  2. #2
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    Check with your hosting provider to see if there was any temporary issue with their server.

  3. #3
    Member
    Join Date
    Nov 2004
    Posts
    25

    Default

    Hi,

    FTP firewall settings needed to be adjusted. And don't know how it got bad. It was working fine for years.

    Anyways.

    Thanks.

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    15

    Default Firewall settings?

    Hi, I've experienced the same problem right on May 17! Can you post what the firewall settings you had to tweak were?

    Thank you!

  5. #5
    Member
    Join Date
    Mar 2006
    Posts
    15

    Default Solved!

    Nevermind actually, I figured it out... it appears the on May 17 there was some kind of update of pureftp or the apf firewall, I dunno, but basically I did this:

    - I checked /etc/pure-ftpd.conf and saw that this line was in there:
    PassivePortRange 30000 50000

    - I checked the APF firewall configuration in /etc/apf/conf.apf and verified that the 30000 to 50000 port range was enabled in IG_TCP_CPORTS and IG_UDP_CPORTS (entered as 30000_50000).

    - I restarted both APF and PureFTP

    Voila, seems to work fine!

  6. #6
    Member
    Join Date
    Nov 2004
    Posts
    25

    Default

    Hi,

    Yes that was the issue:
    The ftp passive port range in the firewall was not opened. As soon as I opened it and restarted everything started working fine.

    Sorry for the delay.

    Thanks.

Similar Threads & Tags
Similar threads

  1. Exim suddenly stopped working...
    By WireNine in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-14-2008, 07:02 PM
  2. pop before smtp stopped working suddenly
    By pphillips in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-10-2006, 09:09 PM
  3. Replies: 0
    Last Post: 09-22-2005, 05:32 PM
  4. ftp stopped working
    By blaha in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-01-2003, 10:36 PM
  5. FTP Stopped working on acct
    By YukFoo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-21-2003, 04:44 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube