From owner-freebsd-questions@FreeBSD.ORG Thu Aug 31 00:00:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DF33B16A4FF for ; Thu, 31 Aug 2006 00:00:45 +0000 (UTC) (envelope-from mailing-lists@msdi.ca) Received: from mail02.msdihosting.net (9.67-18-64.networks.msdihosting.net [64.18.67.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0D3543D68 for ; Thu, 31 Aug 2006 00:00:20 +0000 (GMT) (envelope-from mailing-lists@msdi.ca) Received: from ian.msdi.ca ([70.83.204.175]) by mail02.msdihosting.net ((iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003))) with SMTP id CLI20599 for ; Wed, 30 Aug 2006 20:05:09 -0400 Message-Id: <7.0.1.0.2.20060830195856.06303008@msdi.ca> Message-Id: <7.0.1.0.2.20060828103622.07f11f10@msdi.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Wed, 30 Aug 2006 19:59:07 -0400 To: freebsd-questions@freebsd.org From: Ian Lord Mime-Version: 1.0 X-DEBUG: 1 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Resolved??? Re: Apache 2.2 http accept filter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 00:00:46 -0000 At 20:01 2006-08-25, you wrote: >Did accept filter error problem get resolved? I do NOT have >NO_MODULES set in the kernel config or in /etc/make.conf anywhere, >and I checked: > > unicorn[126]# pwd > /boot/kernel > unicorn[127]# ll *http* > -r-xr-xr-x 1 root wheel 5544 Aug 25 12:05 accf_http.ko* > unicorn[128]# kldload accf_http.ko > kldload: can't load accf_http.ko: File exists > > unicorn[130]# grep -i http rc.conf > # apache22_http_accept_enable (bool): Set to "NO" by default. > # Set to yes to check for accf_http kernel > # put accf_http in the kernel config? not yet. > apache22_http_accept_enable="YES" > >Do I need to put something in /boot/modules? I already have >accf_http loaded, apparently because of the >apache22_http_accept_enable flag in rc.conf. > >Let me know if you've gotten anywhere with this. > >tack > >On Sat, 19 Aug 2006, Ian Lord wrote: > >>At 12:18 2006-08-19, you wrote: >>>Ian Lord wrote: >>>> >>>>>well, the apache22_http_accept_enable="YES" should do this for him, >>>>>but it seems like the problems stands elsewhere. >>>>>Ian, are you sure that these modules are present under the >>>>>/boot/modules directory? >>>>Hi, I just checked and the /boot/modules directory is empty so I >>>>guess the problem is there... >>>>Do I need to build a port or something to have them ? >>>You might have option NO_MODULES in your kernel config file. If >>>so, remove it and rebuild your kernel as described in the FreeBSD Handbook: >>>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html >> >>Hmmm, the reason the the NO_MODULES is set to "yes" in my kernel, >>is because I use PAE >> >>Here is a snip from the "/usr/src/sys/i386/conf/PAE" file >># Don't build modules with this kernel config, since they are not built with >># the correct options headers. >>makeoptions NO_MODULES=yes >> >>So I guess since I am Using PAE, I just can't build the modules... >> >>So from there, what is the recommended solution ? >> >>I tried removing apache22_http_accept_enable="YES" from rc.conf >> >>and using >>AcceptFilter http none >>AcceptFilter https none >>in my httpd.conf file >> >>(I also tried not mentionning the AcceptFilter lines in http.conf) >> >>I still get the same problem >>ie: I get the error message >>[Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: >>Failed to enable the 'httpready' Accept Filter >>[Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: >>Failed to enable the 'httpready' Accept Filter >>[Sat Aug 19 13:00:14 2006] [warn] (2)No such file or directory: >>Failed to enable the 'httpready' Accept Filter >> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I still have problem with it... From what I understand, the problem comes from the fact that I use PAE. When you compile a kernel with PAE, it is clearly mentionnend we need to use the "no_module=YES" here is a snip from the file "/usr/src/sys/i386/conf/PAE" ~~ # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes ~~ So basically, the modules are not built :) So I guess that I cannot use acceptfilter with PAE The problem is that apache keeps on asking for the file so I have warning everytime I start apache...