<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>Hello everyone, <br></div><div><br></div><div>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.<br></div><div><br></div><div>Just removing the new snippet fixed my issue</div><div><br></div><div class="zmail_extra"><div id="Zm-_Id_-Sgn1"><div><br></div><div>---- On Mon, 31 Jul 2017 17:49:24 -0500 <b>Ekaterina Kukushkina <ek@nginx.com></b> wrote ----<br></div></div><div><br></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div><div>Hello, <br></div><div> <br></div><div>> On 31 Jul 2017, at 03:57, Raymundo Ramirez Mata <<a href="mailto:rramirezm@hatandslash.com">rramirezm@hatandslash.com</a>> wrote: <br></div><div>> <br></div><div>> Hi, <br></div><div>> <br></div><div>> 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 <br></div><div>> <br></div><div>> sudo nginx I get: <br></div><div>> <br></div><div>> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) <br></div><div>> nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) <br></div><div>> <br></div><div>> Reading some answers I looked for who is using those ports but only nginx appers using it. <br></div><div> <br></div><div>Please check /etc/nginx/conf.d/default.conf <br></div><div>If this file is missing before upgrade, it will be installed <br></div><div>And it can cause mentioned problem. <br></div><div> <br></div><div>Try to comment out its content and restart nginx again. <br></div><div> <br></div><div> <br></div><div>-- <br></div><div>Ekaterina Kukushkina <br></div><div>_______________________________________________ <br></div><div>nginx mailing list <br></div><div><a href="mailto:nginx@nginx.org">nginx@nginx.org</a> <br></div><div><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a> <br></div></div></blockquote></div><div><br></div></div></body></html>