Cannot write to pidfile nrpe error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mrnico
Posts: 3
Joined: Fri Aug 05, 2011 12:27 pm

Cannot write to pidfile nrpe error

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Cannot write to pidfile nrpe error

Post 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?
Locked