SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired
Service Status Summary
SQL Crashes Help!
SQL Crashes Help!
You do not have the required permissions to view the files attached to this post.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: SQL Crashes Help!
1) I moved this to the proper location - General/Nagios XI
2) We include a database repair script you can use:
Run that and it will likely repair your issue.
2) We include a database repair script you can use:
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.shRe: SQL Crashes Help!
If this does not clear the "crashed" flag what do I need to do next?
Re: SQL Crashes Help!
We would need to know a lot more information, such as:
- Your XI version
- Your OS and version
- What symptoms you are seeing, and where
Former Nagios employee
Re: SQL Crashes Help!
Installed Version: 5.2.7
Red Hat Enterprise Linux Server release 6.8 (Santiago)
SQL: SQL Error [ndoutils] : Table '.\nagios\nagios_servicestatus' is marked as crashed and should be repaired
in the GUI and in the nagios log
Red Hat Enterprise Linux Server release 6.8 (Santiago)
SQL: SQL Error [ndoutils] : Table '.\nagios\nagios_servicestatus' is marked as crashed and should be repaired
in the GUI and in the nagios log
Re: SQL Crashes Help!
Take a look at this document, which will have further troubleshooting that can be done - https://support.nagios.com/kb/article.php?id=24
If repair_databases doesn't work, I would attempt the repairmysql nagios part, and then look at the force repair options.
Let us know the full input / output you see from these commands if none of this helps.
If repair_databases doesn't work, I would attempt the repairmysql nagios part, and then look at the force repair options.
Let us know the full input / output you see from these commands if none of this helps.
Former Nagios Employee