日期:2014-05-16 浏览次数:21028 次
apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
1.netstat -lnp|grep 80
tcp??????? 0????? 0 192.168.180.68:61027??????? 0.0.0.0:*?????????????????? LISTEN????? 6289/oproxyd???????
tcp??????? 0????? 0 :::80?????????????????????? :::*??????????????????????? LISTEN????? 846/httpd??????????
tcp??????? 0????? 0 ::ffff:192.168.180.68:7001? :::*??????????????????????? LISTEN????? 32015/java????????
找到pid 846
#ps 846
查看
#kill -9 846
杀掉
#./apachectl start
启动成功
?
?apache报错[warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
发现是linux的mod_jk.so不小心用成win32版的了,重新下载linux版的文件替换就可以了