Hello, > On 31 Jul 2017, at 03:57, Raymundo Ramirez Mata <[email protected]> > 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 [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
