httpd-2.4.41 Linux 5.3.2-300.fc30.x86_64 RestrictAddressFamilies=AF_INET AF_INET6 AF_LOCAL AF_UNIX for years i had ipv6 completly disabled and also most services explicit bound to 0.0.0.0 and now while preparing dual-stack for next year httpd turns out to be problematic --------------------------- sysctl.conf to disable ipv6 for now unchanged: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 --------------------------- Listen 80 Listen 443 [root@srv-rhsoft:~]$ netstat -l | grep httpd tcp6 0 0 :::443 :::* LISTEN 779331/httpd tcp6 0 0 :::80 :::* LISTEN 779331/httpd [Fri Oct 04 15:44:17.725896 2019] [core:warn] [pid 779331] (99)Cannot assign requested address: AH00056: connect to listener on [::]:80 [Fri Oct 04 15:44:18.726902 2019] [core:warn] [pid 779331] (99)Cannot assign requested address: AH00056: connect to listener on [::]:80 [Fri Oct 04 15:44:19.727874 2019] [core:warn] [pid 779331] (99)Cannot assign requested address: AH00056: connect to listener on [::]:80 [Fri Oct 04 15:44:20.728905 2019] [core:warn] [pid 779331] (99)Cannot assign requested address: AH00056: connect to listener on [::]:80 [Fri Oct 04 15:44:21.730132 2019] [core:warn] [pid 779331] (99)Cannot assign requested address: AH00056: connect to listener on [::]:80 [Fri Oct 04 15:44:22.730923 2019] [core:warn] [pid 779331] (99)Cannot assign requested address: AH00056: connect to listener on [::]:80 --------------------------- Listen 0.0.0.0:80 Listen 0.0.0.0:443 [root@srv-rhsoft:~]$ netstat -l | grep httpd tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 788681/httpd tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 788681/httpd everything is fine as all the years before ---------------------------
forgot to mention: that happens only under load
RestrictAddressFamilies=AF_INET AF_INET6 AF_LOCAL AF_UNIX Remove it and try again.
(In reply to Reindl Harald from comment #1) > forgot to mention: that happens only under load Probably you're just running out of ports then.
it's ineed the combination of "RestrictAddressFamilies=AF_INET AF_INET6 AF_LOCAL AF_UNIX" with "Listen 80" instead of "Listen 0.0.0:80" and i don't get why i should run out of ports just because of ":::80" versus "0 0.0.0.0:80"