Hello,
This morning I came down to find that CentOS had restarted for some reason. I know this because this is a multi-boot system and I was at the login screen for the default OS. I am assuming that the OS crashed somehow.
I would like to look at the system logs to see if there is some indication of what happened. There were some SE linux messages when I logged in but they were all from after the login.
Can someone let me know where to look?
LMHmedchem
CentOS 7 restarted overnight, how to check logs
-
- Posts: 50
- Joined: 2011/03/22 17:32:25
- Location: Boston
-
- Posts: 1495
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: CentOS 7 restarted overnight, how to check logs
You can start in /var/log/messages. You'll know when you see it starting back up again - there'll be many dozens of entries with almost the same time. The messages prior to those would hopefully contain relevant info.
Afterthought - having just encountered this again myself: Be aware that logrotate may have run in the interim - you may have to check /var/log/messages-{previous log date}.
Afterthought - having just encountered this again myself: Be aware that logrotate may have run in the interim - you may have to check /var/log/messages-{previous log date}.
-
- Posts: 50
- Joined: 2011/03/22 17:32:25
- Location: Boston
Re: CentOS 7 restarted overnight, how to check logs
Thanks, I will check those locations. I have already looked at the SELinux Troubleshooter and the System Log Viewer. Both of those applications only showed entries from after I had restarted after the crash.
LMHmedchem
LMHmedchem