简洁的想法

仁爱、喜乐、和平、忍耐、恩慈、良善、信实、温柔、节制

FC下apache 不能启动的解决方案

| Comments

察看:/usr/local/apache/logs/error_log
错误信息如下:
"Address already in use: make_sock: could not bind to port 80"

用netstat察看80端口的情况:
# netstat -tulpn| grep :80

如果 80端口被 httpd 占用,全杀:
# killall -9 httpd

重启Apache:
# /etc/init.d/httpd start

搞定!

Comments