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.