Could not bind socket: Address already in use_ndoutils1.5.2

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
pypath
Posts: 1
Joined: Wed Jun 20, 2012 9:07 pm

Could not bind socket: Address already in use_ndoutils1.5.2

Post by pypath »

Seek help.
After installing ndoutils, tips:

Code: Select all

[root@localhost ndoutils-1.5.2]# rm -rf /usr/local/nagios/var/ndo2db.lock
[root@localhost ndoutils-1.5.2]# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
Could not bind socket: Address already in use
And, not in the database data.

Attempt to

Code: Select all

/etc/init.d/nagios stop
/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
/etc/init.d/nagios start
Or above problem, online etc.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Could not bind socket: Address already in use_ndoutils1.

Post by jsmurphy »

if you do a "ps -ef | grep ndo2db" do you see the ndo2db process running? You will need to kill it first before attempting to restart it.
Locked