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.
Did you get any additional output from it, or still the bind socket issue?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
root@oversun:~# /etc/init.d/ndo2db restart
ndo2db was not running... could not stop
Starting ndo2db:Could not bind socket: Address already in use
done.
root@oversun:~#
ndo2db cannot be restart without a kill.
Seek and you shall find, knock and it shall be opened, cry and you shall find comfort
rm /usr/local/nagios/var/ndo2db.lock
service ndo2db start
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
root@oversun:~# rm /usr/local/nagios/var/ndo2db.lock
root@oversun:~# /etc/init.d/ndo2db restart
ndo2db was not running... could not stop
Starting ndo2db:Could not bind socket: Address already in use
done.
root@oversun:~#
root@oversun:~# /etc/init.d/ndo2db stop
ndo2db was not running... could not stop
root@oversun:~# killall -9 ndo2db
root@oversun:~# rm -f /usr/local/nagios/var/ndo2db.lock
root@oversun:~# rm /usr/local/nagios/var/ndo.sock
rm: cannot remove `/usr/local/nagios/var/ndo.sock': No such file or directory
root@oversun:~# rm /var/cache/nagios3/ndo.sock
root@oversun:~# /etc/init.d/ndo2db start
Starting ndo2db: done.
root@oversun:~# /etc/init.d/nagios restart
Running configuration check...
Stopping nagios: .done.
Starting nagios: done.
root@oversun:~#
1401685003] ndomod: Still unable to connect to data sink. 22297835 items lost, 50000 queued items to flush.
[1401685005] ndomod: Still unable to connect to data sink. 22282591 items lost, 50000 queued items to flush.
Seek and you shall find, knock and it shall be opened, cry and you shall find comfort
Seeing as you have multiple versions of Core running (in various functional states), would it be possible to reinstall Ubuntu and start over with a clean system? That way we can move forward with installing Core and ndo* using the same methods (either both from source or both from apt-get).
i don't have multiple cores running and it is not wise to reinstall ubuntu. It's better to make a new virtual machine with new ubuntu and install both from source. I will repost after doing it.
Seek and you shall find, knock and it shall be opened, cry and you shall find comfort