On Mon, 26 Oct 2015, George Anchev wrote:
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?
Could you show us the output of the utility script nut-journal ? Chapter 5.15 in the referenced article.
Roger
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser