apache:the requested operation has failed

Apache的图像界面很不友好,出错比较难辨别,今天启动apache,突然不能正常启动。提示the requested operation has failed。花了半天时间研究有点眉目了。

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe -w -n "Apach
e2.2" -k start
httpd.exe: Could not reliably determine the server's fully qualified domain name
, using 27.26.42.133 for ServerName
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : make_sock: c
ould not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Note the errors or messages above, and press the <ESC> key to exit.  11...


运行-》cmd 进入到apache的bin目录。输入httpd.exe -w -n "Apache2.2" -k start

会提示配置文件的具体那行出错。找起来就方便多了(我这里是其他程序占用了80端口)。注:命令里的"Apache2.2"是系统服务里apache服务的名称。及时换成你的。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值