Here is my suggestion. Ultimately we want to get rid of those huge #sql files in /var/lib/mysql/nagiosxi. There
are a few in /var/lib/mysql/nagios and /var/lib/mysql/nagiosql, but we can deal with those later.
Code: Select all
service nagios stop
service npcd stop
service ndo2db stop
service mysqld stop
service httpd stop
service crond stop
mkdir /var/lib/mysql/nagiosxi_junk
mv /var/lib/mysql/nagiosxi/#sql*.frm /var/lib/mysql/nagiosxi_junk
mv /var/lib/mysql/nagiosxi/#sql*.ibd /var/lib/mysql/nagiosxi_junk
service crond start
service httpd start
service mysqld start
service ndo2db start
service npcd start
service nagios start
Code: Select all
rm -rf /var/lib/mysql/nagiosxi_junk
Thanks!