Under review

Configuration Ok but Fails to Start

Crazy Raisin 7 років тому оновлений 7 років тому 2
I am not sure why this is happening:

[root@server ~]# service nginx restart
Checking configuration of nginx: [FAILED]
[root@server ~]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

Also Ajenti shows that Nginx failed to bind to port
[root@server ~]# netstat -tnlp | grep 80
tcp 0 0* LISTEN 6874/python
tcp 0 0* LISTEN 8375/nginx
[root@server ~]#