Server shutdown/reboot with "Power key pressed" messages

Solution Verified - Updated -

Issue

  • Server shut down automatically
  • Server rebooted abruptly
  • The /var/log/messages logs show Power 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content