Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I try to start apache server on my local development computer I get prompted an error message as follows:

The requested operation has failed

httpd.conf was not tampered with. How do I set it up to work?

share|improve this question

closed as off topic by Mircea Vutcovici, Zoredache, mdpc, Dennis Kaarsemaker, Ward Jun 5 '13 at 18:14

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Do you see anything helpful in /var/log/httpd/error_log? – Christopher Karel Feb 4 '10 at 16:10
I don't have that directory (var) inside my Apache installation. – Ron Feb 4 '10 at 16:11
I lold at this ^ – Jorge Fuentes González Jun 30 '13 at 19:49

This is usually caused by one of two problems:

  1. You already have something running on Port 80. It's most common that your development box has IIS installed on it, and IIS is using port 80. You can solve this issue by any of:

    • stopping the IIS service ("World Wide Web Publishing Service")
    • changing the binding on the IIS site
    • uninstall IIS (or remove the Feature in Vista/2008 or newer OSes)
  2. The Apache service is disabled. Open services.msc and check the Apache service, make sure it's not disabled. It should be set to Manual or Automatic start-up, depending on your environment.

share|improve this answer

Check the path in services.msc relating to Apache (default is Apache2.2 I think) to see if it matches path to your httpd.exe.

That fixed it for me.

share|improve this answer
Where did you see that invisible tag about Windows? :) – 0xC0000022L Mar 6 '12 at 22:59
That's a Windows service error. This is likely an WAMP stack or similar. – Chris S Jun 5 '13 at 13:22

if apache is not starting and getting error "Requested operation failed"

go to the command prompt : services.msc search for Apache> right click and select properties. In the General tab one startup type drop down is there. Change it to Automatic and click Apply. Then Start button will get enabled.

share|improve this answer
What operating system is this? It might not match what OP has... – vonbrand Apr 4 '13 at 10:07