Displaying 3 results from an estimated 3 matches for "l1923".
Did you mean:
1923
2013 Jul 31
0
NUT on Linux, pid related errors
...t;
> I can see the fopen errors happening because of the pre-existing process check. But for the first upsmon case, what is it trying to "kill"?
When 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 g...
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
...n see the fopen errors happening because of the pre-existing process check. But for the first upsmon case, what is it trying to "kill"?
> When you say the "first" upsmon case, do you mean this line?
>
> https://github.com/networkupstools/nut/blob/master/clients/upsmon.c#L1923
The kill error is coming from this line:
https://github.com/networkupstools/nut/blob/master/common/common.c#L263
Which is called from:
https://github.com/networkupstools/nut/blob/master/client/upsmon.c#L1930
In which case would you need to "see if this is going to work first"?
>
&g...