Re: Resolved??? Re: Apache 2.2 http accept filter
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 "[EMAIL PROTECTED]" 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... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache 2.2 http accept filter
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 "[EMAIL PROTECTED]"
Re: Apache 2.2 http accept filter
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 You sure know how to troubleshoot ! Thats exactly it Thanks a lot for the quick reply Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache 2.2 http accept filter
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 -- Cheers, Gabor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: Apache 2.2 http accept filter
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 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: Apache 2.2 http accept filter
Hello Gábor, Saturday, August 19, 2006, 5:38:26 PM, you wrote: > Ian Lord wrote: >> Hi, >> >> When I start apache2.2, I get the following error: >> >> [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed >> to enable the 'httpready' Accept Filter >> [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed >> to enable the 'httpready' Accept Filter >> [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed >> to enable the 'httpready' Accept Filter >> >> Here is my config >> In /etc/rc.conf: >> apache22_enable="YES" >> apache22 ssl_enable="YES" >> apache22_http_accept_enable="YES" >> >> In /usr/local/etc/apache22/httpd.conf: >> AcceptFilter http httpready >> AcceptFilter https dataready >> >> Is there anything I am missing in the kernel or somewhere ? >> Also, is it better to run with or without httpready ? I read it was >> better performance wide to use it >> >> Thanks a lot >> > Yes, you have to put these two lines into your kernel config: > options ACCEPT_FILTER_HTTP > options ACCEPT_FILTER_DATA > Alternatively, you can load the appropriate kernel modules as well. 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? > I think it's better to use these, you might gain a bit in the > performance as you wrote. -- Best regards, Danielmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache 2.2 http accept filter
Ian Lord wrote: Hi, When I start apache2.2, I get the following error: [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter Here is my config In /etc/rc.conf: apache22_enable="YES" apache22 ssl_enable="YES" apache22_http_accept_enable="YES" In /usr/local/etc/apache22/httpd.conf: AcceptFilter http httpready AcceptFilter https dataready Is there anything I am missing in the kernel or somewhere ? Also, is it better to run with or without httpready ? I read it was better performance wide to use it Thanks a lot Yes, you have to put these two lines into your kernel config: options ACCEPT_FILTER_HTTP options ACCEPT_FILTER_DATA Alternatively, you can load the appropriate kernel modules as well. I think it's better to use these, you might gain a bit in the performance as you wrote. -- Cheers, Gabor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache 2.2 http accept filter
Hi, When I start apache2.2, I get the following error: [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter [Sat Aug 19 11:26:50 2006] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter Here is my config In /etc/rc.conf: apache22_enable="YES" apache22 ssl_enable="YES" apache22_http_accept_enable="YES" In /usr/local/etc/apache22/httpd.conf: AcceptFilter http httpready AcceptFilter https dataready Is there anything I am missing in the kernel or somewhere ? Also, is it better to run with or without httpready ? I read it was better performance wide to use it Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"