Help solving apache Error OS 10038

Discussion in 'Site & Server Administration' started by krillz, Feb 14, 2010.

  1. #1
    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)
    - Win32DisableAcceptEx in httpd.conf

    Win32DisableAcceptEx produced a new error:
    [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.
    ------------------------------------------------------------

    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

    ProtoLocal 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 ?
     
    krillz, Feb 14, 2010 IP
  2. krillz

    krillz Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could any mod move it to Apache subforum, I accidentally posted in wrong forum.
     
    krillz, Feb 14, 2010 IP