Page 1 of 1

Cannot write to pidfile nrpe error

Posted: Fri Mar 15, 2013 8:29 am
by mrnico
Hi, I have the following problem when I try to start the service nrpe

Mar 15 08:46:51 nrpe[16885]: Starting up daemon
Mar 15 08:46:51 nrpe[16885]: Cannot write to pidfile '/var/run/nrpe/nrpe.pid' - check your privileges.
Mar 15 08:46:51 nrpe[16885]: Listening for connections on port 5666

when I try to see the results from the nagios server gives me this error

NRPE: Unable to read output

do not know how to fix this problem

i use NRPE version 2.13 on centos 6.3 32 bits

Any help?

Re: Cannot write to pidfile nrpe error

Posted: Fri Mar 15, 2013 9:23 am
by slansing
This looks like an error you would receive when you attempt to return data to NRPE from a remote host, not when you start it.. what plugin's output are you trying to view? Can you show us your service and command definition for the check plugin?