Database Issue NagiosXI down
Posted: Wed Aug 05, 2020 10:54 am
Get the message
Database Error
A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.
Run the following from the CLI as root to attempt to repair the DB:
/usr/local/nagiosxi/scripts/repair_databases.sh
When I run this it goes through the repair and hangs after recovering "recovering (with sort) MyISAM-table 'tbl_variabledefinition'"
after awhile
Timeout error occurred trying to start MySQL Daemon.
Starting mysqld: [FAILED]
===============
REPAIR COMPLETE
===============
ndo2db was not running... could not stop
Starting ndo2db: done.
=======================
nagios database repair succeeded
nagiosql database repair succeeded
Database Error
A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.
Run the following from the CLI as root to attempt to repair the DB:
/usr/local/nagiosxi/scripts/repair_databases.sh
When I run this it goes through the repair and hangs after recovering "recovering (with sort) MyISAM-table 'tbl_variabledefinition'"
after awhile
Timeout error occurred trying to start MySQL Daemon.
Starting mysqld: [FAILED]
===============
REPAIR COMPLETE
===============
ndo2db was not running... could not stop
Starting ndo2db: done.
=======================
nagios database repair succeeded
nagiosql database repair succeeded