The requested operation has failed!的解决方法

阅读更多

当配置apache服务器时,经常出现The requested operation has failed!错误,这是一个比较让人头痛的问题,产生该错误的原因可能有很多种,如何找到错误的原因,才是解决问题的关键。

1、进入cmd

2、进入apache安装文件的bin文件夹,如:Program Files\Apache Software Foundation\Apache2.2\bin>

3、执行httpd.exe -w -n "Apache2.2" -k start 注:其中Apache2.2是服务名

我的具体错误为:

Syntax error on line 512 of F:/Program Files/Apache Software Foundation/Apa
2/conf/httpd.conf:
CustomLog takes two or three arguments, a file name, a custom log format st
or format name, and an optional "env=" clause (see docs)
Note the errors or messages above, and press the key to exit. 29...

你可能感兴趣的:(apache,The,requested,operation,has,failed,错误)