Nginx FAILED


(luiz felipe) #1

Good Day, I found the following error when I ran the command "sudo service
nginx restart".

Stopping the nginx: [FAILED]
Starting nginx: nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address
already in use)
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] Still Could Not bind ()

would be grateful for the answer

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2f954306-3759-4eca-a90a-f916448df6a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

Sounds like it's the wrong mailing list.

Try may be to kill the ngnix process?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 11 mars 2015 à 06:27, luiz felipe luizfelipekap@gmail.com a écrit :

Good Day, I found the following error when I ran the command "sudo service nginx restart".

Stopping the nginx: [FAILED]
Starting nginx: nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)
nginx: [emerg] Still Could Not bind ()

would be grateful for the answer

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2f954306-3759-4eca-a90a-f916448df6a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/D1C7CA24-C446-4329-AE23-4FDF3006F051%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.


(wonderwhy) #3

The issue is that nginx will fail to start if elasticsearch is already started. If I stop elasticsearch then nginx will start.


(system) #4