Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@THANG4 home]# systemctl status nginx.service -l
- ● nginx.service - nginx - high performance web server
- Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
- Active: failed (Result: exit-code) since Thu 2018-01-04 16:03:53 +07; 2min 28s ago
- Docs: http://nginx.org/en/docs/
- Process: 13952 ExecStop=/bin/kill -s QUIT $MAINPID (code=exited, status=0/SUCCESS)
- Process: 12498 ExecReload=/bin/kill -s HUP $MAINPID (code=exited, status=0/SUCCESS)
- Process: 10387 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
- Process: 14271 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
- Main PID: 10390 (code=exited, status=0/SUCCESS)
- Jan 04 16:03:53 THANG4 systemd[1]: Starting nginx - high performance web server...
- Jan 04 16:03:53 THANG4 nginx[14271]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
- Jan 04 16:03:53 THANG4 nginx[14271]: nginx: [emerg] open() "/home/incardvisit.comm/logs/access.log" failed (2: No such file or directory)
- Jan 04 16:03:53 THANG4 nginx[14271]: nginx: configuration file /etc/nginx/nginx.conf test failed
- Jan 04 16:03:53 THANG4 systemd[1]: nginx.service: control process exited, code=exited status=1
- Jan 04 16:03:53 THANG4 systemd[1]: Failed to start nginx - high performance webserver.
- Jan 04 16:03:53 THANG4 systemd[1]: Unit nginx.service entered failed state.
- Jan 04 16:03:53 THANG4 systemd[1]: nginx.service failed.
- [root@THANG4 home]# nginx -t
- nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
- nginx: [emerg] open() "/home/incardvisit.comm/logs/access.log" failed (2: No such file or directory)
- nginx: configuration file /etc/nginx/nginx.conf test failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement