From owner-freebsd-apache@FreeBSD.ORG Sun Jan 2 03:59:50 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 DA1A416A4CF for ; Sun, 2 Jan 2005 03:59:50 +0000 (GMT) Received: from knife.dreamhost.com (knife.dreamhost.com [66.33.219.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD54C43D1F for ; Sun, 2 Jan 2005 03:59:50 +0000 (GMT) (envelope-from lists@tntluoma.com) Received: from [192.168.2.103] (dialup-4.252.226.253.Dial1.Cincinnati1.Level3.net [4.252.226.253]) by knife.dreamhost.com (Postfix) with ESMTP id 63474E4DD7 for ; Sat, 1 Jan 2005 19:59:48 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-apache@freebsd.org From: Timothy Luoma Date: Sat, 1 Jan 2005 22:59:43 -0500 X-Mailer: Apple Mail (2.619) Subject: patching mod_dav 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: Sun, 02 Jan 2005 03:59:51 -0000 (Please excuse my ignorance, I don't know whether I should ask this in -apache or -ports or -questions. If this isn't the right place, please let me know where would be better. I thought this was the most specific match of those 3 options.) Trying to follow the instructions at http://www.tnpi.biz/computing/mac/tips/idisk/ (specifically the part about 1/3 the way down that begins: "mod_dav quota UPDATE!") on an Intel FreeBSD 5.3 system I downloaded the file http://www.carrel.org/files/dav-diskfree.patch and saved it to /usr/ports/www/mod_dav/files/patch-dav_fs_repos.c and then attempted to 'make' #begin paste $ make Use WITH_SYMLINK_PATCH=yes to let mod_dav follow symlinks. ===> Vulnerability check disabled, database not found ===> Extracting for mod_dav-1.0.3_2 => Checksum OK for mod_dav-1.0.3-1.3.6.tar.gz. ===> Patching for mod_dav-1.0.3_2 ===> Applying FreeBSD patches for mod_dav-1.0.3_2 File to patch: /usr/ports/www/mod_dav/work/mod_dav-1.0.3-1.3.6/dav_fs_repos.c patch: **** malformed patch at line 120: avail))/512); => Patch patch-dav_fs_repos.c failed to apply cleanly. => Patch(es) patch-dav_fs_lock.c applied cleanly. *** Error code 1 Stop in /usr/ports/www/mod_dav. # end of paste I knew something was wrong when it didn't know where to find the file to patch. I'm obviously fairly new at this, and wasn't sure where to go for help. I'll be happy to RTM if someone can tell me where to find it, as it's not clear to me what I'd be looking for. Looking at http://www.carrel.org/files/dav-diskfree.patch, it appears this patch was made back in April of 2004, so it's entirely possible (I'd presume) that the file has changed sufficiently that the patch will no longer work? Thanks for any help TjL From owner-freebsd-apache@FreeBSD.ORG Mon Jan 3 00:14:11 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 5E78516A4CE for ; Mon, 3 Jan 2005 00:14:11 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E01B843D45 for ; Mon, 3 Jan 2005 00:14:10 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4229E51814; Sun, 2 Jan 2005 16:14:14 -0800 (PST) Date: Sun, 2 Jan 2005 16:14:14 -0800 From: Kris Kennaway To: apache@FreeBSD.org Message-ID: <20050103001414.GA97967@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cN+O50sc7gZAK+8F" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: [ports-i386@FreeBSD.org: mod_accounting-0.5_3 pkg-plist errors on i386 6] 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 00:14:11 -0000 --cN+O50sc7gZAK+8F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear port maintainer, The following port has an incomplete pkg-plist, or other errors in the files installed by the port. This may mean that the package is incomplete or non-functional; at the very least, your port does not leave the filesystem in the same state it was before the port was installed. Can you please investigate? In the near future, this condition will be treated as an error on the package cluster, which means that the package will not be made available on the ftp site. Thanks, Kris "Ports Janitor" Kennaway ----- Forwarded message from User Ports-i386 ----- X-Original-To: kkenn@localhost Delivered-To: kkenn@localhost.obsecurity.org Delivered-To: kris@freebsd.org Date: Sun, 2 Jan 2005 11:33:50 GMT From: User Ports-i386 To: krion@FreeBSD.org, kris@FreeBSD.org Subject: mod_accounting-0.5_3 pkg-plist errors on i386 6 X-UIDL: I/n"!KYG"!eGC!!Ab]"! X-Bogosity: No, tests=3Dbogofilter, spamicity=3D0.000000, version=3D0.92.8 building mod_accounting-0.5_3 on gohan34.freebsd.org in directory /x/tmp/6/chroot/2544 maintained by: apache@FreeBSD.org port directory: /usr/ports/www/mod_accounting For the full build log, see http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.6.2005010200/mod_= accounting-0.5_3.log list of extra files and directories in / (not present before this port was = installed but present after it was deinstalled) 526676 72 -rw-r--r-- 1 root wheel 36624 = Jan 2 11:33 usr/local/etc/apache/httpd.conf.bak 576270 8 drwxr-xr-x 2 root wheel 512 = Jan 2 11:33 usr/local/share/mod_accounting ----- End forwarded message ----- --cN+O50sc7gZAK+8F Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB2I5VWry0BWjoQKURAiUAAJ0YLzu98eKMMAw1981hQnfuMZw7lACgiPHe hiu9FZ7BGVDh9AEgxCuA3/I= =t9+2 -----END PGP SIGNATURE----- --cN+O50sc7gZAK+8F-- 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-- From owner-freebsd-apache@FreeBSD.ORG Mon Jan 3 10:31:55 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 E700916A4CE for ; Mon, 3 Jan 2005 10:31:55 +0000 (GMT) Received: from utopia.in.force-elite.com (force-elite.com [216.255.199.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2878B43D3F for ; Mon, 3 Jan 2005 10:31:55 +0000 (GMT) (envelope-from chip@force-elite.com) X-AuthUser: chip@force-elite.com Received: from [10.0.0.113] (10.0.0.113:55687)Server] ; Mon, 03 Jan 2005 02:31:52 -0800 Message-ID: <41D91F18.7000202@force-elite.com> Date: Mon, 03 Jan 2005 02:31:52 -0800 From: Paul Querna User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Clement Laforet References: <20050103111551.6819aeb0.sheepkiller@cultdeadsheep.org> In-Reply-To: <20050103111551.6819aeb0.sheepkiller@cultdeadsheep.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:31:56 -0000 Clement Laforet wrote: > 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. Thats pretty harsh, I generally just rebuild everything eith debugging info enabled. Much faster than trying to manually add/remove all those modules :) 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. From owner-freebsd-apache@FreeBSD.ORG Mon Jan 3 11:01:16 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 6D05A16A4CF for ; Mon, 3 Jan 2005 11:01:16 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D09543D39 for ; Mon, 3 Jan 2005 11:01:16 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j03B1Ggt005417 for ; Mon, 3 Jan 2005 11:01:16 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j03B1FMi005411 for apache@freebsd.org; Mon, 3 Jan 2005 11:01:15 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 3 Jan 2005 11:01:15 GMT Message-Id: <200501031101.j03B1FMi005411@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Subject: Current problem reports assigned to you 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 11:01:16 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/11/15] ports/73953 apache www/mod_musicindex cannot load o [2004/12/04] ports/74670 apache Upgrade of www/mod_musicindex o [2004/12/09] ports/74907 apache [PATCH] www/mod_perl: cleanups 3 problems total. From owner-freebsd-apache@FreeBSD.ORG Thu Jan 6 19:35:11 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 F18CE16A4CE; Thu, 6 Jan 2005 19:35:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB69843D31; Thu, 6 Jan 2005 19:35:10 +0000 (GMT) (envelope-from clement@FreeBSD.org) Received: from freefall.freebsd.org (clement@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j06JZAsl075202; Thu, 6 Jan 2005 19:35:10 GMT (envelope-from clement@freefall.freebsd.org) Received: (from clement@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j06JZAw9075198; Thu, 6 Jan 2005 19:35:10 GMT (envelope-from clement) Date: Thu, 6 Jan 2005 19:35:10 GMT From: Clement Laforet Message-Id: <200501061935.j06JZAw9075198@freefall.freebsd.org> To: clement@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org Subject: Re: ports/75892: www/mod_auth_pam2 sets up httpd.conf LoadModule lines wrongly 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: Thu, 06 Jan 2005 19:35:12 -0000 Synopsis: www/mod_auth_pam2 sets up httpd.conf LoadModule lines wrongly Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: clement Responsible-Changed-When: Thu Jan 6 19:34:46 GMT 2005 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=75892 From owner-freebsd-apache@FreeBSD.ORG Thu Jan 6 21:35:56 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 AD74016A4CE for ; Thu, 6 Jan 2005 21:35:56 +0000 (GMT) Received: from einstein.baruch.cuny.edu (einstein.baruch.cuny.edu [150.210.155.52]) by mx1.FreeBSD.org (Postfix) with SMTP id EB69843D3F for ; Thu, 6 Jan 2005 21:35:55 +0000 (GMT) (envelope-from bnelson@baruch.cuny.edu) Received: (qmail 56830 invoked by uid 27); 6 Jan 2005 21:35:55 -0000 Received: from bnelson@baruch.cuny.edu by einstein by uid 82 with qmail-scanner-1.20 (uvscan: v4.3.20/v4418. Clear:RC:1(10.1.2.45):. Processed in 0.014468 secs); 06 Jan 2005 21:35:55 -0000 Received: from unknown (HELO ?10.1.2.45?) (10.1.2.45) by einstein.baruch.cuny.edu with SMTP; 6 Jan 2005 21:35:55 -0000 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: apache@FreeBSD.org From: Bjorn Nelson Date: Thu, 6 Jan 2005 16:35:50 -0500 X-Mailer: Apple Mail (2.619) Subject: Fwd: p5-gd with mod_perl problem 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: Thu, 06 Jan 2005 21:35:56 -0000 Figured out this problem. Apparently this is caused by a conflict between php4 with the gd extension enabled on the same apache server as the one I was trying to draw an image using the gd perl module under mod_perl. Disabled the extension for php4 and now it works. Thanks, Bjorn Begin forwarded message: > From: Bjorn Nelson > Date: November 10, 2004 6:30:41 PM EST > To: apache@FreeBSD.org > Subject: p5-gd with mod_perl problem > > Hello, > > I am e-mailing you because you are the maintainer of www/mod_perl. I > was wondering if you have ever run into this. When running the png > method on a GD:Image object through httpd and mod_perl, my httpd > process dies. It works find when run directly from perl but for some > reason this happens when I am using mod_perl and httpd. > > The error message is: > httpd in free(): error: modified (page-) pointer > [Wed Nov 10 21:44:51 2004] [notice] child pid 11970 exit signal Abort > trap (6) > > I tried looking at it through ktrace and what I get is a bunch of > break() calls: > 14764 httpd CALL break(0x8547000) > 14764 httpd RET break 0 > 14764 httpd CALL break(0x8540000) > 14764 httpd RET break 0 > 14764 httpd CALL issetugid > 14764 httpd RET issetugid 1 > 14764 httpd CALL write(0x2,0xbfbfee40,0x5) > 14764 httpd GIO fd 2 wrote 5 bytes > "httpd" > 14764 httpd RET write 5 > 14764 httpd CALL write(0x2,0x281b261f,0xb) > 14764 httpd GIO fd 2 wrote 11 bytes > " in free():" > 14764 httpd RET write 11/0xb > 14764 httpd CALL write(0x2,0x281b774b,0x8) > 14764 httpd GIO fd 2 wrote 8 bytes > " error: " > 14764 httpd RET write 8 > 14764 httpd CALL write(0x2,0x281b2571,0x19) > 14764 httpd GIO fd 2 wrote 25 bytes > "modified (page-) pointer > " > 14764 httpd RET write 25/0x19 > 14764 httpd CALL sigprocmask(0x3,0xbfbfe7b8,0) > 14764 httpd RET sigprocmask 0 > 14764 httpd CALL getpid > 14764 httpd RET getpid 14764/0x39ac > 14764 httpd CALL kill(0x39ac,0x6) > 14764 httpd RET kill 0 > 14764 httpd PSIG SIGIOT SIG_DFL > > Have you ever seen this before? I am using the generic example given > on cpan.org. > > Thanks, > Bjorn >