Summary of startup failure errors in Apache

Source: Internet
Author: User
Tags fully qualified domain name

This article summarizes various solutions to Apache startup failure error logs. For more information, see.

Apache startup failure Error Log:
The Apache service named reported the following error:
>>> Httpd.exe: cocould not reliably determine the server's fully qualified domain name, using 192.168.0.210 for ServerName.

Analysis: the server's fully qualified domain name cannot be reliably identified, using 192.168.0.210)

The Apache service named reported the following error:
>>> (OS 10055) the operation on the socket cannot be performed because the system buffer space is insufficient or the queue is full. : Make_sock: unable to listen for connections on address 0.0.0.0: 80

Analysis: cannot listen on port 80

The Apache service named reported the following error:
>>> Unable to open logs

Analysis: Port 80 is occupied

The Apache service named reported the following error:
>>> [Sun May 13 09:29:45 2012] [warn] NameVirtualHost 192.168.0.210: 80 has no VirtualHosts

Analysis: The Bound IP address and port cannot correspond to the virtual host

Overview of General errors:
From the above error analysis, we can see that:

Port 1.80 is occupied

2. apache cannot bind an IP address (192.168.0.210)

3. log files may not be opened

Solution Process:
1. winsock problems cause:
1. Select "Network Neighbor"> "Local Connection"> "properties"> "internet Protocol" (TCP/IP)> "properties"> "advanced"> "wins tag"> remove the check box before enabling the LMhosts query.

2. Select "Control Panel"> "windows Firewall"> "Advanced tab"> "local connection settings"> "service", and select "Secure Web Server (HTTPS.

3. Reset the LSP to the initial state (winsockfix is a common software, which can also be solved by Jinshan cleaning expert's LSP Repair Tool ). After restart, the problem must be solved. (You can directly use the LSP that comes with 360 to restore to the initial state without restarting to take effect)

2. Multiple NICs and multiple IP addresses cause:
The server has two NICs with different IP addresses configured. apache does not specify a listening IP address.

Solution:

Method 1: Disable the unused Nic

Method 2: configure the port of the specified IP address for apache listening:

Listen 192.168.0.210: 80

Port 3.80 is occupied:
Find the port 80 occupied by the application, disable the port used by the application, or modify the port used by the software.

 

Related Article

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.