Apahce error message: the requested operation has failed

Source: Internet
Author: User
Tags first row

Find the solution:

Run cmd to enter the bin directory of apache. Enter httpd.exe-w-n "Apache2.2"-k start

When I saw this brother, I laughed. It turned out that the first row had a problem. When I found the problem, I knew the second row.

The DocumentRoot "D:/www/demo" directory does not exist.

After that, my brother deleted this file and moved normally. Later, he realized that the demo folder under the www Directory of the server master was deleted.

The configuration in http. conf is not deleted.

No problem after restart


If you do not want to run ddos commands, you can install apache, open httpd. conf, and modify the wrong address.


Later, some apache prompts were found on the Internet.The requested operation has failedReason summary


Cause 1: Port 80 occupied
For example, IIS and Thunder. My apache server cannot be enabled due to thunder!

Cause 2: software conflict
If some software is installed, apache cannot be started, such as Dr.com. You can open the network connection-> TcpIp properties-> Advanced-> WINS tag to remove the lmhosts check of netbios and disable netbios of TCP/IP. and then start it.

Cause 3: httpd. conf configuration error
If the apache configuration file httpd. conf is incorrect and you start it in windows, the system prompts the requested operation has failed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.