Why Does My Ubuntu Home Server Keep Restarting?

0
0
Asked By TechieTurtle87 On

I'm having trouble with my HP Deskpro 400 G4 Mini that's running Ubuntu as a home server. I've set it up with Apache, and while I can sometimes access the server at the IP 192.168.1.149, it often becomes unresponsive, timing out when trying to SSH in or access the web page. It feels like the whole machine is rebooting every few minutes. I've tried several fixes I found online, including disabling sleep and hibernate modes with systemctl, and I've modified the power settings to prevent the machine from going to sleep. I checked the reboot logs, and they indicate it's restarting rather than just losing the network connection. I'm not very experienced with Linux servers and feel a bit stuck on what to do next. Any advice would be appreciated!

4 Answers

Answered By SensibleServer123 On

It sounds like a hardware issue might be causing those reboots. Often, these sorts of problems stem from overheating. I'd recommend installing lm-sensors or something similar to monitor temperature and fan speeds. Also, don’t forget to check the dmesg logs for any unusual events that may give clues!

CuriousCation89 -

I ran lm-sensors and the temperatures seem normal. But I’ll check the dmesg logs again for anything out of the ordinary.

Answered By BIOSNinja420 On

Take a look at your BIOS settings and see if the watchdog timer is enabled. If it is, it might be causing the system to restart unexpectedly. If you don’t need it, try disabling it and see if that helps!

TechieTurtle87 -

Good point! I’ll check that later today. Thanks for the advice!

Answered By PersistentLogger22 On

Consider enabling persistent logging for your system so that logs don’t clear out after a reboot. This can give you more insight into what's happening just before the machine restarts.

TechieTurtle87 -

I followed some steps to enable it! I hope it captures enough info to help figure this out.

Answered By JustASysAdmin On

Based on what you've mentioned, those 'still running' messages indicate your system isn't shutting down properly—it's crashing and rebooting instead. Keep an eye on logs right before the crashes to look for clues on what’s triggering the restarts.

TechieTurtle87 -

That’s a bummer! I’ve mostly seen default messages in the syslog, but I’ll keep looking for anything unusual.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.