Results 1 to 7 of 7

Thread: Server crashing after one hour uptime

  1. #1
    Join Date
    Nov 2006
    Beans
    19

    Unhappy Server crashing after one hour uptime

    Hi,
    We've got an Ubuntu 11.10 server which we use for LAMP web development here in the office. A couple of times in the past, it's gone through a phase where it reboots after it's been up for one hour. It's not a specific minute within an hour - it's just after one hour of uptime.

    The last time this happened it seemed to fix itself after an apt-get update / upgrade on the installed packages. I've done this again just now and it doesn't seem to be helping. Still reboots. I can't use acpi to get any temperature readings as the machine either doesn't have sensors, or those it does have aren't visible to the install.

    Ordinarily I could take a little extra time to fix this (we're primarily a Windows developer and the Linux box is kind of my baby) but I'm working on a MASSIVE PHP project right now and need this fixed in a hurry so a dist upgrade isn't really an option right now.

    Anyone got any thoughts on things I could try, or look at? All help appreciated.

  2. #2
    Join Date
    Jul 2010
    Location
    Michigan, USA
    Beans
    2,136
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Server crashing after one hour uptime

    Have you looked at the log files? That's the best way to figure out the issue.

    Code:
    /var/log/kern.log
    /var/log/syslog
    /var/log/messages
    Any application specific logs (Here's Apache for an example)
    Code:
    /var/log/apache2/error.log

  3. #3
    Join Date
    Nov 2006
    Beans
    19

    Re: Server crashing after one hour uptime

    I'll check those, thanks.

  4. #4
    Join Date
    Nov 2006
    Beans
    19

    Re: Server crashing after one hour uptime

    OK, the first two don't contain anything that gives the cause away (or at least, not in a way I can make much sense of!) and I apparently don't have a /var/log/messages file. Will keep looking...

  5. #5
    Join Date
    Nov 2006
    Beans
    19

    Re: Server crashing after one hour uptime

    I've cleared some old kernal images from /boot (I was getting an error telling me it was a bit full) but it's just rebooted again - I can't make sense of anything in the logs.

    I went to the server and watched to see what happened - right on time, it just clicked off and reboot. No errors on the screen, no messages flashing up right before the off - it just went dark, and was back up again a couple of minutes later.

  6. #6
    Join Date
    Jul 2011
    Beans
    3,037
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Server crashing after one hour uptime

    /var/log/messages has been deprecated since 11.04. You can find the same info in /var/log/syslog.

  7. #7
    Join Date
    Nov 2006
    Beans
    19

    Re: Server crashing after one hour uptime

    Quote Originally Posted by 2F4U View Post
    /var/log/messages has been deprecated since 11.04. You can find the same info in /var/log/syslog.
    Ah - found that! Next time the server falls over (should be, oooo, about 15 minutes from now) i'll check that file and post the last few lines before reboot. See if there's anything useful in there.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •