climateprediction.net home page
Failed to cleanup the Windows Sockets Interface

Failed to cleanup the Windows Sockets Interface

Questions and Answers : Getting started : Failed to cleanup the Windows Sockets Interface
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user20866

Send message
Joined: 25 Sep 04
Posts: 1
Credit: 4,267
RAC: 0
Message 4725 - Posted: 27 Sep 2004, 18:56:56 UTC

Hi, I just installed BOINC about a week ago or so. When I try to run it, I get the error \"Failed to cleanup the Windows Sockets Interface\", in a box labeled \"BOINC GUI Error\". It has an OK button, when I click the message disappears and nothing else appears to happen. BOINC is not listed in my Services panel. I can\'t tell if it\'s actually running or not.

I\'m using Windows XP Version 2002 sp1, Pentium 4 1.60 GHz, 1 GB of RAM, on an HP Pavilion 750. Normally this machine is just a file server; it also sometimes runs SQL Server and a variety of video games.

The only odd things that may apply: I selected the option to run BOINC only when the computer was not in use (I can\'t find this option now to turn it off... maybe it is in the GUI I can\'t start). This computer is subject to power outages during storms (I live in Florida); I don\'t know how many outages have occurred since installation (several, at least).

What steps should I take?
ID: 4725 · Report as offensive     Reply Quote
old_user19861

Send message
Joined: 21 Sep 04
Posts: 1
Credit: 52,847
RAC: 0
Message 4996 - Posted: 3 Oct 2004, 15:03:19 UTC

Same problem here. I live in the UK and there have been no hurricans. BOINC sometimes starts on its own and sometimes doesn,t. I have set up WIndows XP professional on my home computer with two "users". This is so that the limited user only has access to the net. BOINC seems to migrate form one user to the other.

Any suggestions?

Incidentally I tried to install BOINC two weeks ago and had some many warning boxes coming up that not only did I have to uninstall but I had to restore the computer to a restore point on 18th September.
ID: 4996 · Report as offensive     Reply Quote
Profile Thyme Lawn
Volunteer moderator

Send message
Joined: 5 Aug 04
Posts: 1283
Credit: 15,824,334
RAC: 0
Message 5040 - Posted: 4 Oct 2004, 12:43:46 UTC
Last modified: 4 Oct 2004, 13:01:52 UTC

I've just had a look at the BOINC source code, and the "Failure to cleanup the Windows Socket Interface" message isn't as bad as it sounds.

BOINC has detected that it's already running and has closed the new instance. But there's a coding error which means the exit routine calls the socket cleanup function without ever having setup the socket interface, and that's generating the error.

If you have BOINC as an all users <i>and</i> individual user startup item you'll get this error every time you login in. If you're running XP <i>and</i> are in the habit of switching between users <i>and</i> have BOINC as a startup item for all users you'll also get the error box each time you log an extra user in.
<br><a href="http://www.teampicard.net"><img src="http://www.teampicard.net/templates/fisubice/images/phpbb2_logo.jpg"></a><a href="http://climateapps2.oucs.ox.ac.uk/cpdnboinc/team_display.php?teamid=3">Join us here</a>
ID: 5040 · Report as offensive     Reply Quote
Mark McCaghrey

Send message
Joined: 26 Sep 04
Posts: 1
Credit: 538,404
RAC: 0
Message 7401 - Posted: 20 Jan 2005, 10:58:34 UTC - in response to Message 4996.  

&gt; Same problem here. I live in the UK and there have been no hurricans. BOINC
&gt; sometimes starts on its own and sometimes doesn,t. I have set up WIndows XP
&gt; professional on my home computer with two "users". This is so that the limited
&gt; user only has access to the net. BOINC seems to migrate form one user to the
&gt; other.
&gt;
&gt; Any suggestions?
&gt;
&gt; Incidentally I tried to install BOINC two weeks ago and had some many warning
&gt; boxes coming up that not only did I have to uninstall but I had to restore the
&gt; computer to a restore point on 18th September.
&gt;
&gt;
I think this error is caused when you have Fast User switching enabled with an XP computer and BOINC running as a service.

It happens for me when the user is automatically logged off or logs off using switch user and someone else logs on.

The model itself continues to run in the background as a service but it tries to run another instance of the client software which displays the graphics etc. This 2nd instance fails but the original is still running under the auspices of the original user.

This is not the only Windows program that cannot cope with fast user switching, but that is another story!
ID: 7401 · Report as offensive     Reply Quote
[B^S] mavau

Send message
Joined: 30 Aug 04
Posts: 142
Credit: 9,936,132
RAC: 0
Message 7402 - Posted: 20 Jan 2005, 11:23:11 UTC

Thyme Lawn has already answered this.
If you want BOINC to run as a service, you must remove it from your startup folder. If you have several users it must be removed from each ser's startup folder, and from the all users' startup folder as well.

Forum search Site search
ID: 7402 · Report as offensive     Reply Quote

Questions and Answers : Getting started : Failed to cleanup the Windows Sockets Interface

©2024 climateprediction.net