NDO-3: Unable to connect to mysql. after upgrade to 5.8.5
Posted: Sun Jul 25, 2021 10:50 pm
Hi,
I have upgraded to nagiosxi 5.8.5 and am getting the errors
[1627268014] NDO-3: NDO 3.0.7 (c) Copyright 2009-2020 Nagios - Nagios Core Development Team
[1627268014] NDO-3: Unable to connect to mysql. Configuration may be incorrect or database may have temporarily disconnected.
[1627268014] NDO-3: NDO was not able to initialize the database (main context) and will not start.
[1627268014] Event broker module '/usr/local/nagios/bin/ndo.so' initialized successfully.
I didnt realise the gui was not updateing so went ahead and upgraded cacti, which is on the same server. As part of that process the database was upgraded to mariadb 10.
Now cacti does not work with
FATAL: Connection to Cacti database failed. Please ensure:
the PHP MySQL module is installed and enabled.
the database is running.
the credentials in config.php are valid.
I do not have a checkpoint to go back to as i thought it was working and cleared it. yest, dumb.
All alerts are still working and being emailed, just the GUI is not reflecting any changes. Also I cannot add or delete any clients from the interface, which is not unexpected really.
Any help would be appreciated.
Darren
I have upgraded to nagiosxi 5.8.5 and am getting the errors
[1627268014] NDO-3: NDO 3.0.7 (c) Copyright 2009-2020 Nagios - Nagios Core Development Team
[1627268014] NDO-3: Unable to connect to mysql. Configuration may be incorrect or database may have temporarily disconnected.
[1627268014] NDO-3: NDO was not able to initialize the database (main context) and will not start.
[1627268014] Event broker module '/usr/local/nagios/bin/ndo.so' initialized successfully.
I didnt realise the gui was not updateing so went ahead and upgraded cacti, which is on the same server. As part of that process the database was upgraded to mariadb 10.
Now cacti does not work with
FATAL: Connection to Cacti database failed. Please ensure:
the PHP MySQL module is installed and enabled.
the database is running.
the credentials in config.php are valid.
I do not have a checkpoint to go back to as i thought it was working and cleared it. yest, dumb.
All alerts are still working and being emailed, just the GUI is not reflecting any changes. Also I cannot add or delete any clients from the interface, which is not unexpected really.
Any help would be appreciated.
Darren