IPv6 broken with Apache 2.2.19

Nick Rosier nick.rosier at gmail.com
Wed Jun 1 09:14:17 UTC 2011


I have 2 jails on the same system that experience the same problem;
other services are running just fine on IPv6 in those same jails so
I'm completely puzzled.

N.

On 31 May 2011 23:00, Olli Hauer <ohauer at freebsd.org> wrote:
>
>
> Strange ...
>
> I just found the time to setup a ipv6 jail with current
> apache-2.2.19 and apr-ipv6-devrandom-gdbm-db47-1.4.5.1.3.12
> on a 8.2-amd62 machine and see no issues.
>
> Host:
> =========================
> # ifconfig | grep inet
>  inet 172.1.1.40 netmask 0xffffff00 broadcast 172.1.1.255
>  inet6 2001:471:1f11:251:290:27ff:fee0:2100 prefixlen 64
>  inet 172.1.1.42 netmask 0xffffffff broadcast 172.1.1.42
>  inet6 2001:471:1f11:251:290:27ff:fee0:2110 prefixlen 128
>  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
>  inet6 ::1 prefixlen 128
>  inet 127.0.0.1 netmask 0xff000000
>
>
> Inside jail:
> =========================
>
> # ifconfig | grep inet
> inet 172.1.1.42 netmask 0xffffffff broadcast 172.1.1.42
> inet6 2001:471:1f11:251:290:27ff:fee0:2110 prefixlen 128
>
>
> # grep -i listen httpd.conf
> Listen 172.1.1.42:80
> Listen [2001:471:1f11:251:290:27ff:fee0:2110]:80
>
> # apachectl start
> # tail /var/log/httpd-error.log
> [Tue May 31 20:44:25 2011] [warn] Init: Session Cache is not configured [hint:
> SSLSessionCache]
> [Tue May 31 20:44:25 2011] [alert] (EAI 8)hostname nor servname provided, or not
> known: mod_unique_id: unable to find IPv4 address of "ip6.example.com"
> [Tue May 31 20:44:25 2011] [alert] mod_unique_id: using low-order bits of IPv6
> address as if they were unique
> [Tue May 31 20:44:26 2011] [notice] Digest: generating secret for digest
> authentication ...
> [Tue May 31 20:44:26 2011] [notice] Digest: done
> [Tue May 31 20:44:26 2011] [alert] (EAI 8)hostname nor servname provided, or not
> known: mod_unique_id: unable to find IPv4 address of "ip6.example.com"
> [Tue May 31 20:44:26 2011] [alert] mod_unique_id: using low-order bits of IPv6
> address as if they were unique
> [Tue May 31 20:44:27 2011] [notice] Apache/2.2.19 (FreeBSD) mod_ssl/2.2.19
> OpenSSL/0.9.8q DAV/2 configured -- resuming normal operations
>
> # sockstat -4 |grep http
> www      httpd      17050 3  tcp4   172.1.1.42:80         *:*
> www      httpd      17049 3  tcp4   172.1.1.42:80         *:*
> www      httpd      17048 3  tcp4   172.1.1.42:80         *:*
> www      httpd      17047 3  tcp4   172.1.1.42:80         *:*
> www      httpd      17046 3  tcp4   172.1.1.42:80         *:*
> root     httpd      17044 3  tcp4   172.1.1.42:80         *:*
>
> # sockstat -6 |grep http
> www      httpd      17050 4  tcp6   2001:471:1f11:251:290:27ff:fee0:2110:80 *:*
> www      httpd      17049 4  tcp6   2001:471:1f11:251:290:27ff:fee0:2110:80 *:*
> www      httpd      17048 4  tcp6   2001:471:1f11:251:290:27ff:fee0:2110:80 *:*
> www      httpd      17047 4  tcp6   2001:471:1f11:251:290:27ff:fee0:2110:80 *:*
> www      httpd      17046 4  tcp6   2001:471:1f11:251:290:27ff:fee0:2110:80 *:*
> root     httpd      17044 4  tcp6   2001:471:1f11:251:290:27ff:fee0:2110:80 *:*
>


More information about the freebsd-apache mailing list