From owner-freebsd-stable@FreeBSD.ORG Thu Aug 16 19:18:35 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FDDB16A417 for ; Thu, 16 Aug 2007 19:18:35 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1CEFB13C45A for ; Thu, 16 Aug 2007 19:18:35 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 181801CC06F; Thu, 16 Aug 2007 12:18:35 -0700 (PDT) Date: Thu, 16 Aug 2007 12:18:35 -0700 From: Jeremy Chadwick To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20070816191835.GB23955@eos.sc1.parodius.com> Mail-Followup-To: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-stable@freebsd.org, Reinhold References: <55620.212.99.207.3.1187285304.squirrel@www.violetlan.net> <20070816180710.GA22257@eos.sc1.parodius.com> <46C4A270.2090704@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46C4A270.2090704@quip.cz> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org, Reinhold Subject: Re: apache problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2007 19:18:35 -0000 On Thu, Aug 16, 2007 at 09:16:00PM +0200, Miroslav Lachman wrote: > Jeremy Chadwick wrote: > [...] >>> I'm also getting this error when I do a gracful restart of apache >>> [Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable >>> the 'httpready' Accept Filter >>> [Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable >>> the 'httpready' Accept Filter >>> >>> and in my /boot/loader.conf I have added >>> accf_data_load="YES" >>> accf_http_load="YES" >> Remove those. Here's why: >> The apache rc.d startup script automatically will load accf_http.ko. >> I also believe if that fails, Apache will try to load it. From my >> experiences kldload/kldunload with accf_* is not very friendly; I've >> seen where you can double-load the modules, and where you can't unload >> the modules despite nothing using them. If you have them built-in to >> your kernel, it gets even worse. > > It is not always possible to load modules after OS startup is done - when > securelevel is 1 or above, you can not load kernel modules. Okay, then the apache rc.d script needs to take this into account, regardless of what rc.conf apache22_http_accept_enable is set to. That shouldn't be too hard to fix. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |