FreeBSD亞帕基印第安人HTTP受理過濾器錯誤

當Apache Web Server在FreeBSD系統時起動,亞帕基印第安人裝載得succcessfully和網絡服務器適當地起作用,但以下警告錯誤生成:

[警告] (2)沒有這樣文件或目錄:
沒使能`httpready』受理過濾器

決議到上述問題是到accf_http模塊,作用是緩衝傳入連接,直到某些完全HTTP請求到達,入FreeBSD仁通過使用仁連接器:

kldload accf_http

永久地裝載使HTTP受理過濾器FreeBSD仁模塊(accf_http),增加以下線入/boot/loader.conf :

accf_http_load=」是」

注: 缺省設置位於/boot/defaults/loader.cnf。 要看相關設置關於accf,使用:

grep accf /boot/defaults/loader.conf

哪些意志退回:

accf_data_load=」沒有」 #等待數據受理過濾器
accf_http_load=」沒有」 #等待充分的HTTP請求受理過濾器

重要: 這是現狀提供,不用保單的機器翻譯的頁。 計算機翻譯也許是難瞭解。 參見 原始的英國文章 每當可能。

分享并且貢獻或者得到技術支持并且幫助在 我的數字式生活論壇.



22 Responses to “FreeBSD Apache HTTP Accept Filter Error”

  1. Chris
    May 14th, 2006 20:52
    1

    Thanks for posting this article, it saved me alot of time tracking down that error message.
    –Chris

  2. Bruce
    May 19th, 2006 10:02
    2

    ditto. Good job. Its quite difficult getting information on this one. thanks again.

    Bruce

  3. Mark Mieczkowski
    June 10th, 2006 01:17
    3

    Thanks for the tip. However, I don’t want to run httpd as root, for security reasons (it’s not a web server just a svn server). If I switch to a non privlaged user this error comes back. Do I have to turn request buffering off?

  4. me
    September 6th, 2006 11:23
    4

    thanks!

  5. Trey Hunsucker
    October 25th, 2006 00:58
    5

    TY very much for the info, resolved my issue ;)

  6. Erro do Apache HTTP Filter
    November 18th, 2006 02:56
    6

    [...] Faça uma visita rápida ao My Digital Life… [...]

  7. kiki
    January 23rd, 2007 16:44
    7

    thankz a lot :)

  8. Kean Lau
    April 1st, 2007 22:23
    8

    Thanks! That saved me probably a few hours of trouble shooting. This is the ONLY article that Google matched for the httpready accept filter problem.

    For those of you who want to run Apache as non-root, make sure that you set the PidFile and LockFile attributes in your httpd.conf to a directory that you non-root account can write to.

  9. links for 2007-04-28 « PaxoBlog
    April 29th, 2007 07:18
    9

    [...] FreeBSD Apache HTTP Accept Filter Error » My Digital Life or directory: Failed to enable the ‘httpready’ Accept Filter /boot/loader.conf: accf_http_load=”YES” [...]

  10. rakhesh, deblogged » Blog Archive » FreeBSD: “httpready” errors
    May 16th, 2007 12:57
    10

    [...] Courtesy § [...]

  11. haizum
    May 27th, 2007 21:38
    11

    thanks alot, it’s save my work ! :)

  12. mig
    May 31st, 2007 19:22
    12

    big tx :)

  13. Just a bunch of notes … » FreeBSD “httpready” errors
    July 9th, 2007 18:00
    13

    [...] is loaded on subsequent reboots (by adding it to the “loader.conf” file). Thanks to My Digital Life too. Posted in Apache, [...]

  14. ChrisP
    November 7th, 2007 23:07
    14

    Adding to /boot/loader.conf will make the change permanent, but if you fancy testing this change out without rebooting your system, you can run this: -


    # kldload accf_http

    You can see that it’s been loaded by doing: -


    # kldstat
    Id Refs Address Size Name
    1 5 0xc0400000 6f6544 kernel
    2 1 0xc41f6000 2000 accf_http.ko <-- you just loaded this module!

    You can now restart Apache and see that your previous error is no longer.

  15. joe
    December 4th, 2007 09:57
    15

    and if you have your apache running
    in a jail, and wish not to touch the
    host, what would you recommend?

  16. theorem
    December 29th, 2007 13:57
    16

    awesome, thank you for fixing this problem !!

  17. theorem
    May 11th, 2008 11:50
    17

    thank you thank you ! So happy that you posted this fix !

  18. johan
    July 11th, 2008 15:26
    18

    You’re a genious!! Solved in 5 minutes instead of 5 hours.

  19. Aaron Martinez » Blog Archive » Failed to enable the ‘httpready’ Accept Filter
    July 12th, 2008 02:32
    19

    [...] “[warn] (2)No such file or directory: Failed to enable the ‘httpready’ Accept Filter” error when starting apache with FreeBSD. Fix is here. [...]

  20. Lenine
    July 16th, 2008 17:59
    20

    rc.d script for apache now manage this kernel module
    Just add
    apache22_http_accept_enable=”YES”
    to your rc.conf

  21. Apache, PHP, Mysql i Zend Framework | Putešestvije moje
    August 7th, 2008 20:13
    21

    [...] http://www.mydigitallife.info/2006/04/23/freebsd-apache-http-accept-filter-error/ [...]

  22. BD
    August 8th, 2008 13:27
    22

    I just got a new jail on FreeBSD 7.0, and installed apache, I got the error when starting apache, so I tried to follow the advice here, but when I tried to add this line accf_http_load=”YES”

    to /boot/loader.conf

    I got this error: Read-only file system.

    I tried to run the mount command to make the file read/writalbe, but I got
    fstab: /etc/fstab:0: No such file or directory

    Am I missing fstab file? How do I edit the file?

    Thanks,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

failed to enable the 'httpready' accept filter - No such file or directory: Failed to enable the 'httpready' Accept Filter - [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter - Failed to enable the \'httpready\' Accept Filter - Failed to enable the 'httpready' Accept Filter - No such file or directory: Failed to enable the \'httpready\' Accept Filter - (2)No such file or directory: Failed to enable the 'httpready' Accept Filter - httpready Accept Filter - Failed to enable the 'httpready' Accept Filter - )No such file or directory: Failed to enable the 'httpready' Accept Filter - No such file or directory: Failed to enable the 'httpready' Accept Filter - 'httpready' Accept Filter - failed to enable the httpready accept filter - "Failed to enable the 'httpready' Accept Filter" - accf_http_load - [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter - [warn] (2)No such file or directory: Failed to enable the \'httpready\' Accept Filter - "No such file or directory: Failed to enable the 'httpready' Accept Filter" - [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter - freebsd httpready - kldload accf_http - (2)No such file or directory: Failed to enable the 'httpready' Accept Filter - failed to enable httpready accept filter - (2)No such file or directory: Failed to enable the \'httpready\' Accept Filter - httpready freebsd - apache httpready - )No such file or directory: Failed to enable the 'httpready' Accept Filter - Failed to enable the 'httpready' Accept Filter - (2)No such file or directory: Failed to enable the 'httpready' Accept Filter - apache No such file or directory: Failed to enable the 'httpready' Accept Filter - Failed to enable the \'httpready\' Accept Filter - )No such file or directory: Failed to enable the \'httpready\' Accept Filter - httpready filter - Freebsd Failed to enable the 'httpready' Accept Filter - the 'httpready' Accept Filter - httpready' Accept Filter - "Failed to enable the \'httpready\' Accept Filter" - 2)No such file or directory: Failed to enable the 'httpready' Accept Filter - freebsd accf_http - no such file or directory failed to enable the httpready Accept Filter - apache httpready accept filter - o such file or directory: Failed to enable the 'httpready' Accept Filter - no such file or directory: failed to enable the httpready accept filter - No such file or directory: Failed to enable the 'httpready' - kldload accf_http - failed to enable httpready - apache Failed to enable the 'httpready' Accept Filter - Accept Filter - \'httpready\' Accept Filter - httpready' Accept Filter -