Under review

Configuration Ok but Fails to Start

Crazy Raisin 8 years ago updated 8 years ago 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
Under review
See which process took the port with netstat -tnlp | grep 80
[root@server ~]# netstat -tnlp | grep 80
tcp 0 0* LISTEN 6874/python
tcp 0 0* LISTEN 8375/nginx
[root@server ~]#