Re: Database Backend Is Not Running
Posted: Mon Jan 16, 2017 5:39 pm
I'm wondering if your init script wasn't updated, please attach this file:
Thank you
Code: Select all
/etc/init.d/ndo2dbSupport for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
/etc/init.d/ndo2dbHi Team,ssax wrote:I'm wondering if your init script wasn't updated, please attach this file:
Thank youCode: Select all
/etc/init.d/ndo2db
raamardhani7 wrote:Hi Team,ssax wrote:I'm wondering if your init script wasn't updated, please attach this file:
Thank youCode: Select all
/etc/init.d/ndo2db
Please find the uploaded the ndo2db file from different server and it looks it is running fine.
But on the portal we are still seeing the database backend in red. I ran the repair database script.Code: Select all
service ndo2db status ndo2db (pid 24205) is running...
Code: Select all
=============== REPAIR COMPLETE =============== Stopping ndo2db: done. Starting ndo2db: done. Running configuration check... Stopping nagios: done. Starting nagios: done. ======================= nagios database repair succeeded nagiosql database repair succeeded nagiosxi database repair succeededCode: Select all
Running pre-flight check on configuration data... Checking objects... Checked 374 services. Checked 122 hosts. Checked 3 host groups. Checked 8 service groups. Checked 20 contacts. Checked 2 contact groups. Checked 131 commands. Checked 23 time periods. Checked 0 host escalations. Checked 0 service escalations. Checking for circular paths... Checked 122 hosts Checked 0 service dependencies Checked 0 host dependencies Checked 23 timeperiods Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 9 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check RET: 0 Running configuration check... Stopping nagios: done. Starting nagios: done.
Code: Select all
rm -f /usr/local/nagios/var/ndo.sock
systemctl start ndo2db.service
systemctl status ndo2db.service
Code: Select all
mysql -V
cat /usr/local/nagiosxi/var/xi-sys.cfg | grep mysqld
Hi Team,rkennedy wrote:Please run the following -That should bring it back up, if it doesn't, please show us the output from these commands -Code: Select all
rm -f /usr/local/nagios/var/ndo.sock systemctl start ndo2db.service systemctl status ndo2db.serviceCode: Select all
mysql -V cat /usr/local/nagiosxi/var/xi-sys.cfg | grep mysqld
Code: Select all
mysql -V
mysql Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1
Code: Select all
cat /usr/local/nagiosxi/var/xi-sys.cfg | grep mysqld
mysqld='mysqld'
Hi Team,dwhitfield wrote:Please submit a ticket ([email protected]) and reference this thread. Please let us know when you have done so, and we will close this thread.
Also, please note that 5.4.1 will be out the week after next (if not sooner), and there will be a fix.