Server shutdown/reboot with "Power key pressed" messages
Issue
- Server shut down automatically
- Server rebooted abruptly
-
The
/var/log/messages
logs showPower key pressed
:Jan 30 00:15:01 localhost systemd: Created slice User Slice of root. Jan 30 00:15:01 localhost systemd: Starting User Slice of root. Jan 30 00:15:01 localhost systemd: Started Session 6358 of user root. Jan 30 00:15:01 localhost systemd: Starting Session 6358 of user root. Jan 30 00:15:01 localhost systemd: Removed slice User Slice of root. Jan 30 00:15:01 localhost systemd: Stopping User Slice of root. Jan 30 00:18:06 localhost systemd-logind: Power key pressed. Jan 30 00:18:06 localhost systemd-logind: Power key pressed. Jan 30 00:18:06 localhost systemd-logind: Power key pressed. Jan 30 00:18:06 localhost systemd-logind: Power key pressed. Jan 30 00:18:06 localhost systemd-logind: Powering Off... Jan 30 00:18:06 localhost systemd-logind: Powering Off... Jan 30 00:18:06 localhost systemd-logind: Powering Off... Jan 30 00:18:06 localhost systemd-logind: Powering Off... Jan 30 00:18:06 localhost systemd-logind: System is powering down. Jan 30 00:18:06 localhost systemd-logind: System is powering down. Jan 30 00:18:06 localhost systemd-logind: System is powering down. Jan 30 00:18:06 localhost systemd-logind: System is powering down.
Environment
Red Hat Enterprise Linux (RHEL) 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.