• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Nginx not starting after reboot

Heppi75

Basic Pleskian
Hi,

I have a problem that nginx is not starting on reboot. I can manually start it after, but if I am out of the office and my provider is starting the server I can maybe not handle it all time.

Code:
systemd[1]: Starting Startup script for nginx service...
nginx[2642]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx[2642]: nginx: [emerg] bind() to 37.61.200.55:443 failed (99: Cannot assign requested address)
nginx[2642]: nginx: configuration file /etc/nginx/nginx.conf test failed
systemd[1]: nginx.service: control process exited, code=exited status=1
systemd[1]: Failed to start Startup script for nginx service.
systemd[1]: Unit nginx.service entered failed state.

I tried the solution on this article, but this does not solve it. Any other idea?
Nginx does not start automatically after reboot: 99: Cannot assign requested address

I am on CentOS 7.5 with Onyx 17.8.11 ...

Thanks.
 
You also tried something like in the comment from "Esoares November 10, 2017 01:39" below your referenced article? An automatic restart after 5 Seconds on any fail of the service should solve your problem.
 
Back
Top