Welcome! Log In Create A New Profile

Advanced

nginx running as nginx.conf

August 17, 2012 12:18PM
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?
Subject Author Posted

nginx running as nginx.conf

theguy August 17, 2012 12:18PM

Re: nginx running as nginx.conf

magicdrums August 17, 2012 12:33PM

Re: nginx running as nginx.conf

theguy August 17, 2012 12:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready