Error after updating Apache for FreeBSD box

Asked By 10 points N/A Posted on -
qa-featured

I received an error after successfully updated my Apache for FreeBSD box.

#apachectl stop

#apachectl start

[warn] (2)No such file or directory: Failed to enable the 'dataready' Accept Filter

Any fix for this?

SHARE
Best Answer by Galarpe Miloni
Answered By 0 points N/A #100267

Error after updating Apache for FreeBSD box

qa-featured

Depending on your shell, run either or This will find the newly installed binaries.

Best Answer
Best Answer
Answered By 0 points N/A #100268

Error after updating Apache for FreeBSD box

qa-featured

FreeBSD has a special driver called accf_http. To speed up and optimize performance, it usually buffers incoming connections until a certain complete HTTP request arrives. The uaccf_http utilize a server efficiently.  It makes sure that a server not has to context switch several times before performing the primary parsing of the request.

The amount of required CPU utilization has reduced effectively; It keeps active processes in the prefork server to handle incoming requests. Such as Apache server, it manages interfaces such as poll(), select(), or kevent () based servers to reduce the size of the file descriptor.

To load accf_http driver, you have to open the shell prompt and type the commands below:

  • Under FreeBSD : # kldload accf_http.
  • Writing the code  #/usr/local/etc/rc.d/apache22 restart  to restart the Apache then press enter.
  • Type this again Update /boot/loader.conf file and press enter.
  • Then type # echo 'accf_http_load="YES"' >> /boot/loader.conf.

By this you were able load the driver at the time of booting. Now restart the system.

Answered By 10 points N/A #100269

Error after updating Apache for FreeBSD box

qa-featured

Thanks Galarpe Miloni. I never thought FreeBSD box had that kind of feature. You didn't only help me but you also gave me quite interesting information. I followed your steps, typed what is needed. After rebooting the system, I didn't receive any error any more. Thanks.

Related Questions