the requested operation has failed

  • 原创
  • |
  • 浏览:25890
  • |
  • 更新:

the requested operation,apache报错,apache启动失败,apache the requested 

方法/步骤

  1. 1

    很长一段时间没在业余时间写代码了,昨天晚上启动apache时,居然弹窗:the requested operation has failed,搞了半天居然是前阵子安装SQL Server2005时自动安装了IIS,占用了80端口...

    解决办法:1.更换apache的监听端口;

                      2.停止IIS或更换IIS的监听端口;

  2. 1
    相关内容非法爬取自百度经验
  3. 2

    1.首先找到问题原因:cmd--命令端--切换到apache的bin目录,执行如下命令:httpd.exe -w -n "apache2.2" -k start;

    PS:apache2.2为你的apache服务名称,有的为apache,以自己的为准。

    the requested operation has failed
    the requested operation has failed
  4. 3

    2.如果为OS 10013错误,则说明问题是80端口被占用,先去服务里将IIS关闭掉,然后重启apache,如果还是继续弹窗the requested operation has failed...需要去Internet信息服务里面停止网站;

    the requested operation has failed
  5. 4

    3.计算机--右键--管理--服务和应用程序--Internet信息服务--单击你的计算机名称,单击网站在右侧会显示网站的列表信息;

    the requested operation has failed
    the requested operation has failed
    the requested operation has failed
  6. 5

    4.单击选中网站,在右侧选择绑定单击,编辑端口可以设置为8080或者别的,点击右下角的重新启动。如果IIS没用的话,可以直接关闭,这样重启apache就没问题了;

    如果需要彻底删除IIS的话,请参考这篇文章:

    the requested operation has failed
    the requested operation has failed
    the requested operation has failed
  7. 6

    5.还有一种方法是更换apache的监听端口:apache安装目录--conf--httpd.conf,找到Listen 80,更换为别的端口,如Listen 8080,保存后重启apache。

    the requested operation has failed
    END

注意事项

  • 以上方法仅限于80端口被占用的情况。
经验内容仅供参考,如果您需解决具体问题(尤其法律、医学等领域),建议您详细咨询相关领域专业人士。
作者声明:本篇经验系本人依照真实经历原创,未经许可,谢绝转载。
展开阅读全部