These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for mysql process already running when I reboot using Linode console on the new forum.
I have several servers with www.linode.com. If I restart my Linode from the Linode console, when it restarts the database is down. MySQL wont restart because it says a mysql process is already running. I have to login via SSH and delete the var/lib/mysql/mysql.sock file, then do a service mysql start.
So I wondered if this can be avoided? I am sure it only does it on one of my servers, the others seem to restart Ok when I reboot. So wondered if its a configuration issue somewhere.
Thanks
Howdy,
Hmm, which distro/version are you using there?
-Eric
Sorry... CentOS Linux 6.5
Howdy,
That issue actually appears to be a RHEL/CentOS bug... there's some information on how to correct it here:
https://bugzilla.redhat.com/show_bug.cgi?id=1037650
There's also some folks in the forums here who resolved in by just adding a line to their MySQL init script that deleted the .sock file if it exists.
-Eric
Ah great, thanks for finding that. Didnt come across that on my googling. Now I know I shall look into it more.
Thanks