I just found out that my Ubuntu 18.04 machine crashed 20 hrs ago and switched off.
How can I find out why? Is there an event logger?
Thank you for your help!
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Consider this message a 'kick-starter' for a collaborative effor to resolve these kinds of mystery problems. It is not really an answer -- Yet. (See process).
**notion / seed **
It begins with this idea (I had)...
mkdir ~/trace-system cd ~/trace-system tail -f /var/log/syslog | tee syslog.feed.log
My Ubuntu 18.10 system has been stable since I updated to 18.04 LTS.
Recently it developed a syndrome where I can boot and work on the screen for a good while -- Today it ran all day long. Only to resume the cycle of freeze/reboot just when I wanted to USE the blessed thing.
But there is no error or message or log entry that I've detected or find even interesting.
I set-up the above
tail command in
term on the hope that when the system freezes-up, the last thing few things in the file will be pointers or clues to the problem and/or cause.
So far that approach has yielded little information. True it does record the final last words of Ubuntu's
syslog before the crash, not that interesting.
I feel that the procedure is on-track, it is time to add to the discussion and see how / if this may work with more appropriate "target" logs or commands -- Such as the
dmesg suggestion posted earlier.
Looking forward to your additions/comments.
Also, it is OK for you (others) to improve the process. I reserve the right to keep things trim.