Home >Backend Development >PHP Tutorial >Common errors encountered when FreeBSD runs apache
小wolf@http://blog.csdn.net/xiaolangyangyang
1. Error:
No such file or directory: Failed to enable the ' httpready ' Accept Filter
2. Error:Solution: /etc/rc.conf computer.
Address already in use: make_sock: could not bind to address [::]:80
Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
The first solution:
freeBSD_fuwuqi2# ps -aux | grep "httpd"
root 1345 0.0 0.7 15992 6912 ?? Ss 9:07PM 0:00.19 /usr/local/sbin/httpd
www 1388 0.0 0.7 15992 6932 ?? I 9:07PM 0:00.01 /usr/local/sbin/httpd
www 1389 0.0 0.7 15992 6932 ?? I 9:07PM 0:00.00 /usr/local/sbin/httpd
www 1390 0.0 0.7 15992 6932 ??www 1391 0.0 0.7 15992 6932 ?? I 9:07PM 0:00.01 /usr/local/sbin/httpd
www 1392 0.0 0.7 15992 6932 ?? I 9:07PM 0:00.01 /usr/local/sbin/ httpdroot 1613 0.0 0.1 9748 1216 0 R+ 9:10PM 0:00.00 grep httpdfreeBSD_fuwuqi2# kill 1392
freeBSD_fuwuqi2# kill 1391freeBSD_fuwuqi2# kill 1390
freeBSD_fuwuqi2# kill 1389freeBSD_fuwuqi2# kill 1388
freeBSD_fuwuqi2# kill 1345freeBSD_fuwuqi2# /usr/local/apache/bin/apachectl -k start
Second solution:
freeBSD_fuwuqi2# sockstat - 41
freeBSD_fuwuqi2# kill ……freeBSD_fuwuqi2# /usr/local/apache/bin/apachectl -k start
The above introduces the errors often encountered when running apache on FreeBSD, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.