Nginx startup script
-
Olly,
For some reason my nginx is not starting automatically after I do a boot on server.
Also I found that the n2r command only stop the server but it doesn't start. After
I manually start the server by typing sudo /etc.... nginx starts and even n2r command works afterward.Any idea ?
Posted 1 year ago # -
hi Atif, don't suppose by any chance you missed implementing the startup hooks?
try:-
sudo /usr/sbin/update-rc.d -f nginx defaults
what Linux distro are you using?
Posted 1 year ago # -
Hi,
I having the same problem. I followed exactly the lessons as listed on this site, but when I typed in the following command, i.e.
sudo /etc/init.d/nginx start
on my Putty and found that Nginx web server not only be started, and nothing shown on my IP when I open my browser.By the way, I am using Ubuntu Hardy & Nginx-0.7.65.
Meanwhile, I also manually boot my Linode. On my Putty, I also tried:
cd ~/sources/
cd nginx-0.7.65
as well as
sudo /etc/init.d/nginx start
but it said: command not found.Guv, please help! and many thanks.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
