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 2
amigan_99Network EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.