tags:

views:

237

answers:

3

We are running into the following error when we try to start Nginx (on Ubuntu) "" Starting nginx "/usr/local/nginx/on" "No such file or directory" ""

It started showing up all of a sudden.

Did anyone run into this scenario? Any pointers?

Thanks in advance

A: 

It doesn't seem you are running the Nginx provided by apt-get because that one would be started with "sudo /usr/sbin/nginx". Is you nginx binary really placed in "/usr/local/nginx/on"? Where did you get it from in this form?

Frank Malina
A: 

I've got nginx installed on my Ubuntu server, and there's no /usr/local/nginx/on.

I start it with /etc/init.d/nginx on.

Alister Bulman
A: 

you just need co create directory /usr/local/nginx writable to nginx process

ziew