Perfect solution :Apache startup problem of OS 10022 provides an invalid parameter

  • 2020-06-07 04:07:15
  • OfStack

Today, starting apache2 still fails to start. I thought it was another port problem, but later I checked that there was no port occupancy 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) provided 1 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.
(OS 10022) provides 1 invalid parameter.
--------------------------------------------------------------------------------
The solution to this error is as follows:
1. Online neighbors - > Local connection - > Property - > internet protocol (TCP/IP) - > Property - > Advanced - > wins tags - > Remove the check box before LMhosts is enabled (this is not on my own xp system...)
2. Control panel - > windows Firewall - > Advanced label - > Local connection Settings - > Check security Web server (HTTPS) in the service TAB.
(This is still a problem with the next two items. Select: Enable NetBOIS on TCI/IP.

I did not solve the problem with the above two methods, try the following 3, success!
3. Fix winsock, enter netsh winsock reset in run

Related articles: