Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 32028 invoked from network); 23 May 2008 06:07:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2008 06:07:16 -0000 Received: (qmail 40673 invoked by uid 500); 23 May 2008 06:07:06 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 40651 invoked by uid 500); 23 May 2008 06:07:06 -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 40640 invoked by uid 99); 23 May 2008 06:07:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 May 2008 23:07:06 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejusmag@gmail.com designates 209.85.132.245 as permitted sender) Received: from [209.85.132.245] (HELO an-out-0708.google.com) (209.85.132.245) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2008 06:06:18 +0000 Received: by an-out-0708.google.com with SMTP id b2so101379ana.102 for ; Thu, 22 May 2008 23:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=CxIgGzBVjmfyEJUwxlaDMDw4GxcYe4IuIZ/NJ3s1Lh8=; b=jjWu33I1D8NR+NMtiv0sqUXmW12ukiHFHj+JLhU0XDtFiO8hC356F3eIMMYsLtLBMdUW+phekp+kqXcLYEhzsibnkA2fTtG3rCiNGgx9JFGnXu7xhTrWYuQeyuqMc39Y8IYgweeGOCY0x1CIgvCiDBCfRYxGfsUrd/I5JRhd6XI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=K4YyQYhFmm0TgHN7Rex+SKQZj0B5pg4xqM5L2nL+m8wS0OkYml08c0NdGksqOWUysxXTXztR6KAz+bBvu6+js+Yjhs+JDS3o2fRIzL/ySlYVeuO2Krakj8HZG4UuK/JEhm1Ot1p/D/dSYJaJeljfgejyo7xW8mbMpFz41GOYjIU= Received: by 10.100.214.3 with SMTP id m3mr1359667ang.81.1211522794158; Thu, 22 May 2008 23:06:34 -0700 (PDT) Received: by 10.101.69.12 with HTTP; Thu, 22 May 2008 23:06:33 -0700 (PDT) Message-ID: Date: Fri, 23 May 2008 16:06:33 +1000 From: "Justin Maguire" To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14076_218048.1211522794124" X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Apache 2.2.8 on solaris 10 in chroot problem ------=_Part_14076_218048.1211522794124 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello All, 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 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 /threestore http://10.25.9.191/test ProxyPassReverse /threestore http://10.25.9.191/test NameVirtualHost 10.25.9.193:80 ServerName etdevry04 ProxyPass /threestore http://10.25.9.191/test ProxyPassReverse /threestore http://10.25.9.191/test Help would be appreciated :) Thanks, Justin Maguire ------=_Part_14076_218048.1211522794124 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hello All,
 
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
 
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 /threestore http://10.25.9.191/test
ProxyPassReverse
/threestore http://10.25.9.191/test

NameVirtualHost 10.25.9.193:80

<VirtualHost 10.25.9.193:80>
        ServerName etdevry04
        ProxyPass /threestore http://10.25.9.191/test
        ProxyPassReverse /threestore http://10.25.9.191/test
</VirtualHost>

Help would be appreciated :)

Thanks,
Justin Maguire

------=_Part_14076_218048.1211522794124--