Displaying 3 results from an estimated 3 matches for "sendsignal".
Did you mean:
send_signal
2013 Jul 31
0
NUT on Linux, pid related errors
...hen you say the "first" upsmon case, do you mean this line?
https://github.com/networkupstools/nut/blob/master/clients/upsmon.c#L1923
> If this is normal operation, maybe they shouldn't be printed to the console?
Agreed. It would probably involve adding another parameter to the sendsignal() calls, indicating whether the kill() function call is expected to fail or not. Patches welcome :-)
--
Charles Lepple
clepple at gmail
2013 Jul 30
2
NUT on Linux, pid related errors
Centos5
NUT 2.6.5, compiled from source
I was reminded by a previous thread about a message I get when starting
NUT...
Starting upsd:
fopen /var/run/nut/upsd.pid: No such file or directory
Starting upsmon:
kill: No such process
upsd removes its pid files when it's stopped, upsmon does not. If I
remove upsmon's manually after stopping it, I get a different message
for it when I start
2013 Aug 01
2
NUT on Linux, pid related errors
...upstools/nut/blob/master/client/upsmon.c#L1930
In which case would you need to "see if this is going to work first"?
>
>> If this is normal operation, maybe they shouldn't be printed to the console?
>
> Agreed. It would probably involve adding another parameter to the sendsignal() calls, indicating whether the kill() function call is expected to fail or not. Patches welcome :-)
I'll see what I can do.