无法启动 mysql 服务,并显示错误 "Failed to start MySQL Server"
适用场景
- ActiveIQ Unified Manager 9.x
- RHEL
问题描述
- 无法在RHEL服务器上安装的ActiveIQ Unified Manager中启动OCIE服务。
-
尝试启动 MySQL 服务将导致以下错误:
-
[root@rhel7-x64-template ~]# sudo systemctl start mysqld
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
> Check journalctl -xe to 2019-10-31T08:36:59.942871Z 0 [ERROR] Could not create unix socket lock file
/var/run/mysqld/mysqld.sock.lock.
2019-10-31T08:36:59.942880Z 0 [ERROR] Unable to setup unix socket lock file.
2019-10-31T08:36:59.942886Z 0 [ERROR] Aborting
Mysql was unable to create unix socket lock file.identify error
-