VPS侦探论坛

 找回密码
 注册
查看: 3695|回复: 1

LNMP1.3突然出现数据库服务无法启动,求助军哥。

[复制链接]
发表于 2016-9-10 12:47:37 | 显示全部楼层 |阅读模式

今天执行lnmp restart时,数据库服务无法启动,期间没有修改过其他任何东西。不知道为什么。我把错误信息发上来,麻烦军哥帮忙瞧瞧。
  1. root@digitalocean:~# lnmp restart
  2. +-------------------------------------------+
  3. |    Manager for LNMP, Written by Licess    |
  4. +-------------------------------------------+
  5. |              http://lnmp.org              |
  6. +-------------------------------------------+
  7. Stoping LNMP...
  8. Stoping nginx...  done
  9. [ ok ] Stopping mysql (via systemctl): mysql.service.
  10. Gracefully shutting down php-fpm . done
  11. Starting LNMP...
  12. Starting nginx...  done
  13. [....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
  14. failed!
  15. Starting php-fpm  done
  16. root@digitalocean:~# systemctl status mysql.service
  17. ● mysql.service - LSB: start and stop MySQL
  18.    Loaded: loaded (/etc/init.d/mysql)
  19.    Active: failed (Result: exit-code) since Sat 2016-09-10 12:40:08 CST; 33s ago
  20.   Process: 3220 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

  21. Sep 10 12:40:06 digitalocean systemd[1]: Starting LSB: start and stop MySQL...
  22. Sep 10 12:40:06 digitalocean mysql[3220]: Starting MySQL
  23. Sep 10 12:40:08 digitalocean mysql[3220]: ..The server quit without updating PID file (/usr/local/mysql/var/digitalocean....ailed!
  24. Sep 10 12:40:08 digitalocean systemd[1]: mysql.service: control process exited, code=exited status=1
  25. Sep 10 12:40:08 digitalocean systemd[1]: Failed to start LSB: start and stop MySQL.
  26. Sep 10 12:40:08 digitalocean systemd[1]: Unit mysql.service entered failed state.
  27. Hint: Some lines were ellipsized, use -l to show in full.
  28. root@digitalocean:~#
复制代码



执行journalctl -xn显示如下信息:

  1. root@digitalocean:~# journalctl -xn
  2. -- Logs begin at Wed 2016-08-03 19:00:26 CST, end at Sat 2016-09-10 12:45:42 CST. --
  3. Sep 10 12:45:36 digitalocean sshd[3782]: Failed password for root from 116.31.116.26 port 48647 ssh2
  4. Sep 10 12:45:37 digitalocean sshd[3782]: Received disconnect from 116.31.116.26: 11:  [preauth]
  5. 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
  6. Sep 10 12:45:38 digitalocean sshd[3784]: Failed password for invalid user divya from 192.169.245.28 port 37234 ssh2
  7. Sep 10 12:45:38 digitalocean sshd[3784]: pam_unix(sshd:auth): check pass; user unknown
  8. Sep 10 12:45:40 digitalocean sshd[3784]: Failed password for invalid user divya from 192.169.245.28 port 37234 ssh2
  9. Sep 10 12:45:40 digitalocean sshd[3784]: pam_unix(sshd:auth): check pass; user unknown
  10. Sep 10 12:45:42 digitalocean sshd[3784]: Failed password for invalid user divya from 192.169.245.28 port 37234 ssh2
  11. Sep 10 12:45:42 digitalocean sshd[3784]: Connection closed by 192.169.245.28 [preauth]
  12. 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
  13. lines 1-11/11 (END)
复制代码



麻烦军哥帮忙看看。非常感谢。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-9-10 15:26:56 | 显示全部楼层


按反馈必读提供mysql日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 23:29 , Processed in 0.025134 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表