- 积分
- 54
- 威望
-
- 金钱
-
- 注册时间
- 2014-6-22
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
机器上装的是lnmp1.6,mysql用的是5.7,昨天reboot机器后,发现mysql重启不了
请教军哥,这要咋个处理呢?谢谢了!
root@debian:~# lnmp mysql start
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
failed!
root@debian:~# journalctl -xn
-- Logs begin at 一 2020-08-24 01:22:57 CST, end at 一 2020-08-24 10:05:43 CST. --
8月 24 10:05:27 debian dhclient[735]: No DHCPOFFERS received.
8月 24 10:05:27 debian dhclient[735]: No working leases in persistent database - sleeping.
8月 24 10:05:42 debian systemd[1]: Starting LSB: start and stop MySQL...
-- Subject: Unit mysql.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
8月 24 10:05:42 debian mysql[32386]: Starting MySQL
8月 24 10:05:42 debian mysql[32386]: .Logging to '/var/log/mysql/error.log'.
8月 24 10:05:42 debian mysql[32386]: 2020-08-24T02:05:42.591490Z mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists.
8月 24 10:05:43 debian mysql[32386]: The server quit without updating PID file (/var/run/mysqld/mysqld.pid). ... failed!
8月 24 10:05:43 debian systemd[1]: mysql.service: control process exited, code=exited status=1
8月 24 10:05:43 debian systemd[1]: Failed to start LSB: start and stop MySQL.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
8月 24 10:05:43 debian systemd[1]: Unit mysql.service entered failed state.
root@debian:~#
|
|