Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2011 11:14:16 +0200
From:      Nick Rosier <nick.rosier@gmail.com>
To:        ohauer@freebsd.org
Cc:        freebsd-apache@freebsd.org
Subject:   Re: IPv6 broken with Apache 2.2.19
Message-ID:  <BANLkTin2pZ0BMPkMZxjCn-FxbmFef9-yZg@mail.gmail.com>
In-Reply-To: <4DE556DA.6000007@FreeBSD.org>
References:  <BANLkTin77yrnV_CJygm9huFOYZZxKS=QUQ@mail.gmail.com> <20110525181709.GA45908@icarus.home.lan> <BANLkTikzDPv1mYk4FCzxZxc0gozbb-kbTQ@mail.gmail.com> <4DE556DA.6000007@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> # ifconfig | grep inet
> =A0inet 172.1.1.40 netmask 0xffffff00 broadcast 172.1.1.255
> =A0inet6 2001:471:1f11:251:290:27ff:fee0:2100 prefixlen 64
> =A0inet 172.1.1.42 netmask 0xffffffff broadcast 172.1.1.42
> =A0inet6 2001:471:1f11:251:290:27ff:fee0:2110 prefixlen 128
> =A0inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
> =A0inet6 ::1 prefixlen 128
> =A0inet 127.0.0.1 netmask 0xff000000
>
>
> Inside jail:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
>
> # 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.1=
9
> OpenSSL/0.9.8q DAV/2 configured -- resuming normal operations
>
> # sockstat -4 |grep http
> www =A0 =A0 =A0httpd =A0 =A0 =A017050 3 =A0tcp4 =A0 172.1.1.42:80 =A0 =A0=
 =A0 =A0 *:*
> www =A0 =A0 =A0httpd =A0 =A0 =A017049 3 =A0tcp4 =A0 172.1.1.42:80 =A0 =A0=
 =A0 =A0 *:*
> www =A0 =A0 =A0httpd =A0 =A0 =A017048 3 =A0tcp4 =A0 172.1.1.42:80 =A0 =A0=
 =A0 =A0 *:*
> www =A0 =A0 =A0httpd =A0 =A0 =A017047 3 =A0tcp4 =A0 172.1.1.42:80 =A0 =A0=
 =A0 =A0 *:*
> www =A0 =A0 =A0httpd =A0 =A0 =A017046 3 =A0tcp4 =A0 172.1.1.42:80 =A0 =A0=
 =A0 =A0 *:*
> root =A0 =A0 httpd =A0 =A0 =A017044 3 =A0tcp4 =A0 172.1.1.42:80 =A0 =A0 =
=A0 =A0 *:*
>
> # sockstat -6 |grep http
> www =A0 =A0 =A0httpd =A0 =A0 =A017050 4 =A0tcp6 =A0 2001:471:1f11:251:290=
:27ff:fee0:2110:80 *:*
> www =A0 =A0 =A0httpd =A0 =A0 =A017049 4 =A0tcp6 =A0 2001:471:1f11:251:290=
:27ff:fee0:2110:80 *:*
> www =A0 =A0 =A0httpd =A0 =A0 =A017048 4 =A0tcp6 =A0 2001:471:1f11:251:290=
:27ff:fee0:2110:80 *:*
> www =A0 =A0 =A0httpd =A0 =A0 =A017047 4 =A0tcp6 =A0 2001:471:1f11:251:290=
:27ff:fee0:2110:80 *:*
> www =A0 =A0 =A0httpd =A0 =A0 =A017046 4 =A0tcp6 =A0 2001:471:1f11:251:290=
:27ff:fee0:2110:80 *:*
> root =A0 =A0 httpd =A0 =A0 =A017044 4 =A0tcp6 =A0 2001:471:1f11:251:290:2=
7ff:fee0:2110:80 *:*
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTin2pZ0BMPkMZxjCn-FxbmFef9-yZg>