We have Nagiosxi 2012 R1.4 virtual machine running on CentOS. It is running fine with the extended trial license. However, everytime we powered down the machine and restarted it, Nagios refused to monitor.
It replies
Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired
and sometimes, it reports another table is crashed too.
How to fix it and why everytime when we restarted the machine, Nagios refuse to start? When we load the last backed up virtual machine, Nagios will be ok until when the machine get restarted.
Tom
Table './nagios/nagios_servicestatus' is marked as crashed
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Table './nagios/nagios_servicestatus' is marked as crash
This is a database corruption error
Please run
Please run
Code: Select all
/usr/local/nagiosxi/scripts/repairmysql.sh nagiosRe: Table './nagios/nagios_servicestatus' is marked as crash
Great, it has been solved!