[Nut-upsuser] NUT on Linux, pid related errors

Kris Jordan
Tue, 30 Jul 2013 17:36:58 -0000

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 it back up...

fopen /var/run/nut/upsmon.pid: No such file or directory

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"?

If this is normal operation, maybe they shouldn't be printed to the console?