最近在安裝一台新的 server ,使用的是 FreeBSD 6.2 release,在安裝好系統,做完了 make installworld 等等工作以後,開始裝上一些網路服務。以往安裝的都是 apache 1.x + php4.x + mysql 4.1x,這一台想說裝裝 apache 2.x + php5.x + mysql 5.x 這一種組合好了。在裝完 apache 2.x ,啟動後,一直出現以下的訊息。

Failed to enable the 'httpready' Accept Filter

看了一下設定並沒有弄錯呀!百思不得其解!後來找了一下資料,原來要這樣做:

Add the HTTP Accept Filter FreeBSD kernel module (accf_http).

  • Change the Log level for this to debug. (or don't even log it)
  •  The entire AcceptFilter/TCP_DEFER_ACCEPT code needs to be refactored to properly work with different protocols.

解決方法有兩個:

  • 在 /boot/loader.conf 加入一行
    accf_http_load="yes"
  • 編譯 kernel 時在   options INET  底下加入
    options ACCEPT_FILTER_HTTP

就可以解除這個訊息!

原文取自 http://jerome.anyday.com.tw/archives/64 


arrow
arrow
    全站熱搜

    Frank 發表在 痞客邦 留言(0) 人氣()