为什么我总是得到错误,当我重置我的httpd:
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)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
每次我必须使用sudo fuser -k -n tcp 80 (我不知道它是干什么的)然后它工作..我怎样才能永久解决这个问题?
使用CentOS 6.3
1)查找可能使用端口80的打开的文件
lsof -i :80
2)检查你的apache.conf / httpd.conf指令Listen
3)检查/var/log/httpd/error.log