How to start nGinx?

Preious regime created a reverse proxy on Ubuntu 10.  When it had to be rebooted for maintenance none of the reverse proxy function worked any more.  I believe it is using nginx to do the reverse proxy as they used that most of the time on their other ubuntu host for web services.  How can I start up nginx and verify that that it is mechanism that had been doing the reverse proxying?  It was taking traffic at 443 and forwarding to 80.  Thanks.
LVL 1
amigan_99Network EngineerAsked:
Who is Participating?
 
Kerem ERSOYPresidentCommented:
Hi,

Normally nginix starts automatically. But if you want to manually start and stop it you would use tihs script:

/etc/init.d/nginx. start

/etc/init.d/nginx stop

if you can't get it started please post related lines form

/var/log/messages

and also

netstat -anpt

output here.

Cheers,
K.

0
 
amigan_99Network EngineerAuthor Commented:
Thank you very much for the recipe to get this going on startup (which the original admins should have done.)  For the time being I was able to get it working properly via manual restart:  

sudo ./usr/local/nginx/sbin/nginx

When the furor dies down I'll put in the auto start like it should be.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.