apache启动报错:the requested operation has failed解决办法

2016-09-25服务器
44

原因一:80端口占用
例如IIS,另外就是迅雷。我的apache服务器就是被迅雷害得无法启用!

原因二:软件冲突
装了某些软件会使apache无法启动如Dr.com 你打开网络连接->TcpIp属性->高级->WINS标签 把netbios的lmhosts对勾去掉,禁用tcp/ip的netbios. 然后再启动应该就可以了。

原因三:httpd.conf配置错误
如果apache的配置文件httpd.conf搞错了,在windows里启动它,会提示the requested operation has failed ,这是比较郁闷的事,因为查错要看个半天。
其实可以用命令行模式启动apache,并带上参数,apache会提示你哪句有误,然后就可以针对性的解决,命令如下: httpd.exe -w -n "Apache2" -k start

还有一种情况:
即使你这次启动了,下次你都有可能启动失败
在运行里输入:netsh winsock reset
一会儿cmd会提示你重启,不用理会,现在APACHE已经可以启动了。
其实就是一个winsock的修复
The End
led led设备

相关推荐

Apache 本地服务器启动后又自动停止解决办法
setup_inherited_listeners(), WSASocket failed to open the inherited socket...
2016-09-25 服务器
25

apache启动报错:the requested operation has failed解决办法
apache启动报错:the requested operation has failed解决办法...
2016-09-25 服务器
44

linux服务器中的远程访问问题小结
在php程序中运用fopen或者socket的时候,报一下错误php_network_getaddresses: getaddrinfo failed: Temporary failure in name...
2016-09-25 服务器
9

apache启动报 shmget() failed: Invalid argument的解决方法
在apache启动时报错:“shmget() failed: Invalid argument”,如何解决呢?这里简单分享下,方便需要的朋友...
2016-09-25 服务器
49

apache启动报错:httpd: apr_sockaddr_info_get() failed
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName...
2016-09-25 服务器
10

Rsync ERROR: auth failed on module解决方法
今天在两台服务器同步备份在用户权限上纠结了很多,主要关于这个问题网上的配置方法不一,源自rsync版本不一致,这里简单总结下,方便需要的朋友...
2016-09-25 服务器
112