Apache startup error: the requested operation has failed solution

Source: Internet
Author: User

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. This is depressing because it takes a long time to check the error.
In fact, you can use the command line mode to start Apache with parameters. Apache will prompt you which sentence is incorrect, and then you can solve the problem accordingly. The command is as follows: httpd.exe-w-n "apache2"-K start

There is another situation:
Even if you start this time, you may fail to start it next time.
Enter netsh Winsock Reset
In a moment, CMD will prompt you to restart. Ignore this. Now Apache can be started.
It's actually a Winsock fix.

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.