xchina-1 发表于 2025-1-14 21:15:03

mysql启动不了也可能是数据盘满了

一位站长说数据库打不开,提示如下:
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

翻译后的意思如下:

mysqld.service的作业失败,因为控制进程退出,返回错误代码。有关详细信息,请参阅“systemctl status mysqld.service”和“journalctl-xe”。
从提示来看应该是空间满了,站长也发来了磁盘存储明细:

https://cgb.lucaixing.com/wp-content/uploads/2025/01/1736859541-9c65ac50d5c687b.png

确实是满了
站长说清理了还是一样打不开

https://cgb.lucaixing.com/wp-content/uploads/2025/01/1736859916-628b95803e6b6a0.png

/data/mysql/mysql-error.log 贴出来看看

https://cgb.lucaixing.com/wp-content/uploads/2025/01/1736860080-7c51344046dea50.png

2024-12-18T02:45:10.678668Z 0 Unix socket lock file is empty /tmp/mysql.sock.lock.
2024-12-18T02:45:10.678672Z 0 Unable to setup unix socket lock file.
2024-12-18T02:45:10.678675Z 0 Aborting

rm -f/tmp/mysql.sock.lock
之后再重启


https://cgb.lucaixing.com/wp-content/uploads/2025/01/1736860452-6ff031bd82af4db.png



页: [1]
查看完整版本: mysql启动不了也可能是数据盘满了