From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 4 12:50:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B43CB106566C for ; Thu, 4 Nov 2010 12:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 802308FC17 for ; Thu, 4 Nov 2010 12:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA4Co4Wv012737 for ; Thu, 4 Nov 2010 12:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA4Co42W012728; Thu, 4 Nov 2010 12:50:04 GMT (envelope-from gnats) Resent-Date: Thu, 4 Nov 2010 12:50:04 GMT Resent-Message-Id: <201011041250.oA4Co42W012728@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frank Wall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F27A0106566B for ; Thu, 4 Nov 2010 12:42:00 +0000 (UTC) (envelope-from fw@inotronic.de) Received: from mail.inotronic.de (mail.inotronic.de [77.73.248.111]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9D18FC0C for ; Thu, 4 Nov 2010 12:42:00 +0000 (UTC) Received: from phosphorus (mail [77.73.248.111]) by mail.inotronic.de (8.14.4/8.14.3) with ESMTP id oA4CVpql062719 for ; Thu, 4 Nov 2010 13:31:51 +0100 (CET) (envelope-from fw@inotronic.de) Received: from boron.inotronic.de (boron.inotronic-intern.de [10.1.2.10]) by mail.inotronic.de (8.14.4/8.14.3) with ESMTP id oA4CVdPc062707 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Nov 2010 13:31:40 +0100 (CET) (envelope-from fw@inotronic.de) Received: from boron.inotronic-intern.de (fw@localhost [127.0.0.1]) by boron.inotronic.de (8.14.3/8.14.3) with ESMTP id oA4CVdRp095738 for ; Thu, 4 Nov 2010 13:31:39 +0100 (CET) (envelope-from fw@boron.inotronic-intern.de) Received: (from fw@localhost) by boron.inotronic-intern.de (8.14.3/8.14.3/Submit) id oA4CVdWd095737; Thu, 4 Nov 2010 13:31:39 +0100 (CET) (envelope-from fw) Message-Id: <201011041231.oA4CVdWd095737@boron.inotronic-intern.de> Date: Thu, 4 Nov 2010 13:31:39 +0100 (CET) From: Frank Wall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/151932: [NEW PORT] www/mod_whatkilledus: Logs a report when a child process crashes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 12:50:04 -0000 >Number: 151932 >Category: ports >Synopsis: [NEW PORT] www/mod_whatkilledus: Logs a report when a child process crashes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 04 12:50:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Frank Wall >Release: FreeBSD 7.1-RELEASE-p11 amd64 >Organization: >Environment: System: FreeBSD 7.1-RELEASE-p11 FreeBSD 7.1-RELEASE-p11 #0: Fri Feb 26 19:22:31 UTC 2010 >Description: mod_whatkilledus is an experimental module for Apache httpd 2.x which tracks the current request and logs a report of the active request when a child process crashes. Requirements: Apache httpd >= 2.0.49 must be built with the --enable-exception-hook configure option and mod_so enabled. Activating mod_whatkilledus: 1. Load it like any other DSO. LoadModule whatkilledus_module modules/mod_whatkilledus.so 2. Enable exception hooks for modules like mod_whatkilledus: EnableExceptionHook On 3. Choose where the report on current activity should be written. If you want it reported to some place other than the error log, use the WhatKilledUsLog directive to specify a fully-qualified filename for the log. Note that the web server user id (e.g., "nobody") must be able to create or append to this log file, as the log file is not opened until a crash occurs. WWW: http://people.apache.org/~trawick/exception_hook.html Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- ap22-mod_whatkilledus-2.0.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mod_whatkilledus # mod_whatkilledus/Makefile # mod_whatkilledus/distinfo # mod_whatkilledus/pkg-descr # echo c - mod_whatkilledus mkdir -p mod_whatkilledus > /dev/null 2>&1 echo x - mod_whatkilledus/Makefile sed 's/^X//' >mod_whatkilledus/Makefile << '4a42bc2a0bd98a948c002a8d69b6563d' X# New ports collection makefile for: mod_whatkilledus X# Date created: Thu Nov 4 10:08:27 CET 2010 X# Whom: Frank Wall X# X# $FreeBSD$ X# X XPORTNAME= mod_whatkilledus XPORTVERSION= 2.0 XCATEGORIES= www XMASTER_SITES= http://people.apache.org/~trawick/ \ X http://dl.moov.de/freebsd/${PORTNAME}/ XDISTFILES= mod_whatkilledus.c test_char.h XEXTRACT_ONLY= # empty X XMAINTAINER= fw@moov.de XCOMMENT= Logs a report when a child process crashes X XMAKE_JOBS_SAFE= yes X XUSE_APACHE= 20+ XAP_FAST_BUILD= YES XAP_GENPLIST= YES XSHORTMODNAME= whatkilledus X XWRKSRC= ${WRKDIR} X Xdo-extract: X ${MKDIR} ${WRKSRC} X ${CP} ${DISTDIR}/mod_whatkilledus.c ${WRKSRC} X ${CP} ${DISTDIR}/test_char.h ${WRKSRC} X Xpre-build: X @${ECHO_MSG} "*********************** PLEASE NOTE! ***********************" X @${ECHO_MSG} "Apache httpd must be built with the --enable-exception-hook" X @${ECHO_MSG} "configure option and mod_so enabled." X @${ECHO_MSG} "*********************** PLEASE NOTE! ***********************" X X.include 4a42bc2a0bd98a948c002a8d69b6563d echo x - mod_whatkilledus/distinfo sed 's/^X//' >mod_whatkilledus/distinfo << '7c0a7118a7e3940bd64d3c921f532a7d' XSHA256 (mod_whatkilledus.c) = 28c5c7b2b756513d31a87d707e5878d46795d125e5eb38d913a5d1713d203c90 XSIZE (mod_whatkilledus.c) = 12274 XSHA256 (test_char.h) = 424d330cc397e98cff333f33a3b00ef4abf84e405e26aedd898d293f3d12b590 XSIZE (test_char.h) = 1094 7c0a7118a7e3940bd64d3c921f532a7d echo x - mod_whatkilledus/pkg-descr sed 's/^X//' >mod_whatkilledus/pkg-descr << 'd2c7a4b8a763dc5bf63456fdeafac36c' Xmod_whatkilledus is an experimental module for Apache httpd 2.x which Xtracks the current request and logs a report of the active request Xwhen a child process crashes. X XRequirements: Apache httpd >= 2.0.49 must be built with the X--enable-exception-hook configure option and mod_so enabled. X XActivating mod_whatkilledus: X X 1. Load it like any other DSO. X LoadModule whatkilledus_module modules/mod_whatkilledus.so X X 2. Enable exception hooks for modules like mod_whatkilledus: X EnableExceptionHook On X X 3. Choose where the report on current activity should be written. If X you want it reported to some place other than the error log, use the X WhatKilledUsLog directive to specify a fully-qualified filename for X the log. Note that the web server user id (e.g., "nobody") must X be able to create or append to this log file, as the log file is X not opened until a crash occurs. X XWWW: http://people.apache.org/~trawick/exception_hook.html d2c7a4b8a763dc5bf63456fdeafac36c exit --- ap22-mod_whatkilledus-2.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: