Quote:
Originally Posted by berndbausch
It would be great if you posted a few more details, such as error messages.
|
I had a look at Syslog and this is what it says:
Code:
Apr 8 18:07:49 localhost nginx[681]: nginx: [emerg] bind() to [RemovedIPV6]:80 failed (99: Cannot assign requested address)
Apr 8 18:07:49 localhost nginx[681]: nginx: configuration file /etc/nginx/nginx.conf test failed
Apr 8 18:07:49 localhost systemd[1]: nginx.service: Control process exited, code=exited status=1
Apr 8 18:07:49 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Apr 8 18:07:49 localhost systemd[1]: nginx.service: Unit entered failed state.
Apr 8 18:07:49 localhost systemd[1]: nginx.service: Failed with result 'exit-code'.
Just to confirm that binding to IPv6 is the issue, I removed that part from the configuration file and it worked perfectly. It looks like the IPv6 address isn't available even when Systemd reaches the "Network is Online" target.
I guess I could roll without IPv6 but I'm still curious about why it isn't available during boot.
Thanks for responding.