Errors frequently encountered by FreeBSD when running apache

Source: Internet
Author: User
: This article mainly introduces errors frequently encountered by FreeBSD when running apache. For more information about PHP tutorials, see. Errors frequently encountered by FreeBSD when running apache

Wolf @ http://blog.csdn.net/xiaolangyangyang

1. error:

No such file or directory: Failed to enable the 'httpready' Accept Filter

Solution:/etc/rc. conf

accf_data_load="YES"accf_http_load="YES"apache22_enable="YES"apache22_http_accept_enable="YES"

Restart the computer.

2. error:

Address already in use: make_sock: cocould not bind to address [:]: 80

Address already in use: make_sock: cocould not bind to address 0.0.0.0: 80

No listening sockets available, shutting down

Unable to open logs

Solution 1:

FreeBSD_fuwuqi2 # ps-aux | grep "httpd"

Root 1345 0.0 0.7 15992 6912 ?? Ss PM. 19/usr/local/sbin/httpd

Www 1388 0.0 0.7 15992 6932 ?? I PM. 01/usr/local/sbin/httpd

Www 1389 0.0 0.7 15992 6932 ?? I PM. 00/usr/local/sbin/httpd

Www 1390 0.0 0.7 15992 6932 ?? I PM. 00/usr/local/sbin/httpd

Www 1391 0.0 0.7 15992 6932 ?? I PM. 01/usr/local/sbin/httpd

Www 1392 0.0 0.7 15992 6932 ?? I PM. 01/usr/local/sbin/httpd

Root 1613 0.0 0.1 9748 1216 0 R + PM. 00 grep httpd

FreeBSD_fuwuqi2 # kill 1392

FreeBSD_fuwuqi2 # kill 1391

FreeBSD_fuwuqi2 # kill 1390

FreeBSD_fuwuqi2 # kill 1389

FreeBSD_fuwuqi2 # kill 1388

FreeBSD_fuwuqi2 # kill 1345

FreeBSD_fuwuqi2 #/usr/local/apache/bin/apachectl-k start

Solution 2:

FreeBSD_fuwuqi2 # sockstat-41

FreeBSD_fuwuqi2 # kill ......

FreeBSD_fuwuqi2 #/usr/local/apache/bin/apachectl-k start

The above describes the errors frequently encountered by FreeBSD when running apache, including related content, and hope to help those who are interested in PHP tutorials.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.