Thursday 12 October 2006

An operation was attempted on something that is not a socket

Yesterday i upgrade (or make new instalation) my Win32-Apache to 2.0. There was an error :
An operation was attempted on something that is not a socket. : Child 4408: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.

It was time consuming for me :(. But here is the solution:

  1. open file: httpd.conf in directory: apache2conf

  2. add line: Win32DisableAcceptEx to the file: httpd.conf

  3. save file: httpd.conf

  4. restart the apache


(thanks to jenggot)

fyi (from: Apache2Triad Help, Support and Development):

"AcceptEx() is a Microsoft WinSock v2 API that provides some performance improvements over the use of the BSD style accept() API in certain circumstances. Some popular Windows products, typically virus scanning or virtual private network packages, have bugs that interfere with the proper operation of AcceptEx(). If you encounter an error condition like:

[error] (730038)An operation was attempted on something that is not a socket.: winnt_accept: AcceptEx failed. Attempting to recover.


you should use this directive to disable the use of AcceptEx()."

2 comments:

  1. thanks a lot...

    It's a great help. My frustrating days has over.

    ReplyDelete
  2. It's the first time I commented here and I must say you share genuine, and quality information for bloggers! Great job.
    p.s. You have an awesome template for your blog. Where have you got it from?

    ReplyDelete

Kata Kunci

Adventure (40) inspirasi (23) manajemen (12) teknologi (11) Collection (7) automotif (6) movie (6) tips (5) Fun (4) tutorial (4) financial (3) kuliner (1)