Hello everyone, 


I forgot to mention that I also installed the nginx plugin for certbot.  Looks 
like when configuring the server block, it added 3 snippets, on of them was for 
nginx ssl configuration options, some of the I was already adding them double 
the listeners on the ssl port.



Just removing the new snippet fixed my issue




---- On Mon, 31 Jul 2017 17:49:24 -0500 Ekaterina Kukushkina 
<e...@nginx.com> wrote ----




Hello, 

 

> On 31 Jul 2017, at 03:57, Raymundo Ramirez Mata 
<rramir...@hatandslash.com> wrote: 

> 

> Hi, 

> 

> My nginx has stopped working, I upgraded and updated today, also purged 
mysql and installed mariadb, so I don't know what might broke it. when i run 

> 

> sudo nginx I get: 

> 

> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) 

> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) 

> 

> Reading some answers I looked for who is using those ports but only nginx 
appers using it. 

 

Please check /etc/nginx/conf.d/default.conf 

If this file is missing before upgrade, it will be installed 

And it can cause mentioned problem. 

 

Try to comment out its content and restart nginx again. 

 

 

-- 

Ekaterina Kukushkina 

_______________________________________________ 

nginx mailing list 

nginx@nginx.org 

http://mailman.nginx.org/mailman/listinfo/nginx 






_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to