Control Web Panel

WebPanel => CentOS 8 Problems => Topic started by: PRR on March 05, 2023, 04:54:07 PM

Title: nginx won't start after server reboot
Post by: PRR on March 05, 2023, 04:54:07 PM
I was having this issue about nginx won't start after server reboot.
Running CentOS 8 Stream with latest CWP Control Panel software.
Couldn't find any help in CWP Forums.
Here is how I fixed that issue by searching Google.

1.nginx error.log was:
nginx bind xxx.xxx.xxx.xx failed (99: Cannot assign requested address)

2. Need to edit:
/etc/sysctl.conf

Add:
net.ipv4.ip_nonlocal_bind = 1

3. Reload systctl:
sysctl -p /etc/sysctl.conf

Now after rebooting server, nginx loads fine..

:)
Title: Re: nginx won't start after server reboot
Post by: overseer on March 06, 2023, 06:52:11 AM
But did you fix this problem:
Running CentOS 8 Stream with latest CWP Control Panel software.