都装了N遍了~~~


不管是apache22还是apache21每在装完后
#apachectl start
httpd: apr_sockaddr_info_get() failed for Hotel.California
httpd: Could not reliably determine the server's fully qualified domain name, us
ing 127.0.0.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs



本来是想在这七天假里学一下PHP,真是伤心啊,
抱着最后的希望来问一下大家,如果不行,只好重装系统了....



有个80的的端口在监听吧,netstat -ant 看下
ps -ax | grep "httpd"
都没有。。。
QUOTE:
原帖由 sunkez 于 2006-10-5 19:18 发表
有个80的的端口在监听吧,netstat -ant 看下
用这个看看
假如看到:
tcp 0 0 *.80 *.* LISTEN
就说明,已经有程序占用了端口
修改下APACHE的应用端口看看 呵呵
好像不是这个原因啊
netstat -ant
CODE:
[Copy to clipboard]
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
udp4 0 0 *.514 *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c1f83348 stream 0 0 0 c1f832bc 0 0 /tmp/.X11-unix/X0
c1f832bc stream 0 0 0 c1f83348 0 0
c1f83230 stream 0 0 0 c1f834ec 0 0 /tmp/.X11-unix/X0
c1f834ec stream 0 0 0 c1f83230 0 0
c1f83118 stream 0 0 0 c1f833d4 0 0 /tmp/.X11-unix/X0
c1f833d4 stream 0 0 0 c1f83118 0 0
c1f83000 stream 0 0 0 c1f8308c 0 0 /tmp/.X11-unix/X0
c1f8308c stream 0 0 0 c1f83000 0 0
c1f83578 stream 0 0 0 c1f83604 0 0 /tmp/.X11-unix/X0
c1f83604 stream 0 0 0 c1f83578 0 0
会员注册
会员登录
个人空间
发表评论