Backend DataBase

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
newdawnccs
Posts: 18
Joined: Sat Feb 08, 2014 3:12 pm

Backend DataBase

Post by newdawnccs »

on the administration page of the nagiosXI server is displaying an error for the backend database. I checked the status of the service and the output is below

[root@localhost ~]# /usr/bin/systemctl status ndo2db
? ndo2db.service - Nagios Data Out Daemon
Loaded: loaded (/usr/lib/systemd/system/ndo2db.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-12-19 14:57:01 EST; 10min ago
Docs: http://www.nagios.org/documentation
Process: 31756 ExecStopPost=/bin/rm -f /usr/local/nagios/var/ndo2db.pid (code=exited, status=0/SUCCESS)
Process: 31753 ExecStart=/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f (code=exited, status=1/FAILURE)
Main PID: 31753 (code=exited, status=1/FAILURE)

Dec 19 14:57:00 localhost.localdomain systemd[1]: Started Nagios Data Out Daemon.
Dec 19 14:57:00 localhost.localdomain systemd[1]: Starting Nagios Data Out Daemon...
Dec 19 14:57:01 localhost.localdomain ndo2db[31753]: Could not bind socket: Address al...e
Dec 19 14:57:01 localhost.localdomain systemd[1]: ndo2db.service: main process exited,...E
Dec 19 14:57:01 localhost.localdomain systemd[1]: Unit ndo2db.service entered failed s....
Dec 19 14:57:01 localhost.localdomain systemd[1]: ndo2db.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]#
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Backend DataBase

Post by lmiltchev »

Is it possible that you have ndo.sock "left over" after the service stopped? Try the following:

Code: Select all

rm -f /usr/local/nagios/var/ndo.sock

Code: Select all

service ndo2db start
or

Code: Select all

systemctl start ndo2db.service
Did this help?
Be sure to check out our Knowledgebase for helpful articles and solutions!
newdawnccs
Posts: 18
Joined: Sat Feb 08, 2014 3:12 pm

Re: Backend DataBase

Post by newdawnccs »

WOW....that was to simple.....thanks for the help
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Backend DataBase

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked