DB Connect Error [nagiosxi]: Database connection failed
Posted: Wed Apr 11, 2012 1:00 pm
Nagios stopped working when the filesystem suddenly flooded with log messages. I have cleared the logs and created plenty of space. How do I repair the "nagios_logentries" file as recorded in the mysqldb.log file.
Thanks,
Carolee
120410 18:10:46 mysqld_safe mysqld restarted
120410 18:10:46 InnoDB: Started; log sequence number 0 44233
120410 18:10:47 [Note] Event Scheduler: Loaded 0 events
120410 18:10:47 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.52' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
120411 7:00:04 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_logentries' is marked as crashed and should be repaired
Thanks,
Carolee
120410 18:10:46 mysqld_safe mysqld restarted
120410 18:10:46 InnoDB: Started; log sequence number 0 44233
120410 18:10:47 [Note] Event Scheduler: Loaded 0 events
120410 18:10:47 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.52' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
120411 7:00:04 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_logentries' is marked as crashed and should be repaired