Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 1189 invoked by uid 500); 30 Jan 2002 12:19:20 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 1178 invoked from network); 30 Jan 2002 12:19:20 -0000 Received: from harrier.mail.pas.earthlink.net (HELO harrier.prod.itd.earthlink.net) (207.217.120.12) by daedalus.apache.org with SMTP; 30 Jan 2002 12:19:20 -0000 Received: from 2cust35.tnt2.sea1.da.uu.net ([63.26.63.35] helo=prometheus) by harrier.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16Vthv-0001AD-00 for users@httpd.apache.org; Wed, 30 Jan 2002 04:19:20 -0800 Message-ID: <00a801c1a988$5819b250$0a00a8c0@prometheus> From: "Daniel Grace" To: Subject: Apache 2.0.28 woes Date: Wed, 30 Jan 2002 04:19:18 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm trying to get Apache 2.0.28 working (on Linux 2.4.17/i686) and am having numerous problems. I would be using 1.3.x but I'm security-conscious and happen to need the functionality of the perchild MPM module. After fixing the "apr_exit_why" typo (confirmed by several bug reports) in perchild.c and applying the official errordoc.patch, I was able to successfully build Apache using the following: ./configure \ --prefix=/usr/local/httpd2 \ --enable-modules=all \ --with-mpm=perchild \ --disable-vhost-alias \ --disable-auth-ldap \ --disable-isapi \ --disable-suexec \ --disable-proxy \ --disable-ssl \ --disable-ldap \ --disable-auth-dbm \ --disable-auth-db \ I setup httpd.conf the way I want it and apache doesn't complain about it at all. Things are great until I try to load up a webpage in my browser (using Lynx for testing purposes.). Lynx connects, sends its request and then hangs indefinitely, with absolutely no output from Apache at all. Nothing gets written to access.log or error.log (renamed on my system), and 'top' reports Apache fighting my seti@home client for CPU time -- suggesting an infinite loop of some sort somewhere. Furthermore, when I have the PHP 4.1.1 shared module built, the following will be continuously written to the error log even before a request is sent: [Wed Jan 30 03:12:40 2002] [notice] child pid 29154 exit signal Segmentation fault (11) [Wed Jan 30 03:12:40 2002] [notice] child pid 29153 exit signal Segmentation fault (11) [Wed Jan 30 03:12:40 2002] [notice] child pid 29152 exit signal Segmentation fault (11) [Wed Jan 30 03:12:41 2002] [notice] child pid 29156 exit signal Segmentation fault (11) My guess is the segmentation fault is a threading issue in PHP since it's probably not expecting Apache to be multithreaded, but I'm not sure given the first problem. PHP is built with the following: ./configure \ --prefix=/usr/local/php/httpd2 \ --with-apxs2=/usr/local/httpd2/bin/apxs \ --with-pear \ --with-zlib \ --with-pspell \ --with-bz2 \ --enable-ftp \ --enable-mailparse \ --with-mysql=/usr/local/mysql \ --enable-libedit \ --enable-readline \ --enable-inline-optimization \ --enable-memory-limit \ --with-tsrm-pthreads \ --enable-experimental-zts \ /* I added this after the segfaults started to see if it makes a difference. It doesn't. */ Anyways, I'm looking forward to getting this all worked out -- I don't want to go back to Apache 1.3.x and I have this shiny unused server just begging to be worked. Any ideas? -- Daniel Grace char I_program = 1; if(I_program) I_am(); /* I program, therefore I am */ --------------------------------------------------------------------- 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 For additional commands, e-mail: users-help@httpd.apache.org