#1  
Old 8th October 2008, 18:43
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default Troubleshooting FTP

Hi everyone,

For some reason my FTP has stopped working. I can still FTP into the server when I am inside my network, but whenever I am outside of it I get the message saying that it "timed out". However I get the timeout message within about 5 seconds which isn't normal.

I have checked the firewall, and all ports for FTP are unblocked (20 & 21). I looked at the proftpd logs and when I try to ftp in, the logs say it worked. As you can see from the ip addresses 99.999.999.999 and 88.888.888.888 Anyways, the logs are attached. Can anyone help me troubleshoot what is going on?

Thanks

Code:
Oct 08 07:24:21 myserver.mydomain.com proftpd[5230] localhost: ProFTPD 1.3.1 (stable) (built Thu Feb 21 04:21:14 UTC 2008) standalone mode STARTUP
Oct 08 07:30:01 myserver.mydomain.com proftpd[5361] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 07:30:01 myserver.mydomain.com proftpd[5361] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 08:00:01 myserver.mydomain.com proftpd[5900] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 08:00:01 myserver.mydomain.com proftpd[5900] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 08:30:01 myserver.mydomain.com proftpd[6397] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 08:30:01 myserver.mydomain.com proftpd[6397] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 09:00:01 myserver.mydomain.com proftpd[6925] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 09:00:01 myserver.mydomain.com proftpd[6925] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 09:30:01 myserver.mydomain.com proftpd[7398] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 09:30:01 myserver.mydomain.com proftpd[7398] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 10:00:01 myserver.mydomain.com proftpd[7856] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 10:00:01 myserver.mydomain.com proftpd[7856] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 10:30:01 myserver.mydomain.com proftpd[8367] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 10:30:01 myserver.mydomain.com proftpd[8367] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 11:00:01 myserver.mydomain.com proftpd[8907] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 11:00:01 myserver.mydomain.com proftpd[8907] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 11:30:01 myserver.mydomain.com proftpd[9377] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 11:30:01 myserver.mydomain.com proftpd[9377] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 12:00:01 myserver.mydomain.com proftpd[9836] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 12:00:01 myserver.mydomain.com proftpd[9836] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 12:30:01 myserver.mydomain.com proftpd[10304] localhost (127.0.0.1[127.0.0.1]): FTP session opened.
Oct 08 12:30:01 myserver.mydomain.com proftpd[10304] localhost (127.0.0.1[127.0.0.1]): FTP session closed.
Oct 08 12:34:52 myserver.mydomain.com proftpd[10383] 99.999.999.999 (88.888.888.888[88.888.888.888]): FTP session opened.
Oct 08 12:34:52 myserver.mydomain.com proftpd[10383] 99.999.999.999 (88.888.888.888[88.888.888.888]): FTP session closed.
Oct 08 12:34:56 myserver.mydomain.com proftpd[10384] 99.999.999.999 (88.888.888.888[88.888.888.888]): FTP session opened.
Oct 08 12:34:56 myserver.mydomain.com proftpd[10384] 99.999.999.999 (88.888.888.888[88.888.888.888]): FTP session closed.
Oct 08 12:37:44 myserver.mydomain.com proftpd[5230] localhost: ProFTPD killed (signal 15)
Oct 08 12:37:44 myserver.mydomain.com proftpd[5230] localhost: ProFTPD 1.3.1 standalone mode SHUTDOWN
Oct 08 12:37:52 myserver.mydomain.com proftpd[10458] localhost: ProFTPD 1.3.1 (stable) (built Thu Feb 21 04:21:14 UTC 2008) standalone mode STARTUP
Reply With Quote
Sponsored Links
  #2  
Old 9th October 2008, 18:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Have you tried both active and passive transfers in your FTP client?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th October 2008, 20:32
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

Yes, I can't seem to figure it out. I have fail2ban installed. It seems as though port 20 is blocked, but it is not on my firewall. Could it be fail2ban or iptables? I haven't made any changes to them lately...

clientcomputer:~ username$ telnet mysite.com 20
Trying mysite.com...
telnet: connect to address mysite.com: Connection refused
telnet: Unable to connect to remote host
Reply With Quote
  #4  
Old 10th October 2008, 14:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Can you stop fail2ban and try again?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 10th October 2008, 19:34
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
 
Default

what about /etc/hosts.deny ?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
ftp problems tgansert Installation/Configuration 20 27th May 2006 19:06
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 08:03
Website users? ctroyp General 25 6th January 2006 18:02
FTP 101 the basics koegies Installation/Configuration 7 17th November 2005 15:55


All times are GMT +2. The time now is 01:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.