Solution to "the specified network name is no longer available" in Apache logs

Source: Internet
Author: User

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.

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.