MySQL Problem
Posted: Tue Aug 14, 2012 9:43 am
began seeing this error again:
2012-08-14T10:27:41.313565-04:00 id-nag01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_notifications SET instance_id='1', notification_ty
pe='1', notification_reason='0', start_time=FROM_UNIXTIME(1344953061), start_time_usec='148075', end_time=FROM_UNIXTIME(0), end_time_usec='0', object_id
='6056', state='2', output='Connection refused by host', long_output='Connection refused by host', escalated='0', contacts_notified='0' ON DUPLICATE KEY
UPDATE instance_id='1', notification_type='1', notification_reason='0', start_time=FROM_UNIXTIME(1344953061), start_time_usec='148075', end_time=FROM_U
NIXTIME(0), end_time_usec='0', object_id='6056', state='2', output='Connection refused by host', long_output='Connection refused by host', escalated='0'
, contacts_notified='0''
2012-08-14T10:27:41.313584-04:00 id-nag01 ndo2db: mysql_error: 'Server shutdown in progress'
2012-08-14T10:27:41.313764-04:00 id-nag01 ndo2db: Error: mysql_query() failed for 'DELETE FROM nagios_timedevents WHERE instance_id='1' AND scheduled_ti
me<FROM_UNIXTIME(1344868061)'
2012-08-14T10:27:41.313772-04:00 id-nag01 ndo2db: mysql_error: 'Lost connection to MySQL server during query'
2012-08-14T10:27:41.313778-04:00 id-nag01 ndo2db: Error: Connection to MySQL database has been lost!
running again now after restarting all services.
2012-08-14T10:27:41.313565-04:00 id-nag01 ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_notifications SET instance_id='1', notification_ty
pe='1', notification_reason='0', start_time=FROM_UNIXTIME(1344953061), start_time_usec='148075', end_time=FROM_UNIXTIME(0), end_time_usec='0', object_id
='6056', state='2', output='Connection refused by host', long_output='Connection refused by host', escalated='0', contacts_notified='0' ON DUPLICATE KEY
UPDATE instance_id='1', notification_type='1', notification_reason='0', start_time=FROM_UNIXTIME(1344953061), start_time_usec='148075', end_time=FROM_U
NIXTIME(0), end_time_usec='0', object_id='6056', state='2', output='Connection refused by host', long_output='Connection refused by host', escalated='0'
, contacts_notified='0''
2012-08-14T10:27:41.313584-04:00 id-nag01 ndo2db: mysql_error: 'Server shutdown in progress'
2012-08-14T10:27:41.313764-04:00 id-nag01 ndo2db: Error: mysql_query() failed for 'DELETE FROM nagios_timedevents WHERE instance_id='1' AND scheduled_ti
me<FROM_UNIXTIME(1344868061)'
2012-08-14T10:27:41.313772-04:00 id-nag01 ndo2db: mysql_error: 'Lost connection to MySQL server during query'
2012-08-14T10:27:41.313778-04:00 id-nag01 ndo2db: Error: Connection to MySQL database has been lost!
running again now after restarting all services.