where to look if ubuntu server stop working?

by Cazz   Last Updated October 15, 2019 18:02 PM - source

Well I guess it is some kind of log I can see and I have look inside the

/var/log

but still can't find what have happend to my ubuntu server.

Three days in a row it just stop working and just freeze and I have to power off and then power on again. When it frezze it just stop working and I can't use SSH or the keyboard so I just have to power off. It is maybe some script I have done something wrong but when I don't know what to look after then is not easy for me to fix it :)

Tags : server


Answers 1


The one that got written last so do a

ls -ltr /var/log/*

The one at the bottom is most likely the one. Otherwise it will be one with a date that is relatively new.

kern.log 
syslog.log

would always be my 1st to check.

One thing you can check is all the crontabs you have. A problem will arise if you have a script that is executed every X minutes and takes X+Y minutes to finish where the script does not check it is already running... you will, at some point, clog the server with that script.

Rinzwind
Rinzwind
October 15, 2019 17:50 PM

Related Questions


How do I connect my domain to my local Ubuntu Server?

Updated October 07, 2017 06:02 AM

Connect to server Domain

Updated December 23, 2015 12:01 PM

Windows domain users cannot login Ubuntu 14.04

Updated May 21, 2015 02:00 AM


Ubuntu cloud server : hardware requirements

Updated February 25, 2017 11:02 AM