Database Backend Is Not Running
Database Backend Is Not Running
So I just upgraded Nagios XI to 2014R2.7 and now it says that the database backend isn't running. The VM was rebooted. I've tried manually starting the database and it still says the database backend isn't running. Any ideas?
You do not have the required permissions to view the files attached to this post.
Re: Database Backend Is Not Running
It looks like mysql is running fine, but ndo2db might be stopped. Please try the following:
What is the output of that command?
Code: Select all
service ndomod startWhich database backend is not running, and how did you try to start it?I've tried manually starting the database and it still says the database backend isn't running.
Re: Database Backend Is Not Running
service ndomod start
ndomod: unrecognized service
To restart the database I tried running
service mysqld restart
and
service ndo2db restart
returned
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
and
ndo2db was not running... could not stop
Starting ndo2db: done.
ndomod: unrecognized service
To restart the database I tried running
service mysqld restart
and
service ndo2db restart
returned
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
and
ndo2db was not running... could not stop
Starting ndo2db: done.
Re: Database Backend Is Not Running
service ndo2db restart
is the correct command.
Does the system recognize that the Database Backend is now running?
is the correct command.
Does the system recognize that the Database Backend is now running?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Database Backend Is Not Running
No it still shows that it's not running from the GUI.
Re: Database Backend Is Not Running
I am seeing this in the system profile
"ndo2db is not running but subsystem locked"
"ndo2db is not running but subsystem locked"
Re: Database Backend Is Not Running
Try this to clear the lock file that could be left over during the upgrade.
Code: Select all
service ndo2db stop
rm /usr/local/nagios/var/ndo2db.lock
service ndo2db start
service nagios restartBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Database Backend Is Not Running
It is still showing that the database backend isn't running 
Re: Database Backend Is Not Running
Sorry, I posted the incorrect command.
It's also worth noting that there could be a hanging .sock file - check the following location for it:
If the socket remains and the program is not running, feel free to delete the socket and restart:
It's also worth noting that there could be a hanging .sock file - check the following location for it:
Code: Select all
ls /usr/local/nagios/var/ndo.sockCode: Select all
rm /usr/local/nagios/var/ndo.sock
service ndo2db restartRe: Database Backend Is Not Running
Unfortunately, nothing has changed. It still says DB backend isn't running.