Hello, it is my first time posting here, and I appreciate the opportunity to share my experience with nginx.

 

Just to give you background, I am using a VPS from Racknerd, and I use CWP (Control Web Panel), which is pretty similar to cPanel.

 

I tried to update the repo and use dnf upgrade -y, and what happened was, after restarting the server, nginx did not start automatically.

 

Here is the log of nginx:

 

● nginx.service - The nginx HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2023-02-15 17:29:03 EST; 7h ago
  Process: 779 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
  Process: 776 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)

Feb 15 17:29:02 racknerd-f5**** systemd[1]: Starting The nginx HTTP and reverse proxy server...
Feb 15 17:29:02 racknerd-f5**** nginx[779]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Feb 15 17:29:03 racknerd-f5**** nginx[779]: nginx: [emerg] bind() to 100.xx.xx.xx:80 failed (99: Cannot assign requested address)
Feb 15 17:29:03 racknerd-f5**** nginx[779]: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 15 17:29:03 racknerd-f5**** systemd[1]: nginx.service: Control process exited, code=exited status=1
Feb 15 17:29:03 racknerd-f5**** systemd[1]: nginx.service: Failed with result 'exit-code'.
Feb 15 17:29:03 racknerd-f5**** systemd[1]: Failed to start The nginx HTTP and reverse proxy server.

 

The solution is to manually start nginx after a minute or two.

 

Thanks!

_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to