Author Topic: nginx does not start automatically after dnf update.  (Read 2043 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
nginx does not start automatically after dnf update.
« on: July 21, 2022, 11:36:45 AM »
Hello,

I just did
Code: [Select]
dnf update then
Code: [Select]
shutdown -r now and now nginx does not start automatically.

Code: [Select]
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 2022-07-20 23:59:59 EDT; 7h ago
  Process: 790 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
  Process: 788 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)

Jul 20 23:59:58 racknerd-f58864 systemd[1]: Starting The nginx HTTP and reverse proxy server...
Jul 20 23:59:59 racknerd-f58864 nginx[790]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Jul 20 23:59:59 racknerd-f58864 nginx[790]: nginx: [emerg] bind() to 100.*.*.*:80 failed (99: Cannot assign requested address)
Jul 20 23:59:59 racknerd-f58864 nginx[790]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jul 20 23:59:59 racknerd-f58864 systemd[1]: nginx.service: Control process exited, code=exited status=1
Jul 20 23:59:59 racknerd-f58864 systemd[1]: nginx.service: Failed with result 'exit-code'.
Jul 20 23:59:59 racknerd-f58864 systemd[1]: Failed to start The nginx HTTP and reverse proxy server.

Is it because I recently requested activation of my IPv6 address?
But when I manually start nginx, it works.

I hope you can help me.

Thanks!