no success until now
Starting ndo2db:Support for the specified database - FAILED
Re: Starting ndo2db:Support for the specified database - FAI
hi,
no success until now
no success until now
Re: Starting ndo2db:Support for the specified database - FAI
some more debugging info :
-----------------------------------------------------
# service nagios start
Starting Nagios done
-------------------------------------------------------------
From the Nagios log, I see the module is loaded successfully, but since ndo2db service is not started, it is not able to inject data to mysql.
# tail -f /var/log/nagios/nagios.log
[1444807023] Nagios 3.0.6 starting... (PID=23400)
[1444807023] Local time is Wed Oct 14 12:47:03 IST 2015
[1444807023] LOG VERSION: 2.0
[1444807023] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1444807023] ndomod: Could not open data sink! I'll keep trying, but some output may get lost...
[1444807023] ndomod registered for contact data'
[1444807023] ndomod registered for contact notification data'
[1444807023] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1444807023] Finished daemonizing... (New PID=23401)
--------------------------------------------------------
# service ndo2db start
Starting ndo2db:Support for the specified database server is either not yet supported, or was not found on your system.
done.
-----------------------------------------------------
# service nagios start
Starting Nagios done
-------------------------------------------------------------
From the Nagios log, I see the module is loaded successfully, but since ndo2db service is not started, it is not able to inject data to mysql.
# tail -f /var/log/nagios/nagios.log
[1444807023] Nagios 3.0.6 starting... (PID=23400)
[1444807023] Local time is Wed Oct 14 12:47:03 IST 2015
[1444807023] LOG VERSION: 2.0
[1444807023] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1444807023] ndomod: Could not open data sink! I'll keep trying, but some output may get lost...
[1444807023] ndomod registered for contact data'
[1444807023] ndomod registered for contact notification data'
[1444807023] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1444807023] Finished daemonizing... (New PID=23401)
--------------------------------------------------------
# service ndo2db start
Starting ndo2db:Support for the specified database server is either not yet supported, or was not found on your system.
done.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Starting ndo2db:Support for the specified database - FAI
From what I can gather the only thing that would cause the error you're seeing is if db_servertype was anything besides mysql in ndo2db.cfg.
Can you verify that you're using the right path when trying to spin up ndo2db?
Check the settings in your init script.
Can you verify that you're using the right path when trying to spin up ndo2db?
Code: Select all
[root@localhost etc]# ps -ef | grep ndo
nagios 1299 1 0 14:12 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfgRe: Starting ndo2db:Support for the specified database - FAI
Hi,
I configured this on RHEL 7 and everything works fine. I'll start comparing the config files between Suse 11.2 & RHEL 7.1 and see if there are any differences.
Thanks to all for your support and help.
-Bala.
I configured this on RHEL 7 and everything works fine. I'll start comparing the config files between Suse 11.2 & RHEL 7.1 and see if there are any differences.
Thanks to all for your support and help.
-Bala.
Re: Starting ndo2db:Support for the specified database - FAI
Let us know what you find out.
It looks like the database may be corrupted or that it cannot be accessed for some reason.
Take a look in the mysqld.log file and see if there are any errors that can help.
It looks like the database may be corrupted or that it cannot be accessed for some reason.
Take a look in the mysqld.log file and see if there are any errors that can help.
Be sure to check out our Knowledgebase for helpful articles and solutions!