Server Turns Off Unexpectedly

Home » CentOS » Server Turns Off Unexpectedly
CentOS 7 Comments

A few weeks back I built a new CentOS 7 server from a 4 year old workstation PC, and a brand new HDD.

This PC had no prior problems other than it ran Windows 7. Thew new HDD is because I’m planning to also use it as a Bacula storage device.

For the moment is purely an AirPrint server, using CUPS and Avahi so is ide
99.9% of the time.

My priblem is that twice now it has turned itself off, the last time being at
7:40am today. There is nothing I can find in the logs prior to it going off, just the normal start-up entries when it’s turned back on.

Can anyone suggest why i may be happening, or how I can diagnose it. The server is in a UPS protected cabinet in locked room

7 thoughts on - Server Turns Off Unexpectedly

  • Gary Stainburn wrote on 12/12/2016 11:50:

    If the PC turns off and stays off it could be a power supply issue

    If you cannot put the old disk back, try to use another power connector for the hard disk

  • (first thing I’m going to do it buy a new keyboard, or employ a proof reader. Sorry for all the errors folks)

    I have had this in the past where either the CPU or PSU fan had died. I’ll check both of these next time I’m on site, but I believe the PSU is fairly new anyway.

    I installed Glance and had a look, but the sensors didn’t show, even when I
    pressed ‘S’ as per the help page.

    Also, as this is a headless server, can anyone suggest a non-GUI monitor app?

  • The lm_sensors package is required for the sensors module of glances to work. After installing lm_sensors, run sensors-detect. The sensors command will show the sensors detected and their current values. glances should then display the sensor readings.

  • Somewhere tucked in the back of my mind a memory is screaming no. Wasn’t there a problem with lm_sensors where we were all told to remove / not install it because of serious problems with the package possibly even breaking things.

    Presumably that’s no longer the case

  • If there was such a problem it is very far in the past or it only shows up on hardware I don’t have. I have never had any problems with the lm_sensors package breaking things and I have been using it for years.