Help solving apache Error OS 10038
Posted by: krillz (---.cust.bredband2.com)
Date: February 14, 2010 01:09PM

Hey, so I've come a cross a new problem that I've been trying to solve for the past 2 days using various methods I myself came up with or that I googled. Basically when I try to start apache I get a massive error log on 20 MB filled with the beneath Error:

[error] (OS 10038)An operation was attempted on something that is not a socket. : Child 3600: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.


My Sys Specs along with other stuff:

- Win Xp 64 bit with SP 2.
- AVG Internet Security 9
- No VoIP applications installed.
- Had had apache and wamp package up and running on this system many times before with no glitches.


This is what I've tried so far:

- Disabling/uninstalling Firewall/antivirus.
- Restored TCP/IP windows services.
- Tried winSockXP Fix.
- Checked netstat for applications using the :80 port (none found except httpd.exe as shown in the netstat info below)
- Tried changing apache listening ports (no success).
- Tried 2 earlier versions of apache ( same error).
- Restored system registry ( no affect)

Checked the System log files; found nothing interesting a part from this maybe:

¤ WinHttpAutoProxySvc: The WinHTTP Web Proxy Auto-Discovery Service suspended operation.

¤ TCP/IP has reached the security limit imposed on the number of concurrent TCP connect attempts.





Below Netstat results:



####
Netstat before I turn on wamp:

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 712
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 448
TCP 127.0.0.1:1029 0.0.0.0:0 LISTENING 2524
TCP 127.0.0.1:1183 127.0.0.1:1184 ESTABLISHED 3696
TCP 127.0.0.1:1184 127.0.0.1:1183 ESTABLISHED 3696
TCP 127.0.0.1:1185 127.0.0.1:1186 ESTABLISHED 3696
TCP 127.0.0.1:1186 127.0.0.1:1185 ESTABLISHED 3696
TCP 127.0.0.1:10110 0.0.0.0:0 LISTENING 2044
TCP 192.168.0.193:139 0.0.0.0:0 LISTENING 4
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 448
UDP 0.0.0.0:1027 *:* 2044
UDP 0.0.0.0:1049 *:* 2780
UDP 0.0.0.0:4500 *:* 448
UDP 0.0.0.0:9303 *:* 4
UDP 127.0.0.1:123 *:* 860
UDP 127.0.0.1:1051 *:* 2780
UDP 127.0.0.1:1900 *:* 860
UDP 192.168.0.193:123 *:* 860
UDP 192.168.0.193:137 *:* 4
UDP 192.168.0.193:138 *:* 4
UDP 192.168.0.193:1900 *:* 860

----------------------------------------------------------------

####
Netstat after wamp is on: ( PID 4060 is httpd.exe *32)

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4060
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 712
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 448
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 2896
TCP 127.0.0.1:1029 0.0.0.0:0 LISTENING 2524
TCP 127.0.0.1:1183 127.0.0.1:1184 ESTABLISHED 3696
TCP 127.0.0.1:1184 127.0.0.1:1183 ESTABLISHED 3696
TCP 127.0.0.1:1185 127.0.0.1:1186 ESTABLISHED 3696
TCP 127.0.0.1:1186 127.0.0.1:1185 ESTABLISHED 3696
TCP 127.0.0.1:10110 0.0.0.0:0 LISTENING 2044
TCP 192.168.0.193:139 0.0.0.0:0 LISTENING 4
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 448
UDP 0.0.0.0:1027 *:* 2044
UDP 0.0.0.0:1049 *:* 2780
UDP 0.0.0.0:4500 *:* 448
UDP 0.0.0.0:9303 *:* 4
UDP 127.0.0.1:123 *:* 860
UDP 127.0.0.1:1051 *:* 2780
UDP 127.0.0.1:1900 *:* 860
UDP 192.168.0.193:123 *:* 860
UDP 192.168.0.193:137 *:* 4
UDP 192.168.0.193:138 *:* 4
UDP 192.168.0.193:1900 *:* 860

--------------------------------------

So I'm quite stuck now, any ideas on what to try next ?

Options: ReplyQuote
Re: Help solving apache Error OS 10038
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: February 14, 2010 01:21PM

did u do the one thing it sed to do

Win32DisableAcceptEx

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Help solving apache Error OS 10038
Posted by: krillz (---.cust.bredband2.com)
Date: February 14, 2010 01:28PM

Yes of course I did, should have added the error when doing that as well I guess:

[notice] Disabled use of AcceptEx() WinSock2 API
[notice] Child 2968: Child process is running
[notice] Child 2968: Acquired the start mutex.
[notice] Child 2968: Starting 64 worker threads.
[notice] Child 2968: Listening on port 80.
[error] (OS 10038)An operation was attempted on something that is not a socket. : Too many errors in select loop. Child process exiting.
[notice] Child 2968: Exit event signaled. Child process is ending.

Options: ReplyQuote
Re: Help solving apache Error OS 10038
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: February 14, 2010 01:37PM


Options: ReplyQuote
Re: Help solving apache Error OS 10038
Posted by: krillz (---.cust.bredband2.com)
Date: February 14, 2010 04:58PM

stevenmartin99 Wrote:
-------------------------------------------------------
> add me to msn if u like.
>
> stevenmartin99@hotmail.com


So as you could see some wierd voodoo stuff is going on.

Options: ReplyQuote
Re: Help solving apache Error OS 10038
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: February 14, 2010 07:32PM

sorry had to go... yes this is a weird issue. Wamp is confirming it is attached to any port including port 80 , when it is not.

As you could see teamviewer was using port 80 and wamp still sed it was using it. This is not normal.

I would sugest you try a reinstall.

uninstall wamp. then delete the whole c:/wamp folder . Download again. Install

I tought it was a pc issue. but looks like it cud be a wamp issue now.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.