- 积分
- 7
- 威望
-
- 金钱
-
- 注册时间
- 2012-1-21
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
今天执行lnmp restart时,数据库服务无法启动,期间没有修改过其他任何东西。不知道为什么。我把错误信息发上来,麻烦军哥帮忙瞧瞧。
- root@digitalocean:~# lnmp restart
- +-------------------------------------------+
- | Manager for LNMP, Written by Licess |
- +-------------------------------------------+
- | http://lnmp.org |
- +-------------------------------------------+
- Stoping LNMP...
- Stoping nginx... done
- [ 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@digitalocean:~# systemctl status mysql.service
- ● mysql.service - LSB: start and stop MySQL
- Loaded: loaded (/etc/init.d/mysql)
- Active: failed (Result: exit-code) since Sat 2016-09-10 12:40:08 CST; 33s ago
- Process: 3220 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
- Sep 10 12:40:06 digitalocean systemd[1]: Starting LSB: start and stop MySQL...
- Sep 10 12:40:06 digitalocean mysql[3220]: Starting MySQL
- Sep 10 12:40:08 digitalocean mysql[3220]: ..The server quit without updating PID file (/usr/local/mysql/var/digitalocean....ailed!
- Sep 10 12:40:08 digitalocean systemd[1]: mysql.service: control process exited, code=exited status=1
- Sep 10 12:40:08 digitalocean systemd[1]: Failed to start LSB: start and stop MySQL.
- Sep 10 12:40:08 digitalocean systemd[1]: Unit mysql.service entered failed state.
- Hint: Some lines were ellipsized, use -l to show in full.
- root@digitalocean:~#
复制代码
执行journalctl -xn显示如下信息:
- root@digitalocean:~# journalctl -xn
- -- Logs begin at Wed 2016-08-03 19:00:26 CST, end at Sat 2016-09-10 12:45:42 CST. --
- Sep 10 12:45:36 digitalocean sshd[3782]: Failed password for root from 116.31.116.26 port 48647 ssh2
- Sep 10 12:45:37 digitalocean sshd[3782]: Received disconnect from 116.31.116.26: 11: [preauth]
- Sep 10 12:45:37 digitalocean sshd[3782]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116
- Sep 10 12:45:38 digitalocean sshd[3784]: Failed password for invalid user divya from 192.169.245.28 port 37234 ssh2
- Sep 10 12:45:38 digitalocean sshd[3784]: pam_unix(sshd:auth): check pass; user unknown
- Sep 10 12:45:40 digitalocean sshd[3784]: Failed password for invalid user divya from 192.169.245.28 port 37234 ssh2
- Sep 10 12:45:40 digitalocean sshd[3784]: pam_unix(sshd:auth): check pass; user unknown
- Sep 10 12:45:42 digitalocean sshd[3784]: Failed password for invalid user divya from 192.169.245.28 port 37234 ssh2
- Sep 10 12:45:42 digitalocean sshd[3784]: Connection closed by 192.169.245.28 [preauth]
- Sep 10 12:45:42 digitalocean sshd[3784]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=ip-192-169
- lines 1-11/11 (END)
复制代码
麻烦军哥帮忙看看。非常感谢。 |
|