Your Question: How Do I Find out Why My Linux Server Rebooted?
Contents 3 Answers. You Can Use ” Last ” to Check. It Shows When Was the System Rebooted and Who Were Logged-in and Logged-Out. If Your Users Have to Use Sudo...
Contents
3 Answers. You can use ” last ” to check. It shows when was the system rebooted and who were logged-in and logged-out. If your users have to use sudo to reboot the server then yo should be able to find who did it by looking in the relevant log file.
How can I find out why a server rebooted?
How to find out who restarted Windows Server
- Login to Windows Server.
- Launch the Event Viewer (type eventvwr in run).
- In the event viewer console expand Windows Logs.
- Click System and in the right pane click Filter Current Log.
Must Read
How do I find out why Ubuntu restarted?
2 Answers. Check /var/log/auth. log to see what was happening at the time of the incident. Also try checking /var/log/messages or /var/log/syslog, as these may show that the server’s reboot button was pressed.