Nginx will not start

Posted by user2426362 on Ask Ubuntu See other posts from Ask Ubuntu or by user2426362
Published on 2013-07-03T09:55:44Z Indexed on 2013/07/03 11:18 UTC
Read the original article Hit count: 452

Filed under:

I'm trying to run service nginx restart but I get this error:

root@user /etc/nginx/sites-enabled # service nginx restart
Restarting nginx: 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()
nginx.

How can I fix this problem? I'm also running apache.

© Ask Ubuntu or respective owner

Related posts about nginx