Common causes for such errors are usually related to malfunctioning or misconfigured software, but troubleshooting for the real culprit might not always be easy. asked 5 years ago viewed 25363 times active 2 years ago Linked 1 How can I log shutdown console text? 0 How to read shutdown/reboot log 0 Xubuntu taking a minute Get the server back running When your web page no longer loads and you cannot connect to your server via SSH, it could be that your system encountered an error which asked 4 years ago viewed 17253 times active 2 years ago Linked 0 Xubuntu taking a minute plus to shut down for reboot 1 Check if computer went off by crash Check This Out
Why do (some) aircraft shake at low speeds with flaps, slats extended? So if it is a normal shutdown it will be logged, if it is an intrusion... Are assignments in the condition part of conditionals a bad practice? Why is the FBI making such a big deal out Hillary Clinton's private email server? http://askubuntu.com/questions/58625/where-is-the-shutdown-log
Why is C# Dim a Chord in B Minor? Using DeclareUnicodeCharacter locally (in document, not preamble) How could a language that uses a single word extremely often sustain itself? Rather than waiting for shutdowns you could look at the ACPI information directly.
It reads the /var/log/wtmp log file for all login/logout entries. Tic Tac Toe - C++14 What does this ice key do? Every polynomial with real coefficients is the sum of cubes of three polynomials Best way to repair rotted fuel line? How To Check System Reboot Logs In Linux Profit!
add a comment| 7 Answers 7 active oldest votes up vote 6 down vote accepted The /var/log/messages file really should have something relating to shutdowns in it, for instance mine (CentOS Centos Shutdown Log Not the answer you're looking for? Check the logs for possible cause With your server up and running, you should check the logs as usual for any indication as to what could have caused the system shutdown http://unix.stackexchange.com/questions/9819/how-to-find-out-from-the-logs-what-caused-system-shutdown Netconsole If the above doesn't work, one may use Netconsole.
Other crashes If the X server crashes (you're thrown back to the login screen, or screen goes black or frozen but there is activity "below") see DebuggingXorg. Ubuntu Shutdown Messages Do I have to delete lambdas? On the "sick" machine, install openssh-server (make sure you have good passwords on all user accounts if your machine is connected to the Internet). Thanks for the input on the sharing.
I know that I look at /var/log but not sure which logs should I investigate and what should I look for. http://superuser.com/questions/167281/is-there-a-log-that-records-shutdowns-in-linux Trick or Treat polyglot Integer function which takes every value infinitely often Why does Deep Space Nine spin? Shutdown Logs Linux it comes with a program called uprecords that show you how long your computer has been on. How To Check Reboot Logs In Linux and record it with your video camera for playback later.
Hence every boot log must be preceded by a shutdown log if the booting and shutdown process was normal. Why does removing Iceweasel nuke GNOME? Print some JSON How to select citizen justices? this contact form see: man shutdownlet us know how we can help <== BDQ Adv Reply November 20th, 2012 #5 GCapo View Profile View Forum Posts Private Message First Cup of Ubuntu Join
Obviously, super new but I do enjoy learning it. How To Check Server Reboot Reason Linux This is important to remember when checking logs, as they might not have recorded everything leading up to the system shut down. Of course, if the server runs some service (e.g.
If you are not sure what to look for, you can start by looking for the words error, panic and warning. The server load is usually very low (about 1) and it is collocated far away.There seem to be no power outage while the server went down. share|improve this answer edited May 8 '12 at 10:01 answered May 8 '12 at 9:16 Bittrance 2,130920 The machine went off, and returned to life just after I asked How To Check Last Reboot Time In Linux Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question. 3 Wrong site...
I am not using any proprietary drivers and I know the ISO I used to install it works because another desktop runs fine. share|improve this answer answered Jun 16 at 6:43 asdmin 1,4981122 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up If two topological spaces have the same topological properties, are they homeomorphic? http://centralpedia.com/how-to/ubuntu-8-10-error-reading-boot-cd.html i.e.
Every polynomial with real coefficients is the sum of cubes of three polynomials Is gasoline an effective restoration material to use? If this still doesn't capture it, replace /sbin/init as well (as it can also be used to reboot the system). Thanks! All these troubles where caused by an broken CPU fan.
Browse other questions tagged troubleshooting debian-squeeze unexpected-shutdown or ask your own question. Enable Wireless on Fresh Debian Build "Squeezing out of a dead man" proverb Why does Wikipedia list an improper pronunciation of Esperanto? How can I make two cutting lines close to each other? I find that collectd is unparalleled at keeping track of large number of variables over time.
share|improve this answer answered Jan 7 '13 at 16:46 terdon 33.7k66299 add a comment| up vote 0 down vote This answer, with optional (but important in case of overheating) shutdown -r share|improve this answer answered Jun 15 at 8:33 shad0vv 112 add a comment| up vote 0 down vote The disk subsystem is complicated enough to be affected when a problem occurs, Also, some BIOS:es log temperature halt events. If the machine is not connected to a serial console and there is nothing in the log, you may want to consider sending syslog to a different box via network.
My system also has this, so I will have to check this out! Example: last -5 reboot shutdown root This will give you the last 5 reboot, shutdown, and root (console shutdown included) entries in the wtmp log. Another source for information on the UpCloud services can be found at http://status.upcloud.com/ where you can subscribe to updates on additional email accounts, SMS notices, and Atom- or RSS -feeds. So make sure that you go back far enough in the logs to be able to find anything relevant.
If the first console connection does not land you at the login screen, but instead shows something completely different, it might be helpful in later troubleshooting to take a screenshot of Perhaps the network interface survives a bit longer, and the log messages can be read on the syslog server. Other logfiles you should check is application error-logs. It seems to update these files every 5 seconds or so.
hth <== BDQ Adv Reply Page 1 of 2 12 Last Jump to page: Quick Navigation New to Ubuntu Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Hot Network Questions Why cast an A-lister for Groot? on samba-- to talk with windows machines is the preferred method. I searched the logs and did not find anything yet.