Apache2 still failed to start when I started it today. I thought it was another 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) An invalid argument was supplied. : 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) An invalid parameter was supplied.
-------------------------------------------------- ----------------------------------
The solution to this error is as follows:
1. My Network Places->Local Area Connection->Properties->internet Protocol (TCP/IP)->Properties->Advanced->wins Label->Remove Enable LMhosts Query (I don’t have this on my computer’s Just select a secure web server (HTTPS). (I tried this but it didn’t work...)
(There are still problems after completing the above and next two items, select: Enable NetBOIS over TCI/IP.
I used the above two methods to solve the problem. I tried the third method below and it was successful!
3. Repair winsock and enter: netsh winsock reset