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.