Welcome! Log In Create A New Profile

Advanced

Re: Nginx Address is already in use

Ekaterina Kukushkina
July 31, 2017 06:50PM
Hello,

> On 31 Jul 2017, at 03:57, Raymundo Ramirez Mata <rramirezm@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
Subject Author Posted

Nginx Address is already in use

Raymundo Ramirez Mata July 30, 2017 08:58PM

Re: Nginx Address is already in use

spectre inc July 30, 2017 09:30PM

Re: Nginx Address is already in use

Raymundo Ramirez Mata July 30, 2017 09:34PM

Re: Nginx Address is already in use

spectre inc July 30, 2017 09:36PM

Re: Nginx Address is already in use

spectre inc July 30, 2017 09:42PM

Re: Nginx Address is already in use

Raymundo Ramirez Mata July 30, 2017 09:46PM

Re: Nginx Address is already in use

spectre inc July 30, 2017 09:50PM

Re: Nginx Address is already in use

Igal @ Lucee.org July 30, 2017 11:40PM

Re: Nginx Address is already in use

Fabian A. Santiago July 30, 2017 11:46PM

Re: Nginx Address is already in use

Ekaterina Kukushkina July 31, 2017 06:50PM

Re: Nginx Address is already in use

Raymundo Ramirez Mata July 31, 2017 11:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready