标签:
错误显示:
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 不存在
标签:
原文地址:http://www.cnblogs.com/itwo/p/5038728.html