- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2015-6-30
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
[ ok ] Stopping mysql (via systemctl): mysql.service.
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx... done
[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed . See 'systemctl status mysql.service' and 'journalctl -xn' for details.
failed!
Starting php-fpm done
root@Peng:~# 'systemctl status mysql.service'
-bash: systemctl status mysql.service: command not found
root@Peng:~# systemctl status mysql.service
● mysql.service - LSB: start and stop MySQL
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Tue 2015-07-28 16:26:12 CST; 21s ago
Process: 22207 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS)
Process: 29700 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Jul 28 16:26:11 Peng mysql[29700]: Starting MySQL
Jul 28 16:26:12 Peng mysql[29700]: .The server quit without updating PID file (/var/run/mysqld/mysqld.pid). ... failed!
Jul 28 16:26:12 Peng systemd[1]: mysql.service: control process exited, code=exited status=1
Jul 28 16:26:12 Peng systemd[1]: Failed to start LSB: start and stop MySQL.
Jul 28 16:26:12 Peng systemd[1]: Unit mysql.service entered failed state.
root@Peng:~# journalctl -xn
-- Logs begin at Tue 2015-07-28 11:52:28 CST, end at Tue 2015-07-28 16:26:12 CST. --
Jul 28 16:17:01 Peng CRON[29632]: pam_unix(cron:session): session opened for user root by (uid=0)
Jul 28 16:17:01 Peng CRON[29633]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jul 28 16:17:01 Peng CRON[29632]: pam_unix(cron:session): session closed for user root
Jul 28 16:22:48 Peng sshd[29635]: Accepted password for root from 113.97.110.85 port 52737 ssh2
Jul 28 16:22:48 Peng sshd[29635]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jul 28 16:26:11 Peng mysql[29700]: Starting MySQL
Jul 28 16:26:12 Peng mysql[29700]: .The server quit without updating PID file (/var/run/mysqld/mysqld.pid). ... failed!
Jul 28 16:26:12 Peng systemd[1]: mysql.service: control process exited, code=exited status=1
Jul 28 16:26:12 Peng 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.
Jul 28 16:26:12 Peng systemd[1]: Unit mysql.service entered failed state.
root@Peng:~#
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|