In Centos7.3 i have configured , MySQL NDB cluster after installing an tomcat not able to start an mysql service,
while giving the command to "service mysql start" its showing the error , anyone idea on this ?
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
Re: ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
We do not ship Mysql on CentOS 7. We ship mariadb. If you have mysql packages installed then they did not come from us and you need to ask the provider of those packages for support.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
That is certainly not supported here.MySQL NDB cluster
Usually what that means is that systemd sent the start command, mysql launched, populated the lock for the subsystem and then exited due to an error. Try running mysql in the foreground and see if you get any other clues (and/or check mysql's error log).ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
Re: ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
Hi dear,
I have facing the same thing and finally got the solution.
This was the error:
-service mysql status
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
After getting this error, just follow the following steps:
1- rm /var/lock/subsys/mysql
rm: remove regular empty file ‘/var/lock/subsys/mysql’? y (Press 'y')
2-/etc/init.d/mysql start
Starting MySQL....................................................................................................
3- In case you got the error again like "ERROR! The server quit without updating PID file (/mysql/data/kalsym.com.pid)."
" ps -ef | grep mysql "
Kill all mysql process
and repeat the Step 1 & 2. This should resolve the issue.
NOTE: Check your disk space as well
Thanks
I have facing the same thing and finally got the solution.
This was the error:
-service mysql status
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
After getting this error, just follow the following steps:
1- rm /var/lock/subsys/mysql
rm: remove regular empty file ‘/var/lock/subsys/mysql’? y (Press 'y')
2-/etc/init.d/mysql start
Starting MySQL....................................................................................................
3- In case you got the error again like "ERROR! The server quit without updating PID file (/mysql/data/kalsym.com.pid)."
" ps -ef | grep mysql "
Kill all mysql process
and repeat the Step 1 & 2. This should resolve the issue.
NOTE: Check your disk space as well
Thanks