From owner-freebsd-apache@FreeBSD.ORG Mon Jan 3 10:16:42 2005 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56F3516A4CE for ; Mon, 3 Jan 2005 10:16:42 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id D5A5643D5C for ; Mon, 3 Jan 2005 10:16:38 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 11622 invoked by uid 89); 3 Jan 2005 11:16:34 +0100 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 89 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(192.168.0.8):. Processed in 0.195148 secs); 03 Jan 2005 10:16:34 -0000 X-Qmail-Scanner-Mail-From: sheepkiller@cultdeadsheep.org via goofy.cultdeadsheep.org X-Qmail-Scanner: 1.22 (Clear:RC:1(192.168.0.8):. Processed in 0.195148 secs) Received: from unknown (HELO persephone.cultdeadsheep.org) (192.168.0.8) by goofy.cultdeadsheep.org with SMTP; 3 Jan 2005 11:16:34 +0100 Received: (qmail 35005 invoked from network); 3 Jan 2005 11:15:50 +0100 Received: from unknown (HELO localhost) (217.128.192.173) by persephone.cultdeadsheep.org with SMTP; 3 Jan 2005 11:15:50 +0100 Date: Mon, 3 Jan 2005 11:15:51 +0100 From: Clement Laforet To: "whitevamp" Message-Id: <20050103111551.6819aeb0.sheepkiller@cultdeadsheep.org> In-Reply-To: References: Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 1.0.0beta1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__3_Jan_2005_11_15_51_+0100_tIc64DBDV47qKQ4l" cc: freebsd-apache@FreeBSD.org Subject: Re: apache core dump X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 10:16:42 -0000 --Signature=_Mon__3_Jan_2005_11_15_51_+0100_tIc64DBDV47qKQ4l Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sat, 1 Jan 2005 10:31:55 -0800 "whitevamp" wrote: > > ok the otherday i had an issue with apache not binding to port 80 > > and i thought i got that taken care of, well maby i have but any way > i knoticed that apache wasnt running any more so i when to start it > and it whouldnt start so i looked in the error log didnt find > anything wrong in there so i looked in messages and i found this > Dec 31 19:00:04 vampextream kernel: pid 88555 (httpd), uid 80: exited on signal 11 > > so now its core dumping .. > so my quistions are > 1. how do i go about debugging this? First of all you need to find what is causing the segfault: - a modules (apache's one or third party one) - apache itself You have to enable or disable every module (one by one) to find the culpit. After that, rebuild apache and the culpit module (if any) with debugging stuff. After that, you need to allow apache to write a dump. sysctl kern.sugid_coredump=1 and use CoreDumpDirectory to define a place to store dump files. run gdb on the core to find where it fails. > 2. and what would be causeing this? Generally, mod_php ;) Find the culpit first, and then you'll see. clem Note: if you use nss_ldap + php4, it can cause segfaults. --Signature=_Mon__3_Jan_2005_11_15_51_+0100_tIc64DBDV47qKQ4l Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFB2RtasRhfjwcjuh0RAmvQAJ97QsaAHbWZNpFZbLsKFUT2HfmYIgCg0I2U JjXIuHjsR5Dw9LsJx/Rz4Io= =tUyd -----END PGP SIGNATURE----- --Signature=_Mon__3_Jan_2005_11_15_51_+0100_tIc64DBDV47qKQ4l--