Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd October 2011, 08:36
conductive conductive is offline
Member
 
Join Date: Sep 2011
Posts: 78
Thanks: 0
Thanked 2 Times in 2 Posts
Default Debian 6.0 ftp loses host & aborts - ispconfig3

I have loaded the Debian 6.0 server 4 times and it will still fail during ftp file transfer. Transfer log does not show failures. CentOS loads did not have a problem with the files or the transfer.

display Error:
"could not connect to host 192.168.0.50 Timed out while trying to connect to remote host."

This is odd since I was logged in via ssh and a few files did transfer. I am not sure where to get a better error or?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 4th October 2011, 10:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Did you try 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 4th October 2011, 11:31
conductive conductive is offline
Member
 
Join Date: Sep 2011
Posts: 78
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Not sure I was using Konqueror and/or IE to dump multiple files. I can use this method on CentOS without a problem.
Reply With Quote
  #4  
Old 4th October 2011, 11:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,676
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
Default

Please enable verbose logging in pure-ftpd as described in the faq:

http://www.faqforge.com/linux/contro...-debian-linux/

you will then find vermose messages in the /var/log/syslog file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 5th October 2011, 06:14
conductive conductive is offline
Member
 
Join Date: Sep 2011
Posts: 78
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Thanks for the verbose clue.

I loaded Debian 6.0 and enabled verbose mode. Not sure what happened other than what appears to be a lot of ipv6 activity.

"Could not connect to host 192.168.0.50. Timed out trying to connect to remote host" which is on my lan.
-------------------
Oct 4 20:50:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 4 20:50:01 lxw32 pure-ftpd: (?@127.0.0.1) [DEBUG] Command [quit] []
Oct 4 20:50:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 4 20:50:01 lxw32 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 4 20:50:01 lxw32 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 4 20:50:01 lxw32 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 4 20:50:01 lxw32 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 4 20:50:01 lxw32 postfix/smtpd[2929]: connect from localhost.localdomain[127.0.0.1]
Oct 4 20:50:01 lxw32 postfix/smtpd[2929]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Oct 4 20:50:01 lxw32 postfix/smtpd[2929]: disconnect from localhost.localdomain[127.0.0.1]
Oct 4 20:50:08 lxw32 kernel: [ 1811.676035] [drm] nouveau 0000:01:00.0: Setting dpms mode 1 on vga encoder (output 0)
Oct 4 20:50:22 lxw32 mpt-statusd: detected non-optimal RAID status
Oct 4 20:51:01 lxw32 /USR/SBIN/CRON[2959]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Oct 4 20:52:01 lxw32 /USR/SBIN/CRON[2969]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
root@lxw32:~#
Reply With Quote
  #6  
Old 5th October 2011, 07:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,676
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
Default

The messages above are not from a ftp file transfer or connection. The pureftpd lines are from system monitor and the other lines are from different applications.

Please try to rrproduce the error that you had before and the look directly into the file /var/log/syslog and post the messages that have been added by pure-ftpd at the end of the file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 5th October 2011, 08:40
conductive conductive is offline
Member
 
Join Date: Sep 2011
Posts: 78
Thanks: 0
Thanked 2 Times in 2 Posts
Default

syslog
-----

ct 4 23:30:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 4 23:30:01 lxw32 pure-ftpd: (?@127.0.0.1) [DEBUG] Command [quit] []
Oct 4 23:30:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 4 23:30:01 lxw32 imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 4 23:30:01 lxw32 pop3d: Connection, ip=[::ffff:127.0.0.1]
Oct 4 23:30:01 lxw32 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Oct 4 23:30:01 lxw32 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Oct 4 23:30:01 lxw32 postfix/smtpd[2872]: connect from localhost.localdomain[127.0.0.1]
Oct 4 23:30:01 lxw32 postfix/smtpd[2872]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Oct 4 23:30:01 lxw32 postfix/smtpd[2872]: disconnect from localhost.localdomain[127.0.0.1]
Oct 4 23:31:01 lxw32 /USR/SBIN/CRON[2893]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Oct 4 23:32:01 lxw32 /USR/SBIN/CRON[2901]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Oct 4 23:33:01 lxw32 /USR/SBIN/CRON[2909]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Oct 4 23:34:01 lxw32 /USR/SBIN/CRON[2917]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Oct 4 23:34:38 lxw32 kernel: [ 1811.724036] [drm] nouveau 0000:01:00.0: Setting dpms mode 1 on vga encoder (output 0)
root@lxw32:/var/log#
Reply With Quote
  #8  
Old 5th October 2011, 08:46
conductive conductive is offline
Member
 
Join Date: Sep 2011
Posts: 78
Thanks: 0
Thanked 2 Times in 2 Posts
Default

messages
--------------
Oct 4 23:24:51 lxw32 mpt-statusd: detected non-optimal RAID status
Oct 4 23:25:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 4 23:25:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 4 23:30:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 4 23:30:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 4 23:34:38 lxw32 kernel: [ 1811.724036] [drm] nouveau 0000:01:00.0: Setting dpms mode 1 on vga encoder (output 0)
Oct 4 23:34:51 lxw32 mpt-statusd: detected non-optimal RAID status
Oct 4 23:35:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 4 23:35:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 4 23:39:05 lxw32 pure-ftpd: (super1@192.168.0.3) [INFO] Timeout - try typing a little faster next time
Oct 4 23:39:05 lxw32 pure-ftpd: (super1@192.168.0.3) [INFO] Timeout - try typing a little faster next time
Oct 4 23:40:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Oct 4 23:40:01 lxw32 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
root@lxw32:/var/log#
Reply With Quote
  #9  
Old 5th October 2011, 08:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,676
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
Default

Thats not the full log of this connection. Please post all messages starting from the login by IP 192.168.0.3 until the time where the error appeared.

Also you should try active and passive FTP connections as falko suggested and shutdown the firewall to see if this is a firewall issue.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 5th October 2011, 08:53
conductive conductive is offline
Member
 
Join Date: Sep 2011
Posts: 78
Thanks: 0
Thanked 2 Times in 2 Posts
 
Default

Fail2ban
---------

2011-10-04 23:04:52,202 fail2ban.jail : INFO Jail 'pureftpd' started
2011-10-04 23:04:52,206 fail2ban.jail : INFO Jail 'ssh' started
2011-10-04 23:04:52,214 fail2ban.jail : INFO Jail 'sasl' started
2011-10-04 23:04:52,228 fail2ban.jail : INFO Jail 'courierimaps' started
2011-10-04 23:24:05,171 fail2ban.actions: WARNING [pureftpd] Ban 192.168.0.3
2011-10-04 23:34:05,803 fail2ban.actions: WARNING [pureftpd] Unban 192.168.0.3
root@lxw32:/var/log#
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
ISPConfig3 FTP problem karazy-k Server Operation 6 3rd September 2009 16:03
problem with mail server setup kentor HOWTO-Related Questions 27 16th July 2009 15:22
Website users? ctroyp General 25 6th January 2006 18:02
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42
FTP 101 the basics koegies Installation/Configuration 7 17th November 2005 15:55


All times are GMT +2. The time now is 20:37.


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