码迷,mamicode.com
首页 > 其他好文 > 详细

nginx 重启错误

时间:2015-12-11 14:49:46      阅读:396      评论:0      收藏:0      [点我收藏+]

标签:

错误显示: 
1
[root@iZ941h63xkhZ ~]# service nginx restart 2 Restarting nginx (via systemctl): Job for nginx.service failed. See ‘systemctl status nginx.service‘ and ‘journalctl -xn‘ for details. 3 [FAILED]
错误报告:
[root@iZ941h63xkhZ ~]# cat /var/log/messages | grep nginx
1
Dec 11 10:32:25 iZ941h63xkhZ nginx: [FAILED] 2 Dec 11 10:32:25 iZ941h63xkhZ systemd: nginx.service: control process exited, code=exited status=1 3 Dec 11 10:32:25 iZ941h63xkhZ systemd: Unit nginx.service entered failed state. 4 Dec 11 10:34:28 iZ941h63xkhZ nginx: Starting nginx: nginx: [emerg] open() "/usr/local/nginx/conf/none.conf" failed (2: No such file or directory) in /usr/local/tengine/conf/vhost/www.***.com.conf:6

很明显:
在 /usr/local/tengine/conf/vhost/www.***.com.conf 第 6 行 发现 /usr/local/nginx/conf/none.conf 不存在

 

nginx 重启错误

标签:

原文地址:http://www.cnblogs.com/itwo/p/5038728.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!