Ubuntu 8.04 Server unavailable through internet after some time

Discussion in 'Installation/Configuration' started by sebblucas, May 5, 2009.

  1. sebblucas

    sebblucas New Member

    :mad: Argh this has happened several times over the past few weeks now. I've reinstalled Ubuntu 8.04 LTS a million times now... Here's my stats:

    Problem-wise:
    MY PROBLEM IS even though I can access my server from my school and elsewhere, every now and then the server automatically disconnects from internet it seems, and the ONLY way to access it either by SSH or through :80 or any other way through the internet (even Webmin is inaccessible, duh, since you can't even access it through SSH) is by restarting the machine itself :mad:... not even restarting or force-reloading the network card will help it. The only way I've seen it work again is when I restart it. This doesn't fly for me. What to do? What have I not configured? Is there some sort of TTL (Time To Live) option on Ubuntu server I'm not aware of?

    Software-wise:
    Static IP Address
    LAMP Server
    OpenSSH Server
    Updated and upgraded upon completion of installation
    Webmin 1.470
    Apache Server with minor configurations (default settings) running my website with internet address

    Hardware-wise:
    Just bought a cooling fan for it :D
    Ancient Dell Inspiron 5100 in good conditions
    256 MB RAM
    Pentium 4 2.60 GHz
     
  2. matey

    matey New Member

    seems like the apache services are stopping.
    when ssh, do a ps -ax to see if apaches -k is there?
    I am just guessing, and I am not expert but we had similar problem at work, there was a cron job that would com up in the wrong time and when it did it would stop the apache services.

    Also is your sever getting its IP from DHCP or has been assigned a static IP?
    not likely tho, but some times if the dhcp acts up, you may lose your connectivity or change IPs
    but again this is very unlikely and most of the time you will get the same IP back.
    so look in your services running, hopefully some one with more experience will help out.
    (or please if you solved it yourself post the solution here) Thanks!
     
    Last edited: May 6, 2009
  3. falko

    falko Super Moderator Howtoforge Staff

    Do you have fail2ban installed? Maybe you got blocked due to too many failed login attempts.

    What's the output of
    Code:
    iptables -L
    ?
    What's in /etc/hosts.deny?
     

Share This Page