Web-servers won't start, if host system doesn't support ipv6

Andrew V. Petrov добавил(а) 2 года назад

Use case: one domain to serve php-5.4-fpm, other using native.

following the guide at (1), installed alternative php versions of 5.4

Web-services won't start because of disabled ipv6 support on host:

$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.16.0-9-amd64 root=/dev/mapper/rootfs ro ipv6.disable=1 quiet

when I comment out "listen [::]:80" derective, it appeared there again after web-server reconfigure (2)

$ grep listen /etc/nginx/nginx.conf
# listen [::]:80;
listen 80;
listen [::]:80;
It seems that module webreconfigure of mgrctl doesn't check if host system supports ipv6, it should check for such matters.

(1) https://docs.ispsystem.com/ispmanager-lite/php/how-to-set-and-change-a-php-version

(2) https://docs.ispsystem.com/ispmanager-lite/configuration/web-server-configuration#Web-serverconfiguration-Re-configuringweb-server