FTP Error and can't ping?

Discussion in 'Installation/Configuration' started by Dag Andresen, Nov 24, 2009.

  1. Dag Andresen

    Dag Andresen New Member

    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... :confused:

    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: Nov 24, 2009
  2. till

    till Super Moderator

    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.
     
  3. Dag Andresen

    Dag Andresen New Member

    Hey,

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

    Could there be something else?
     
  4. till

    till Super Moderator

    Or maybe your internet connection was temporarily down.
     
  5. Dag Andresen

    Dag Andresen New Member

    It can't be, since I could access the server using both ssh and web.
     
  6. till

    till Super Moderator

    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.
     

Share This Page