Analysis of the possible causes of Apache's inability to start and its countermeasures _linux

Source: Internet
Author: User
When you encounter Apache that cannot be started, you can analyze the problem by referring to the following possible causes.

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

Another situation:

Even if a startup succeeds, the next time it may fail to start, how to solve it?

Running input: netsh winsock reset

In a moment, CMD will prompt you to reboot, don't bother, now Apache can start.

The above is actually done with a Winsock fix.

Hopefully the above approach will help you solve the problem that Apache can't start.

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.