When I try to connect to a host either locally or remotely the machine denies logins thinking that the shutdown command has been initiated:
[~]$ ssh somehost The system is going down for reboot in 1 minute! This machine requires an immediate reboot. Connection closed by somehost
But the machine never goes down and no shutdown command is running:
[root@somehost ~]# shutdown -c shutdown: Cannot find pid of running shutdown
If I reboot the host using the shutdown or reboot commands, the machine reboots just fine, but once it comes back up it still thinks the machine is going down for reboot in 1 minute. How do I stop it from being in a shutdown mode state?