Services Disappered
Posted: Mon Sep 24, 2012 2:07 am
hi,
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 (and) , but that didnt solved the services to appear.
I navigate on the forum and found similar post with method to try..
I would like to know what is the exact syntax i follow..
myisamchk -r -f nagios_<corrupted_table> .. i see servicestatus.frm, servicestatus.MYI, servicestatus.MYD
I tried with my custom password. and got the following errors as shown..
Pls let me know what else i try to bring the service details.
awaiting ..
Thanks.
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.