Page 1 of 1

Could not bind socket: Address already in use_ndoutils1.5.2

Posted: Wed Jun 20, 2012 9:22 pm
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.

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

Posted: Thu Jun 21, 2012 8:02 pm
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.