Wednesday, May 6, 2009

Apache Error - localhost not working

Well, I've installed Apache 2 on my WinXP system. I currently use Windows Firewall & have checked to make sure it is not blocking Apache. I've tried both AppServ and XAMPP, and I got same error.

I can't find my localhost in the web browser & I've found the size of error log is 200MB with following message in the error log:

[Tue Oct 26 19:33:30 2008] [notice] Parent: Created child process 2384
[Tue Oct 26 19:33:31 2008] [notice] Child 2384: Child process is running
[Tue Oct 26 19:33:31 2008] [notice] Child 2384: Acquired the start mutex.
[Tue Oct 26 19:33:31 2008] [notice] Child 2384: Starting 250 worker threads.
[Tue Oct 26 19:33:31 2008] [error] (OS 10038)An operation was attempted on something that is not a socket. : Child 2384: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.

This problem can be solved easily, follow this step :
1. On the top of httpd.conf
2. Write this on a separate line : Win32DisableAcceptEx
3. Save the file
4. Restart the apache service
5. Finish

No comments:

Post a Comment