Yes, I'm binding to a specific IPv6 address. I tried your suggestion but
it didn't help.
# cat /etc/systemd/system/nginx.service.d/override.conf
[Unit]
After=network-online.target
Wants=network-online.target
After reboot, still:
# service nginx status
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset:
enabled)
Drop-In: /etc/systemd/system/nginx.service.d
└─override.conf
Active: failed (Result: exit-code) since Tue 2018-08-14 22:01:39 UTC; 7s ago
Docs: man:nginx(8)
Process: 638 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process
on; (code=exited, status=1/FAILURE)
Aug 14 22:01:39 ultima systemd[1]: Starting A high performance web server and a
reverse proxy server...
Aug 14 22:01:39 ultima nginx[638]: nginx: [emerg] bind() to [xxx::3]:80 failed
(99: Cannot assign requested address)
Aug 14 22:01:39 ultima nginx[638]: nginx: configuration file
/etc/nginx/nginx.conf test failed
Aug 14 22:01:39 ultima systemd[1]: nginx.service: Control process exited,
code=exited status=1
Aug 14 22:01:39 ultima systemd[1]: nginx.service: Failed with result
'exit-code'.
Aug 14 22:01:39 ultima systemd[1]: Failed to start A high performance web
server and a reverse proxy server.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1786974
Title:
Nginx is starting before IPv6 address is ready
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1786974/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs