VMware Virtual Machine (64-bit) 2011R3.3 on centos 5.7 64bit running VMWare workstation.
error msg1: SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_servicestatus'
error msg2: SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus'
My core config manager has the serivce details but home service panel doesnt shows up.
I am getting error as I tried
Code: Select all
/usr/local/nagiosxi/scripts/repairmysql.sh nagiosCode: Select all
/usr/local/nagiosxi/scripts/repairmysql.sh nagiosql I navigate on the forum and found similar post with method to try..
Code: Select all
service mysqld stop
cd /var/lib/mysql/nagios
myisamchk -r -f nagios_<corrupted_table>
service mysqld start
rm -f /usr/local/nagiosxi/var/dbmaint.lock
/usr/local/nagiosxi/cron/dbmaint.php myisamchk -r -f nagios_<corrupted_table> .. i see servicestatus.frm, servicestatus.MYI, servicestatus.MYD
I tried
Code: Select all
mysqlcheck --auto-repair -A -pnagiosxiawaiting ..
Thanks.