Hi there,
I have 2 servers running with WHM/cPanel and with both I have the same problems. Whenever I must reboot my servers because of kernel updates I am notified that mysql appears to be down, but it isn't down. After long research I found what is caused by and found a solution for this issue. It seems to be that mysql can't lock ./ibdata1 when the server will be gracefull restarted.
I have 2 servers running with WHM/cPanel and with both I have the same problems. Whenever I must reboot my servers because of kernel updates I am notified that mysql appears to be down, but it isn't down. After long research I found what is caused by and found a solution for this issue. It seems to be that mysql can't lock ./ibdata1 when the server will be gracefull restarted.
This works, but doesn't solves the cause and I am wondering why I am the only one with this problem?! So what is wrong?/var/lib/mysql# mv ibdata1 ibdata1.bak
/var/lib/mysql# cp -a ibdata1.bak ibdata1
/var/lib/mysql# rm ibdata1.bak