I sometimes find that the network name specified by [Fri Mar 16 17:28:49 2007] [warn] (OS 64) is no longer available in my apache logs. : Winnt_accept: Asynchronous AcceptEx failed. For this type of error, I will share the solution below.
Error Analysis
The network name specified by [Fri Mar 16 17:28:50 2007] [warn] (OS 64) is no longer available. : Winnt_accept: Asynchronous AcceptEx
Failed.
AcceptEx () is a group of commands in Microsoft WinSock v2 API to improve network efficiency. In addition, on Windows, it seems quite possible to ask questions.
Question
Solution
Add Win32DisableAcceptEx to httpd. conf.
As the name suggests, Win32DisableAcceptEx is the command to disable the AcceptEx () function in Windows.
To disable AcceptEx (), you only need to find the segment in httpd. conf and add Win32DisableAcceptEx.
The Code is as follows: |
Copy code |
<IfModule mpm_winnt.c> Win32DisableAcceptEx # Add this line ThreadsPerChild 250 MaxRequestsPerChild 0 </IfModule>
|
Restart Apache and solve the problem of "the specified network name is no longer available". If the problem persists, refer to the following.
Method
Refer to the following Configuration:
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. log out of Apache and start Apache again. At first, I did not quit. I restarted it directly. That is, I cannot. I must stop it first.
Start
Win32DisableAcceptEx command
Use accept () instead of AcceptEx () to accept Network Connections
Syntax: Win32DisableAcceptEx
The default value of AcceptEx () is the default value. Using this command will disable it.
Scope server config
Status MPM
Module mpm_winnt
Compatibility is only available in Apache 2.0.49 and later versions.