Forum: NGINX on-the-fly conf reload retrieves errors

Posted by Lorenzo Raffio (Guest)
on 2012-12-30 21:34
(Received via mailing list)
I tried to run a "nginx -c /etc/nginx/nginx.conf" but I got:
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[Exit 1]

Then I run a fuser -k 80/tcp ; service nginx restart. I tried again with
nginx -c /etc/nginx/nginx.conf but still the same [emerg] bind() to
0.0.0.0:80 failed (98: Address already in use)

Why is this happening?
Posted by Lorenzo Raffio (Guest)
on 2012-12-30 21:59
(Received via mailing list)
Ignore, I found the explanation
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.