Apache starts the error: The requested operation has failed solution _linux

Source: Internet
Author: User
Reason one: 80 port occupancy
For example, IIS, the other is thunder. My Apache server is the Thunder damage can not be enabled!

Reason two: Software conflicts
The installation of some software will prevent Apache from starting as dr.com you turn on the network connection->TCPIP Properties-> Advanced->wins tag to remove NetBIOS Lmhosts to disable TCP/IP NetBIOS. And then the start should be on it.

Reason three: httpd.conf configuration error
If the Apache configuration file httpd.conf wrong, start it in Windows, will prompt the requested operation has failed, this is more depressing thing, because check the wrong to see a half-day.
In fact, you can use the command line mode to start Apache, and with the parameters, Apache will prompt you which sentence is wrong, and then can be targeted to resolve, the order is as follows: Httpd.exe-w-n "Apache2"-K Start

There is also a situation:
Even if you start this time, you might fail to start the next time.
Input in run: netsh winsock reset
In a moment, CMD will prompt you to reboot, don't bother, now Apache can start.
is 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.