错误显示: 1 [[email protected] ~]# 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]
错误报告:[[email protected] ~]# cat /var/log/messages | grep nginx1 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 不存在
时间: 2024-11-09 00:59:17