• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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