mysqldump: got error: 144

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
justine
Posts: 45
Joined: Mon Oct 29, 2012 9:06 pm

mysqldump: got error: 144

Post by justine »

I encountered this error in Nagios while backing up.

mysqldump: Got error: 144: Table './nagios/nagios_statehistory' 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!

Please help how to fix this.
Last edited by dwhitfield on Wed Jan 18, 2017 9:49 am, edited 1 time in total.
Reason: marking with green check mark
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: mysqldump: got error: 144

Post by dwhitfield »

There are a number of solutions presented at https://support.nagios.com/kb/article.php?id=24

Please run through that document and let us know if you are still having issues. Thanks!
justine
Posts: 45
Joined: Mon Oct 29, 2012 9:06 pm

Re: mysqldump: got error: 144

Post by justine »

Thanks! Fixed it after running this script:
./repair_databases.sh
Locked