Welcome! Log In Create A New Profile

Advanced

Re: nginx does not start automatically, what have I done?

February 17, 2023 07:36AM
How will I be able to fix it and avoid the use of this method?

Please do help me, thanks!

From: nginx <nginx-bounces@nginx.org> on behalf of Maxim Dounin <mdounin@mdounin.ru>
Date: Friday, February 17, 2023 at 19:30
To: nginx@nginx.org <nginx@nginx.org>
Subject: Re: nginx does not start automatically, what have I done?
Hello!

On Thu, Feb 16, 2023 at 03:13:59PM +0000, nginx@onekarlo.com wrote:

> Thanks for replying. I appreciate the thorough response!
> I found the solution online.
> And it worked!
>
> nano /etc/sysctl.conf # allow processes to bind to the non-local address net.ipv4.ip_nonlocal_bind = 1
> sysctl -p /etc/sysctl.conf
>
> What do you think about it?

It should work around the issue, though the obvious downside is
that the whole system will not be able to detect real errors, such
as mistyped local addresses.

A better solution might be to ensure proper startup order. This
should also fix other potential issues, such as non-working DNS
resolution during nginx startup.

On the other hand, if it works for you, it's probably good enough.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx does not start automatically, what have I done?

AdventureTime February 16, 2023 02:46AM

Re: nginx does not start automatically, what have I done?

Maxim Dounin February 16, 2023 09:20AM

Re: nginx does not start automatically, what have I done?

AdventureTime February 16, 2023 10:16AM

Re: nginx does not start automatically, what have I done?

Maxim Dounin February 17, 2023 06:32AM

Re: nginx does not start automatically, what have I done?

AdventureTime February 17, 2023 07:36AM

Re: nginx does not start automatically, what have I done?

Maxim Dounin February 17, 2023 08:06AM

Re: nginx does not start automatically, what have I done?

AdventureTime February 17, 2023 08:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 289
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