[Nut-upsuser] The system doesn't shutdown

George Anchev
2015-10-26T18:50:53Z

Hello,

I have been following the details in this article to configure my UPS:

http://rogerprice.org/NUT.html

However the system won't shutdown although file permissions look ok:

ls -alF /usr/sbin/ups*
-rwxr--r-- 1 upsd daemon 64984 Oct 15  2014 /usr/sbin/upsd*
-rwxr--r-- 1 upsd daemon 48584 Oct 15  2014 /usr/sbin/upsmon*
-rwxr--r-- 1 upsd daemon 31536 Oct 15  2014 /usr/sbin/upssched*
-rwxr--r-- 1 upsd daemon  1798 Oct 26 13:52 /usr/sbin/upssched-cmd*

When plugging the cord the only notification is "on battery/ line
power" in
journalctl and nothing happens.

When I run /usr/sbin/upssched-cmd as root the journal says:

Oct 26 20:22:37 i7 upssched-cmd[19433]: Calling upssched-cmd
Oct 26 20:22:37 i7 upssched-cmd[19434]: Unrecognized command:

However when trying su - upsd -c "/usr/sbin/upssched-cmd" I don't
get this
output in journalctl although the file permissions look ok.

What might be wrong?

---
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20151026/3a285cef/attachment.html>