Perfect solution: Apache startup-(OS10022) provides an invalid parameter

Source: Internet
Author: User
This article provides a detailed analysis of the Apache startup problem (OS10022) with an invalid parameter solution. For more information, see Apache

Starting apache2 today is always unable to start. I thought it was a port problem. but later I checked that there was no port occupation problem, so I checked the error log. As follows:
[Sat Jun 20 03:12:52 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Sat Jun 20 03:12:52 2009] [notice] Server built: Dec 10 2008 00:10:06
[Sat Jun 20 03:12:52 2009] [notice] Parent: Created child process 2676
[Sat Jun 20 03:12:53 2009] [notice] Child 2676: Child process is running
[Sat Jun 20 03:12:53 2009] [crit] (OS 10022) provides an invalid parameter. : Child 2676: setup_inherited_listeners (), WSASocket failed to open the inherited socket.
[Sat Jun 20 03:12:53 2009] [crit] Parent: child process exited with status 3 -- Aborting.
(Operating system 10022) provides an invalid parameter.
The solution to this error is as follows:
1. network neighbors-> Local connection-> Properties-> internet Protocol (TCP/IP)-> Properties-> Advanced-> wins tag-> remove the check box before enabling LMhosts query. (This is not on the Windows XP system of my computer ...)
2. choose "control panel"> "windows Firewall"> "Advanced tab"> "local connection settings"> "service", and select "secure Web server (HTTPS. (I tried this but it didn't work ...)
(The preceding two items are still faulty. Select: enable NetBOIS on TCI/IP.

I did not solve the problem using the above two methods. I tried the third method below and succeeded!
3. Fix winsock and enter netsh winsock reset in the run.

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: 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.