Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 57507 invoked from network); 17 Aug 2010 09:09:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Aug 2010 09:09:24 -0000 Received: (qmail 68517 invoked by uid 500); 17 Aug 2010 09:09:21 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 68301 invoked by uid 500); 17 Aug 2010 09:09:18 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 68293 invoked by uid 99); 17 Aug 2010 09:09:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 09:09:17 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 09:09:12 +0000 Received: by bwz2 with SMTP id 2so3939614bwz.18 for ; Tue, 17 Aug 2010 02:08:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.79.223 with SMTP id q31mr4169545bkk.92.1282036131051; Tue, 17 Aug 2010 02:08:51 -0700 (PDT) Received: by 10.204.123.201 with HTTP; Tue, 17 Aug 2010 02:08:51 -0700 (PDT) Date: Tue, 17 Aug 2010 11:08:51 +0200 Message-ID: From: Norman Khine To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [users@httpd] apache mod_unique configuration issue - Name or service not known hello, i have the following setup: loadbalancer - 192.168.1.10 server-2 - 192.168.1.12 it is a gentoo machine. # apache2 -v Server version: Apache/2.2.15 (Unix) Server built: Aug 12 2010 10:07:12 server2 has the following configuration # cat /etc/conf.d/net http://pastie.org/1097227 when i enable mod_unique in # vim /etc/apache2/httpd.conf ... LoadModule unique_id_module modules/mod_unique_id.so i get these errors in : # tail -f /var/log/apache2/error_log [Tue Aug 17 09:41:47 2010] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "server-2.local.net" Configuration Failed [Tue Aug 17 09:47:10 2010] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "server-2.local.net" Configuration Failed # hostname server-2.local # # cat /etc/hosts 127.0.0.1 localhost server-2.local 192.168.1.12 server-2.local # IPV6 versions of localhost and co ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 127.0.0.1 localhost server-2.local the problem seems to be with the hostname somewhere but i can't really see what i have done wrong. the reason is that even if i disable the mod_unique on the httpd.conf module, i get these warning when i visit: http://192.168.1.12 - this is the actual server IP address [Tue Aug 17 11:03:09 2010] [error] [client 203.XXX.XXX.XXX] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.test0:) but i don't get this errors when i access the site via the balancer nor the alias IP's. any help much appreciated. norman --=20 =CB=99u=CA=8Dop =C7=9Dp=C4=B1sdn p,u=C9=B9n=CA=87 p=D7=9F=C9=B9o=CA=8D =C7= =9D=C9=A5=CA=87 =C7=9D=C7=9Ds no=CA=8E '=CA=87u=C7=9D=C9=AF=C9=90=D7=9F s= =C7=9D=C9=AF=C4=B1=CA=87 =C7=9D=C9=A5=CA=87 pu=C9=90 '=CA=87u=C7=9D=CA=87uo= =C9=94 =C7=9Dq s,=CA=87=C7=9D=D7=9F =CA=87=C7=9D=CA=8E %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] ) --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org