hi guys
i have nginx on 2 servers. in one of them i'm getting the following correct output:
# netstat -tulpn | grep -e nginx
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4735/nginx
# ps aux | grep nginx
root 4735 0.0 0.0 41028 944 ? Ss Aug10 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 4736 1.8 0.0 45644 6160 ? R Aug10 177:10 nginx: worker process
However on the other I'm getting the following wrong output:
# netstat -tulpn | grep -e nginx
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7650/nginx.conf
# ps aux | grep nginx
root 7650 0.0 0.0 44632 1092 ? Ss 00:27 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 7651 0.1 0.2 48412 5552 ? S 00:27 1:04 nginx: worker process
Both servers are working fine and nginx is serving the pages without problems however I don't know why on one of my servers it is running as 'nginx.conf' when it should be running as 'nginx'
Any ideas?