[Nut-upsuser] upsmon error: Unable to call shutdown command

Roberto Martelli bingel74 at gmail.com
Sun Dec 1 13:19:57 UTC 2013


In my "upsmon.conf" I've setted this option for shutdown command:


SHUTDOWNCMD "/usr/sbin/pm-hibernate"


but when I pull the plug on my ups in way to test if this command works,
I obtain this error (in /var/log/syslog):


Dec  1 13:39:03 ubux upsmon[4561]: parent: Unable to call shutdown command: /usr/sbin/pm-hibernate


Instead if I set this shutdown command:


SHUTDOWNCMD "/sbin/shutdown -h now"


everything works correctly.


Any help?


My nut version is 2.7.1 (autocompiled)
My driver in use is "nutdrv_qx"
Everything, except upsmon, seems working correctly.





More information about the Nut-upsuser mailing list