Webmaster's Community

Webhosting Forums => Dedicated Server Administration => Topic started by: bsnlgprs on April 29, 2011, 05:50:44 AM

Title: mysql is not running but lock exists - mysql not working
Post by: bsnlgprs on April 29, 2011, 05:50:44 AM
Today I am unable to use mysql and when I checked I found Mysql is not running but when I tried to start it I received error
Code: [Select]
mysql is not running but lock exists [/b]

I am running centos  linux
Title: Re: mysql is not running but lock exists - mysql not working
Post by: Jaffery on April 29, 2011, 06:13:52 AM
Try to remove its lock
Code: [Select]
rm /var/lock/subsys/mysq
Title: Re: mysql is not running but lock exists - mysql not working
Post by: bsnlgprs on April 29, 2011, 06:18:25 AM
You mean "rm/var/lock/subsys/mysql"

I did that but still not working.