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 ~]#
Backend DataBase
Re: Backend DataBase
Is it possible that you have ndo.sock "left over" after the service stopped? Try the following:
or
Did this help?
Code: Select all
rm -f /usr/local/nagios/var/ndo.sockCode: Select all
service ndo2db startCode: Select all
systemctl start ndo2db.serviceBe 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
WOW....that was to simple.....thanks for the help
Re: Backend DataBase
I am glad I could help! 
Be sure to check out our Knowledgebase for helpful articles and solutions!