Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 94937 invoked from network); 26 May 2008 07:56:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 May 2008 07:56:58 -0000 Received: (qmail 36678 invoked by uid 500); 26 May 2008 07:56:58 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 35917 invoked by uid 500); 26 May 2008 07:56:56 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 35906 invoked by uid 99); 26 May 2008 07:56:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 00:56:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 May 2008 07:55:59 +0000 Received: (qmail 94771 invoked by uid 2161); 26 May 2008 07:56:20 -0000 Received: from [192.168.2.4] (euler.heimnetz.de [192.168.2.4]) by cerberus.heimnetz.de (Postfix on SuSE Linux 7.0 (i386)) with ESMTP id 4985C1721C for ; Mon, 26 May 2008 09:55:59 +0200 (CEST) Message-ID: <483A6D16.2050201@apache.org> Date: Mon, 26 May 2008 09:56:06 +0200 From: Ruediger Pluem User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: Apache 2.2.8 on solaris 10 in chroot problem References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 05/26/2008 03:53 AM, Justin Maguire wrote: >> Hello All, >> >> I tried the user list, but didnt seem to get any help for this issue. I am >> currently in the process of upgrading from Apache/2.0.63 (Unix) to >> Apache/2.2.8(Unix)to take advantage of mem caching. But when I complie and >> run the Apache 2.2.8 I am facing two issues that I believe are related to a >> lib that maybe missing or incorrect(cant seem to find it). >> >> First is the virutal host configs are skipped due to an error on start up: >> [Fri May 23 05:48:00 2008] [error] (EAI 8)node name or service name not >> known: Could not resolve host name 10.25.9.193 -- ignoring! >> [Fri May 23 05:48:00 2008] [error] (EAI 8)node name or service name not >> known: Could not resolve host name 10.25.9.193 -- ignoring! >> >> Second is the proxy returns a DNS error in the rror logs with a 502 HTTP >> response. >> [Fri May 23 05:51:01 2008] [notice] Apache/2.2.8 (Unix) configured -- >> resuming normal operations >> [Fri May 23 05:51:08 2008] [error] [client 10.25.91.59] proxy: DNS lookup >> failure for: 10.25.9.191 returned by /test/ >> >> The below configure script works on 2.0.63 but not 2.2.8: >> ./configure --with-mpm=worker --disable-cgid --enable-info --enable-proxy >> --enable-rewrite --enable-mem-cache --enable-disk-cache --enable-cache >> --enable-expires >> chroot home /chroot >> Solaris 10 SunOS etdevry04 5.10 Generic_118833-03 sun4u sparc >> SUNW,Sun-Fire-V240 >> >> >> I have loaded all the required lib's into the chroot env's lib folder by >> using ldd and truss on httpd . >> I have created the following files in my etc folder >> group hosts logrotate.conf netconfig >> nsswitch.conf passwd What is the contents of your nsswitch.conf? >> >> My host file contains the following >> # >> # Internet host table >> # >> 127.0.0.1 localhost.localdomain localhost >> 10.25.9.193 etdevry04 etdevry04.syd.internal.com.au >> 10.25.9.191 etdevry02 etdevry02.syd.internal.com.au >> >> I am able to get apache 2.2.8 chrooted on a fedora server fine just seems >> to be solaris I am having problems with. >> >> Below is the additions I made to my httpd.conf after a resh install >> >> HostnameLookups Off >> UseCanonicalName Off >> >> ProxyPass /test/ http://10.25.9.191/test/ >> ProxyPassReverse /test/ http://10.25.9.191/test/ >> >> NameVirtualHost 10.25.9.193:80 The line above is wrong. It need to be NameVirtualHost 10.25.9.193:80 >> >> > The line above is wrong. It need to be Regards R�diger