That means something is wrong with your database, either something is wrong with mysql, or your database has been corrupted somehow. Check these log files foer for errors:
/var/log/mysql.log
/var/ossec/log/ossec.log
Also, please see the FAQ for troubleshooting database problems, here are three common issues when either mysql has a corrupt database, or mysql is not configured correctly:
https://www.atomicorp.com/wiki/index.ph ... he_ASL_GUIhttps://www.atomicorp.com/wiki/index.ph ... ne_away.27.
https://www.atomicorp.com/wiki/index.ph ... 7.0.0.1.27The FAQ has lots of information on common (and not so common) errors and conditions, please check the FAQ first as its very likely your specific issue is already documented, and a simple procedure to resolve this issue is already included:
https://www.atomicorp.com/wiki/index.php/ASL_FAQIf you can not find that issue, please post any errors you have in those two logs files.