From owner-freebsd-apache@FreeBSD.ORG Wed Jun 1 09:14:17 2011 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EBBD106566B for ; Wed, 1 Jun 2011 09:14:17 +0000 (UTC) (envelope-from nick.rosier@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF668FC17 for ; Wed, 1 Jun 2011 09:14:16 +0000 (UTC) Received: by pvg11 with SMTP id 11so3055474pvg.13 for ; Wed, 01 Jun 2011 02:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZCWIv2EDQY8pK/VFBOPVVx1tA3nrNz2GeX9n1e/UDa0=; b=O5XdX9OKnZnYV0HF/R+tF3vdatnwfz7lFRgJ0CsODZIfko+yUwnAVLQVsml759SPsn BZ9HQy1PQj+g6GmW2zO6JXQU2swtGGHWFJRZuJm/zgc6Mlry80gMu168K+WKrqgt++YE 5ZKErkjgH6vYQt68YT7MDELh0IO8LqMFW9OHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rbJ2x8S/EAYXGkqw5u8ab95qepS8AuCk5ivs2Y48/hYSbzm24DLa8k9JyQoBXWKUr4 3y9JwVYXlCm6p347akcuEsKe2NOMKaXkj5djn+9aU7xXTyNND8HcKiH9KJRaoB6w96a3 NcIIjz38rpucn3veAyVJWmi5fq/69D2ZUjNBU= MIME-Version: 1.0 Received: by 10.68.5.233 with SMTP id v9mr2708244pbv.215.1306919656791; Wed, 01 Jun 2011 02:14:16 -0700 (PDT) Received: by 10.68.64.133 with HTTP; Wed, 1 Jun 2011 02:14:16 -0700 (PDT) In-Reply-To: <4DE556DA.6000007@FreeBSD.org> References: <20110525181709.GA45908@icarus.home.lan> <4DE556DA.6000007@FreeBSD.org> Date: Wed, 1 Jun 2011 11:14:16 +0200 Message-ID: From: Nick Rosier To: ohauer@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-apache@freebsd.org Subject: Re: IPv6 broken with Apache 2.2.19 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 09:14:17 -0000 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 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 *:* >