Issue with nrpe on client

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
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Issue with nrpe on client

Post by ericssonvietnam »

i am getting below message in message logs

can you suggest what i can check to fix this.

Nov 28 18:47:18 puma nrpe[554329]: Starting up daemon
Nov 28 18:47:18 puma nrpe[554329]: Bind to port 5666 on 0.0.0.0 failed: Address already in use.
Nov 28 18:47:18 puma nrpe[554329]: Bind to port 5666 on :: failed: Address already in use.
Nov 28 18:47:18 puma nrpe[554329]: Cannot bind to any address.
Nov 28 18:47:18 puma init: nrpe main process (554329) terminated with status 1
Nov 28 18:47:18 puma init: nrpe respawning too fast, stopped
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue with nrpe on client

Post by lmiltchev »

How did you install NRPE? What guide/tutorial/doc did you follow?

Is it possible that NRPE is already running under xinetd, and you are trying to start it as a "standalone" daemon?

What is the output of the following commands?

Code: Select all

uname -a
cat /etc/*release
ls -la /etc/xinetd.d/nrpe
ps -ef | grep 'xinetd\|nrpe' | grep -v grep
netstat -an | grep 5666
Can you show us the nrpe.cfg file?
Be sure to check out our Knowledgebase for helpful articles and solutions!
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Re: Issue with nrpe on client

Post by ericssonvietnam »

lmiltchev wrote:How did you install NRPE? What guide/tutorial/doc did you follow?

Is it possible that NRPE is already running under xinetd, and you are trying to start it as a "standalone" daemon?

What is the output of the following commands?

Code: Select all

uname -a
cat /etc/*release
ls -la /etc/xinetd.d/nrpe
ps -ef | grep 'xinetd\|nrpe' | grep -v grep
netstat -an | grep 5666
Can you show us the nrpe.cfg file?
I found some process running under xinetd service after stooping it nrpe demon is running fine.

Can you help me with nrpe configuration on windows client.
kyang

Re: Issue with nrpe on client

Post by kyang »

Please note, that if your original issue is solved. I would like to ask if you could create a new thread on using NSClient with NRPE on a windows client.

That way we aren't mixing a different topic under an issue with NRPE. As your new question would be for configuring the NRPE listener on an NSClient agent that is installed on windows.

Other than that, we would still be glad to help you on this next issue if you created a new one.

Are we okay to lock up this thread?
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Re: Issue with nrpe on client

Post by ericssonvietnam »

kyang wrote:Please note, that if your original issue is solved. I would like to ask if you could create a new thread on using NSClient with NRPE on a windows client.

That way we aren't mixing a different topic under an issue with NRPE. As your new question would be for configuring the NRPE listener on an NSClient agent that is installed on windows.

Other than that, we would still be glad to help you on this next issue if you created a new one.

Are we okay to lock up this thread?
thanks we can lock the case both issue are fixed.
Locked