#1  
Old 24th November 2009, 15:06
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default FTP Error and can't ping?

EDIT: I thought I had fixed it, but I had not... it's going on and off... If I can not ping domain.com in ssh I can not access ftp either.. then suddenly both works... on and off....

Hi

When my server has been running for some minutes the FTP server just stops working! It works fine after a reboot, but as some time passes I can't login anymore. I recieve these errors:
[R] Connected to domain.com
[R] 425 Sorry, invalid address given


Then suddenly it might work again, on and off...

Also in SSH when I write "ping domain.com" it doesn't work and just says "connect: Invalid argument"... I am trying to install squirrelmail and it just won't work because it can't connect (
Code:
Writing extended state information... Done
Err http://nl.archive.ubuntu.com karmic/main dictionaries-common 1.2.1ubuntu1
  Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]
Err http://nl.archive.ubuntu.com karmic/main ispell 3.1.20.0-4.5ubuntu1
  Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]
Err http://nl.archive.ubuntu.com karmic/main iamerican 3.1.20.0-4.5ubuntu1
  Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]
Err http://nl.archive.ubuntu.com karmic/main php5-mhash 5.2.10.dfsg.1-2ubuntu6
  Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]
Err http://nl.archive.ubuntu.com karmic/universe squirrelmail 2:1.4.19-1
  Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]
Err http://nl.archive.ubuntu.com karmic/universe squirrelmail-locales 1.4.13-20071220-1
  Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]
Err http://nl.archive.ubuntu.com karmic/universe squirrelmail-viewashtml 3.8-2
  Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]
Err http://nl.archive.ubuntu.com karmic/main wamerican 6-3
  Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]
E: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/pool/main/d/dictionaries-common/dictionaries-common_1.2.1ubuntu1_all.deb: Cannot initiate the connection to nl.archive.ubuntu.com:80 (213.136.29.211). - connect (22: Invalid argument) [IP: 213.136.29.211 80]

Last edited by Dag Andresen; 24th November 2009 at 20:47.
Reply With Quote
Sponsored Links
  #2  
Old 25th November 2009, 14:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Seems to be a problem with your nameserver. FTP does not work too when the nameservers are down.

Check /etc/resolv.conf and make sure that all nameservers listed there are working properly.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th November 2009, 19:39
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Hey,

the nameservers looks fine.... from resolv.conf:
nameserver 81.167.36.3
nameserver 81.167.36.11

Could there be something else?
Reply With Quote
  #4  
Old 26th November 2009, 08:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Or maybe your internet connection was temporarily down.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 26th November 2009, 13:53
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default

It can't be, since I could access the server using both ssh and web.
Reply With Quote
  #6  
Old 26th November 2009, 13:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
 
Default

The log says that the connection was not possible at the moment were apt was executed. So there must have been a problem with the connection or name resolving at that time.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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


All times are GMT +2. The time now is 12:28.


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