Error 130 while backing up or attempting to upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
[email protected]
Posts: 4
Joined: Wed May 28, 2014 10:05 am

Error 130 while backing up or attempting to upgrade

Post by [email protected] »

I am receiving an error when trying to backup or upgrade my current Nagios XI Version 2012R2.5.

The error during an upgrade is...

Error 130 at line 5: Incorrect file format 'nagios_contactnotificationmethods' Upgrade from mysql-upgrade-2.0.0.sql filed at ./upgradedb line 106.

During a backup the error is similar.

I have tried several repair suggestions on the forum with zero success.

Thoughts or suggestions?

Thanks,

Joe
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Error 130 while backing up or attempting to upgrade

Post by abrist »

You most likely have a damaged db. Try the repair scripts first:

Code: Select all

/usr/local/nagiosxi/scripts/repairmysql.sh nagios
/usr/local/nagiosxi/scripts/repairmysql.sh nagiosql
If you continue to have problems, force a repair of the affected table with:

Code: Select all

echo "use nagios;repair table nagios_contactnotificationmethods use_frm;" | mysql -pnagiosxi
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked