Displaying 2 results from an estimated 2 matches for "l1683".
Did you mean:
1683
2013 Dec 01
1
upsmon error: Unable to call shutdown command
> If you call "/usr/sbin/pm-hibernate" from the command line, does it
> execute correctly?
>
> Roger
Obviously.
Also thi command doesn't works with upsmon (but works from command line):
/usr/sbin/hibernate
2013 Dec 02
0
upsmon error: Unable to call shutdown command
...hi command doesn't works with upsmon (but works from command line):
>>
>> /usr/sbin/hibernate
> That is odd.
>
> We aren't doing anything special to execute the command, just a system(2) call:
>
> https://github.com/networkupstools/nut/blob/v2.7.1/clients/upsmon.c#L1683
>
> I'll admit that there could be better error reporting. I added an issue on GitHub, but if you built from source, you can extend the upslogx() command line to see why system() is failing.
>
>
You are right, nothing is obvious, especially in this context.
I will try to do what y...