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().”


3 Responses

  1. thanks a lot…

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

  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?

  3. Hi, I just hopped over to your website thru StumbleUpon. Not somthing I would usually browse, but I enjoyed your thoughts none the less. Thanks for creating some thing well worth reading through.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: