Backup dies

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
katieKatiePants
Posts: 51
Joined: Mon Feb 24, 2020 12:37 pm

Backup dies

Post by katieKatiePants »

below message:
mysqldump: Got error: 144: "Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed" when using LOCK TABLES
Error backing up MySQL database 'nagios' - check the password in this script!

Pls advise on how to resolve the crashed table s.t. i can proceed with the backup.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Backup dies

Post by tgriep »

To repair the Nagios MYSQL database, open a root shell and run this command.

Code: Select all

mysqlcheck -f -r -u root -pnagiosxi --databases nagios --use-frm
That should repair it so the backup can run.
Be sure to check out our Knowledgebase for helpful articles and solutions!
katieKatiePants
Posts: 51
Joined: Mon Feb 24, 2020 12:37 pm

Re: Backup dies

Post by katieKatiePants »

Yay! Victory!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Backup dies

Post by benjaminsmith »

Yay! Victory!
Wonderful!

We'll go ahead and close this out, but feel free to open another post if you have any new issues.

Nagios Support Team
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked