CentOS 6.4 Login After Reboot After Apcupsd Shutdown – Shows POWER FAILURE

Home » CentOS » CentOS 6.4 Login After Reboot After Apcupsd Shutdown – Shows POWER FAILURE
CentOS 2 Comments

Hi list, just putting a new server through its automatic shutdown triggered by the UPS / apcupsd. All worked faultlessly, including powering up when power came back on to the UPS.

So then I go to log in and get “POWER FAILURE” followed by “Authentication failure” – this is on the console

via SSH I just get “POWER FAILURE” and the SSH connection drops. So I guess the, log everyone out and stop further logins instruction is still lurking around somewhere.

How do I regain control of my server?? Does this mean I need to boot with a rescue disk and edit some file somewhere??

How do I prevent this re-occurring, after a perfect shutdown and restart, only to get stymied here. Google has lots of help for dealing with various corruptions due to power failure – not the case here, the POST, grub, init restart all look just fine. TIA

2 thoughts on - CentOS 6.4 Login After Reboot After Apcupsd Shutdown – Shows POWER FAILURE

  • Sounds like /etc/nologin; contents of which are displayed immediately before the login session terminates. Configured within apcupsd.conf with a configuration setting of NOLOGINDIR pointing to /etc by default;
    I don’t believe it can be disabled, however.

    Remove /etc/nologin.

    “ssh root@host rm -f /etc/nologin” will remove it.

    apcupsd should be handling this automatically when mains power is restored. Perhaps check the package documentation / project bugtracker.

    John

  • This is a multi-part message in MIME format.
    ————–040107010904030005050407
    Content-Type: multipart/alternative;
    boundary=”————050801030903020201080606″

    ————–050801030903020201080606
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable

    Thanks John, I’ll look for this file. not an option, already set no root login via ssh. however I have console access, so a F7 got me another tty and root login from there worked.

    now to debug the apcupsd…. Thanks for the help – appreciated

    ————–050801030903020201080606

LEAVE A COMMENT