衍默 发表于 2017-3-18 23:28:54

nginx重启失败

root@l1:~# service nginx restart
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.

root@l1:~# systemctl status ngins.service
● ngins.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)


root@l1:~# journalctl -xn
-- Logs begin at Sat 2017-03-18 20:40:03 CST, end at Sat 2017-03-18 23:2Mar 18 23:22:56 l1.magopo.com sshd: Failed password for root from Mar 18 23:22:59 l1.magopo.com sshd: Failed password for root from Mar 18 23:22:59 l1.magopo.com sshd: Failed password for root from Mar 18 23:23:02 l1.magopo.com sshd: Failed password for root from Mar 18 23:23:02 l1.magopo.com sshd: Failed password for root from Mar 18 23:23:04 l1.magopo.com sshd: Failed password for root from Mar 18 23:23:04 l1.magopo.com sshd: Disconnecting: Too many authenMar 18 23:23:04 l1.magopo.com sshd: PAM 5 more authentication failMar 18 23:23:04 l1.magopo.com sshd: PAM service(sshd) ignoring maxMar 18 23:23:05 l1.magopo.com sshd: Failed password for root from lines 1-11/11 (END)...skipping...
-- Logs begin at Sat 2017-03-18 20:40:03 CST, end at Sat 2017-03-18 23:2Mar 18 23:22:56 l1.magopo.com sshd: Failed password for root from Mar 18 23:22:59 l1.magopo.com sshd: Failed password for root from Mar 18 23:22:59 l1.magopo.com sshd: Failed password for root from Mar 18 23:23:02 l1.magopo.com sshd: Failed password for root from Mar 18 23:23:02 l1.magopo.com sshd: Failed password for root from Mar 18 23:23:04 l1.magopo.com sshd: Failed password for root from Mar 18 23:23:04 l1.magopo.com sshd: Disconnecting: Too many authenMar 18 23:23:04 l1.magopo.com sshd: PAM 5 more authentication failMar 18 23:23:04 l1.magopo.com sshd: PAM service(sshd) ignoring maxMar 18 23:23:05 l1.magopo.com sshd: Failed password for root from ~
这个要怎么解决_(:з」∠)_

衍默 发表于 2017-3-18 23:30:05

另一张…

衍默 发表于 2017-3-18 23:31:26

上一张错了…

licess 发表于 2017-3-19 10:07:05

lnmp的都没有注册servic
建议使用lnmp nginx restart 或 /etc/init.d/nginx restart

详细查看官网文档:https://lnmp.org/faq/lnmp-status-manager.html
页: [1]
查看完整版本: nginx重启失败