Mysql table crashed
Posted: Tue Sep 03, 2013 1:11 am
Dear Team,
We have one NagiosXI system installed successfully in CentOS 6.3.
In other system we installed MySQL (CentOS) and offloaded db from NagiosXI.
We followed "Offloading_MySQL_to_Remote Server" this document for offloading database.
after offloading MySQL db we started mysqld service on both machine, and permanent on services on both nagiosxi and mysql system done.
now we facing issue in log messages ( file /var/log/message) like:
Sep 3 10:52:46 NagiosxiApp ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_systemcommands SET instance_id='1', start_time=FROM_UNIXTIME(1378185766), start_time_usec='243862', end_time=FROM_UNIXTIME(1378185766), end_time_usec='247657', command_line='/bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/xidpe/1378185766\.perfdata\.service', timeout='5', early_timeout='0', execution_time='0.003000', return_code='0', output='', long_output='' ON DUPLICATE KEY UPDATE instance_id='1', start_time=FROM_UNIXTIME(1378185766), start_time_usec='243862', end_time=FROM_UNIXTIME(1378185766), end_time_usec='247657', command_line='/bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/xidpe/1378185766\.perfdata\.service', timeout='5', early_timeout='0', execution_time='0.003000', return_code='0', output='', long_output='''
Sep 3 10:52:46 NagiosxiApp ndo2db: mysql_error: 'Table './nagios/nagios_systemcommands' is marked as crashed and should be repaired'
I am also attached log file which is contained last 1000 lines in from bottom side name "var-log-messages"
You can also find the screenshots which i attache in mail......
Please resolve this issue as soon as possible.
We have one NagiosXI system installed successfully in CentOS 6.3.
In other system we installed MySQL (CentOS) and offloaded db from NagiosXI.
We followed "Offloading_MySQL_to_Remote Server" this document for offloading database.
after offloading MySQL db we started mysqld service on both machine, and permanent on services on both nagiosxi and mysql system done.
now we facing issue in log messages ( file /var/log/message) like:
Sep 3 10:52:46 NagiosxiApp ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_systemcommands SET instance_id='1', start_time=FROM_UNIXTIME(1378185766), start_time_usec='243862', end_time=FROM_UNIXTIME(1378185766), end_time_usec='247657', command_line='/bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/xidpe/1378185766\.perfdata\.service', timeout='5', early_timeout='0', execution_time='0.003000', return_code='0', output='', long_output='' ON DUPLICATE KEY UPDATE instance_id='1', start_time=FROM_UNIXTIME(1378185766), start_time_usec='243862', end_time=FROM_UNIXTIME(1378185766), end_time_usec='247657', command_line='/bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/xidpe/1378185766\.perfdata\.service', timeout='5', early_timeout='0', execution_time='0.003000', return_code='0', output='', long_output='''
Sep 3 10:52:46 NagiosxiApp ndo2db: mysql_error: 'Table './nagios/nagios_systemcommands' is marked as crashed and should be repaired'
I am also attached log file which is contained last 1000 lines in from bottom side name "var-log-messages"
You can also find the screenshots which i attache in mail......
Please resolve this issue as soon as possible.