- 积分
- 44
- 威望
-
- 金钱
-
- 注册时间
- 2014-2-16
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2019-8-30 15:52:39
|
显示全部楼层
如果执行systemctl status mysql.service
mysql.service - LSB: start and stop MySQL
Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-08-30 15:50:16 C
Docs: man:systemd-sysv-generator(8)
Process: 23291 ExecStop=/etc/init.d/mysql stop (code=exited, status
Process: 24174 ExecStart=/etc/init.d/mysql start (code=exited, stat
Aug 30 15:50:15 iZ28af1l80eZ systemd[1]: Starting LSB: start and stop
Aug 30 15:50:15 iZ28af1l80eZ mysql[24174]: Starting MySQL
Aug 30 15:50:16 iZ28af1l80eZ mysql[24174]: . * The server quit withou
Aug 30 15:50:16 iZ28af1l80eZ systemd[1]: mysql.service: Control proce
Aug 30 15:50:16 iZ28af1l80eZ systemd[1]: Failed to start LSB: start a
Aug 30 15:50:16 iZ28af1l80eZ systemd[1]: mysql.service: Unit entered
Aug 30 15:50:16 iZ28af1l80eZ systemd[1]: mysql.service: Failed with r
执行journalctl -xe
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-dev
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Aug 30 15:50:16 iZ28af1l80eZ systemd[1]: mysql.service: Unit entered
Aug 30 15:50:16 iZ28af1l80eZ systemd[1]: mysql.service: Failed with r
Aug 30 15:52:37 iZ28af1l80eZ systemd[1]: Starting Cleanup of Temporar
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-dev
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
Aug 30 15:52:37 iZ28af1l80eZ systemd-tmpfiles[24735]: [/usr/lib/tmpfi
Aug 30 15:52:37 iZ28af1l80eZ systemd[1]: Started Cleanup of Temporary
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-dev
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done. |
|