Ubuntu: How to restart Ubuntu box (14/15) on power loss, after after soft shutdown via 'apcupsd'?



Question:

Hello Ubuntu community -

I've searched the forums, and scoured the internet, without resolution to this issue. I'm running Ubuntu 15.10 (formerly 14) on an Intel NUC (5i), connected to a Back-UPS 550 via USB cable, and can confirm the following:

  • apcupsd is installed and working
  • BIOS has been set to "Always Resume" in the Power Loss setting
  • Basic configuration file exists and appears correct
  • Restart-on-power functionality works correctly when not using the UPS -- if I pull the plug on the NUC and then reconnect, the unit powers on.

Shutdown appears to be working correctly in my tests when I pull the plug on the UPS, unfortunately the unit stays off when power is restored.

It's as if the apcupsd shutdown behavior is causing a normal shutdown in Ubuntu, instead of indicating to the hardware that an emergency shutdown took place -- when power is restored to the UPS, the unit doesn't immediately power-on like it does when not using the ups.

What am I missing here? I've covered a lot of ground online, including: https://help.ubuntu.com/community/apcupsd

Any help is appreciated, and thanks in advance,

-j


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »