I have upgraded my nginx server from 1.1.19 to 1.8.0 using this tutorial.

My website is still working. So I thought, that everything was ok. I have made a google pagespeed test, and showed me that gzip was't on. But it was on.

I tried to reload nginx with this command sudo service nginx reload but got this message

reload: not running

Stop nginx seems also not to work.

What does this mean, what do I have to check or to change?

I'm on Ubuntu 12.04.

As @ahmed-i suggested here is the output of ps -ef|grep nginx:

www-data 15782     1  0 May11 ?        00:00:51 nginx: worker process
www-data 15783     1  0 May11 ?        00:00:56 nginx: worker process
www-data 15784     1  0 May11 ?        00:00:55 nginx: worker process
root     25396 23725  0 13:36 pts/1    00:00:00 nano /etc/nginx/nginx.conf.1.1.19.backup

root     30204 25115  0 14:40 pts/0    00:00:00 grep --color=auto nginx

This means that latest Nginx might have been installed on some other location.

paste the output of below command

ps -ef|grep nginx

|improve this answer|||||
  • I'have updated the question. – alisia123 May 12 '15 at 12:43
  • any suggestions? – alisia123 May 13 '15 at 7:17
  • from that command output it seems like nginx master process is already died but chile processes are running. Just kill those processes (15783,15784,15782) and then restart nginx once – serverliving.com May 13 '15 at 7:44
  • I have restarted the ubuntu server, but the problem is still there – alisia123 May 13 '15 at 8:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.