From owner-freebsd-questions@FreeBSD.ORG Tue May 27 04:16:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEFB137B401 for ; Tue, 27 May 2003 04:16:26 -0700 (PDT) Received: from perimeter.co.za (obelix.perimeter.co.za [209.212.102.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84C443F75 for ; Tue, 27 May 2003 04:16:21 -0700 (PDT) (envelope-from bsd@perimeter.co.za) Received: from PATRICK (gateway.mip.co.za [209.212.102.245]) (AUTH: LOGIN bsd@perimeter.co.za) by perimeter.co.za with esmtp; Tue, 27 May 2003 13:16:16 +0200 Message-ID: <004f01c32441$63fbdaf0$b50d030a@mip.co.za> From: "Patrick O'Reilly" To: "Dirk-Willem van Gulik" References: <20030527125059.T67267-100000@foem> Date: Tue, 27 May 2003 13:16:12 +0200 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 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 cc: freebsd-questions@freebsd.org Subject: Re: Apache Core Dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 11:16:27 -0000 ----- Original Message ----- From: "Dirk-Willem van Gulik" > > On Tue, 27 May 2003, Patrick O'Reilly wrote: > > > hacked the LoadModule and AddModule lines for mod_php4 out of the > > httpd.conf file, and now Apache runs. At least the static sites are up > > again. > > > > Does anyone know what the problem with mod_php4 is? > > Just do a ktrace or truss starting up apache with the flag '-X' to see > where exactly it breaks. But given the versioning changes you described > above I would certainly not be suprized if something got linked to the > wrong apxs. Or alternatively if one of your .pm's pulled in another mysql > lib statically linked. > Dirk, thanks for responding. I did: # ktrace /usr/local/sbin/httpd -X -DSSL and then kdump which produced about 750k of output. The last 20-or-so lines are as follows: ---------------- 24430 httpd RET write 82/0x52 24430 httpd CALL gettimeofday(0xbfbff264,0) 24430 httpd RET gettimeofday 0 24430 httpd CALL getpid 24430 httpd RET getpid 24430/0x5f6e 24430 httpd CALL write(0x27,0xbfbfeba4,0x48) 24430 httpd GIO fd 39 wrote 72 bytes "[27/May/2003 13:08:34 24430] [info] Init: Initializing OpenSSL library " 24430 httpd RET write 72/0x48 24430 httpd CALL break(0x81b3000) 24430 httpd RET break 0 24430 httpd CALL break(0x81b4000) 24430 httpd RET break 0 24430 httpd CALL break(0x81b5000) 24430 httpd RET break 0 24430 httpd CALL break(0x81b6000) 24430 httpd RET break 0 24430 httpd PSIG SIGSEGV SIG_DFL 24430 httpd NAMI "httpd.core" ---------------- I'm not sure what to make of this, except that is seems to be related to initializing the OpenSSL library..... Any ideas? Regards, Patrick.