Message boards : Questions and problems : Cannot connect to localhost
Message board moderation
Author | Message |
---|---|
Send message Joined: 25 Jun 10 Posts: 4 |
Hello everybody I am not a very advanced user. I just downloaded boinc ver. 6.10.56 of boinc manager for Win7 x64. As far as I can tell the boinc manager cannot connect to localhost. I have created exceptions for all of the boinc executables in windows firewall and still the same. I also found somewhere that it can help to change the properties of the boinc program folder to deactivate "read only" status. That I could not do. If I change it and look at properties again, it goes back to the way it was before. In the stderrgfx.txt file it says: TRACE [3812]: RPC_CLIENT::init connect 2: Winsock error '10061' Sorry if this question has been asked to death, but I could not find anything that would help me in the forums. I would appreciate any help you can give. |
Send message Joined: 25 Jun 10 Posts: 4 |
Thanks for the reply. Forgot that little detail. Boinc.exe runs for a few seconds, maybe ten, and then stops. I can see it in task manager when I start up boinc, but only runs for a few seconds and then disappear. About the error. Sounds strange, doesn´t it? that boinc.exe would actively refuse the connection? Have no idea what it means. |
Send message Joined: 25 Jun 10 Posts: 4 |
Thanks again for the reply. Where can I look for the reason for the client shutting down? As I said, I created exceptions in windows firewall for boinc.exe and boinc manager, and no other firewall or security software running. I wouldn´t know where to start looking. |
Send message Joined: 31 Mar 08 Posts: 59 |
Firstly, ensure that 127.0.0.1 and 0.0.0.0 and port 31416 are allowed permissions for BOINC.exe, BOINCmgr.exe, BOINCcmd.exe, BOINCscr and c:\Windows\boinc.scr. Ensure that the path to these executables is specified correctly in Win Firewall. Secondly, for 'WINSOCK ERROR 10061' and/or no project running in task manager and boinc run without calculate any WU:
|
Send message Joined: 26 Jun 10 Posts: 1 |
im having this same problem, boinc.exe starts, then 10 secs later it shuts down, with no error messages. besides the one the manager gives when he cant find that process. tried everything you said, but still the same problem. running the same OS as the op, win 7x64. the winsock error has little to do with this i guess, the problem is boinc.exe shutting down. also noticed the memory usage grows very fast on that process before shutdown. |
Send message Joined: 20 Dec 07 Posts: 1069 |
Did you look for error messages in the various stderr/stdout files to be found in the BOINC data directory? Did you try starting boinc.exe in a cmd shell? Gruß, Gundolf Computer sind nicht alles im Leben. (Kleiner Scherz) |
Send message Joined: 29 Aug 05 Posts: 15551 |
People, ever since Windows XP there has been a read-only mark on the 'special Windows directories'. You cannot remove this mark in Windows. Even after trying, it'll return when you next check it. So stop fiddling with it, it's really not what's at fault here. All your files will not be read-only (unless you restored them from a CD/DVD). @toro & Cmk, is that on a clean installation of Windows and BOINC, or are you using an old (backed-up?) BOINC Data directory? How did you install BOINC, as a screen-saver installation or as a protected application execution installation? (see this screen shot and this one to decide what you did). @toro, Winsock 10061 means that the connection was refused, because the application or the service wasn't running. Can you check in Task Manager whether or not boinc.exe actually starts up, and if it does, how many times? |
Send message Joined: 29 Aug 05 Posts: 15551 |
Because BOINC Manager can't know whether it is that boinc.exe isn't even running, or that it is but just behind a firewall. BOINC Manager isn't reading what's all in memory. |
Send message Joined: 25 Jun 10 Posts: 4 |
thanks for the replys guys. This was a fresh installation. But I have tried uninstalling and installing again several times. this is what i get from stderrdae.txt Unhandled Exception Detected... - Unhandled Exception Record - Reason: Access Violation (0xc0000005) at address 0x00000000734DA2FF read attempt to address 0x0000012C and from stdoutgui.txt: 01:07:02 p.m.: Error: can't open file 'C:\Program Files\BOINC\\RebootPending.txt' (error 2: the system cannot find the file specified.) [06/27/10 13:07:03] TRACE [1468]: init_asynch() boinc_socket: 708 I tried uninstalling boinc, rebooting, erasing all of boinc directories and installing again. Same thing. I´m still very much lost. Don´t know what else to try. Edit: as far as what I did when I installed it, I didn´t change anything, so whatever the default is. Also, boinc.exe does start. Only one process. Shuts down after ten seconds or so. |
Send message Joined: 29 Aug 05 Posts: 15551 |
PS the RebootPending.txt file is created during first clean install and then deleted upon boot. Conversely, some reported in past that to pester user to reboot and reboot and reboot... manually deleting the file to end this circle. His RebootPending.txt file is deleted, else there wouldn't be a message about it in stdoutgui.txt that it can't find the file specified. For some help on what can cause error 0xc5, see this FAQ. Also check in Event Viewer (Start->Administrative Tools->Event Viewer) if there are any notifications about what BOINC is doing. Do check Windows Logs->Applications for that. |
Send message Joined: 29 Aug 05 Posts: 15551 |
Yes, you said conversely, but you didn't make it clear whether or not his RebootPending.txt was deleted or not. Before toro goes on a fruitless search for this mythical file... No need to feel attacked. |
Send message Joined: 8 Aug 08 Posts: 570 |
Because BOINC Manager can't know whether it is that boinc.exe isn't even running, or that it is but just behind a firewall. BOINC Manager isn't reading what's all in memory. I think it can, because the client is setting a mutex "Global\\BoincSingleInstance". Normally from preventing it to start twice. Easy to check if it's running. TThrottle The way to control your CPU and GPU temperature. BoincTasks The best view of BOINC. My other activities |
Send message Joined: 29 Jun 10 Posts: 1 |
Hello all... im experiencing the same foult u guys do... i read the posts here but i cant find anythig wrong... its just stands idle or trying to "connecting to localhost". i checked Boinc.exe its running, i tried shutting down antivirus & firewalls & started boinc again.. same result. Before that i even put all programs under "trusted applications" in comodo internet security. i tried regressing in earlier versions... that i know have worked... same shit :P only get this in the stdrrdae.txt file Unhandled Exception Detected... - Unhandled Exception Record - Reason: Access Violation (0xc0000005) at address 0x01103AA9 read attempt to address 0x00000000 Engaging BOINC Windows Runtime Debugger... ******************** and that other stdoutgui.txt file 13:13:17: Error: can't open file 'C:\Program\BOINC\\RebootPending.txt' (error 2: det går inte att hitta filen.) [06/30/10 13:13:17] TRACE [4616]: init_asynch() boinc_socket: 776 [06/30/10 13:13:17] TRACE [4616]: init_asynch() connect: -1 [06/30/10 13:13:20] TRACE [4616]: init_poll(): sock = 776 strangely... couldnt find a stderrgfx.txt u mention in ur posts. and heres some info from stdoutdae.txt 30-Jun-2010 13:13:17 [---] Starting BOINC client version 6.10.43 for windows_intelx86 30-Jun-2010 13:13:17 [---] log flags: file_xfer, sched_ops, task 30-Jun-2010 13:13:17 [---] Libraries: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 30-Jun-2010 13:13:17 [---] Data directory: C:\Documents and Settings\***** ******\Application Data\BOINC 30-Jun-2010 13:13:17 [---] Running under account ***** ****** 30-Jun-2010 13:13:17 [---] Processor: 2 AuthenticAMD AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ [Family 15 Model 67 Stepping 3] 30-Jun-2010 13:13:17 [---] Processor: 1.00 MB cache 30-Jun-2010 13:13:17 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni cx16 syscall nx lm svm rdtscp 3dnowext 3dnow 30-Jun-2010 13:13:17 [---] OS: Microsoft Windows XP: Professional x86 Edition, Service Pack 3, (05.01.2600.00) 30-Jun-2010 13:13:17 [---] Memory: 2.00 GB physical, 35.72 GB virtual 30-Jun-2010 13:13:17 [---] Disk: 232.88 GB total, 220.36 GB free also checked if boinc is running service - its not dont know what to do... boinc has run problem free 90% of the time ive run it... and every time theres been a problem ive just regressed to the previous version and waited for the next one up n line to get released. and trying out ur fixes hasnt worked :-( Thanks! |
Send message Joined: 29 Aug 05 Posts: 15551 |
i tried shutting down antivirus & firewalls & started boinc again.. same result. Have you tried running without Comodo Internet Security, by means of uninstalling it and then seeing what BOINC does then? I know, that can be a pain... but if things work out correctly with Comodo gone, then it isn't a BOINC problem, or some problem the developers here have to fix. Then it's Comodo who have to fix their program to work with this common software. |
Send message Joined: 31 Mar 08 Posts: 59 |
If you're running Comodo, ensure that BOINC is not being sandboxed. The sandbox is a virtual environment and BOINC will never work there. The easiest way to bypass Comodo is to set the security level for anti-virus, firewall, Defense+ and sandbox each to 'disabled'; right click the Comodo icon in the system tray and navigate the context menu displayed. I'm running Comodo and if you establish the correct internet and computer security rules it'll work fine; see the 'firewall' thread for suggestions on how to set it up. Furthermore, anything that Comodo may be inderdicting with respect to BOINC will be evident in the Defense+ Events and in the Firewall Events logs. The former with respect to specific apps and the specific action attempted, the latter with respect to attempts to initiate network communication. The logs are extremely specific with regards to what exactly is being attempted and useful for diagnostic purposes. Clearly the various components of BOINC need permission to perform the actions on the host, and secondly all the appropriate BOINC modules require network access to the internet (and internally), as necessary, for BOINC functionality. For example, if a BOINC wants to connect to a project an essential function will be DNS lookup (resolving IP address from host name), it requires DNS Client Service access rights. Deny that and the firewall will never complain about BOINC attempting to establish UDP outbound to the DNS server destination port 53; the process will be blocked from even initiating a DNS internet connection. However, before it even gets to that point, BOINC needs to be able to talk amongst itself. This is essentially a networking issue pertaining to localhost, i.e., 0.0.0.0 to 127.0.0.1 Sounds like you and Comodo have to get to know each other better. |
Send message Joined: 22 Nov 08 Posts: 16 |
I'll chime is as another frustrated non-technical user with this problem. I'm running: - Windows XP Pro - SAV 10.1 Corporate I have local admin rights on the machine (a Dell Latitude D830). When I start Boincmgr, Boinc.exe fires up for about 10 seconds and then dies. It does the same if I try to "attach to project or account manager". Strangely (to me), I'm no longer getting any messages from Boincmgr about localhost, but I had been getting those earlier in this battle. The version of Boinc I'm running (or trying to run) is 6.10.56. I was running an earlier version when this problem started but that was a few weeks ago and I'm sorry, I don't remember what version it was. I also tried 6.10.57 and got the same problem. I've tried uninstalling and re-installing several times (and have rebooted). I removed BOINC using Windows (add/remove programs) rather than the Boinc install process, all to no avail. I don't see anything interesting in the event viewer, but when I check the services running BOINC is missing. I have no clue what to try next. |
Send message Joined: 29 Aug 05 Posts: 15551 |
but when I check the services running BOINC is missing. Did you even install BOINC as a service? (That's 3rd screen in the installer, Advanced button, checking the "Protected application execution" option) If you never checked that, chances are high BOINC isn't installed as a service, so won't show up in the service applet. Any error messages in stderrdae.txt or stderrgui.txt? |
Send message Joined: 22 Nov 08 Posts: 16 |
but when I check the services running BOINC is missing. Hi Jord, sorry for the belated reply. When I subscribed to the thread I though it would send me an email so I didn't check back until today. Re installing it as a service, you're right. I guess I didn't. There was a time when it took a fair amount of fiddling to get BOINC to run properly as a service, then one day a new release came out and it happened automatically. I assumed that was still the case. I don't necessarily care if it runs as a service, but in days of yore I think that was the only way to get it to run when I'm not logged in. As far as stderrdae and stderrgui go, strangely enough they do not seem to exist on this machine. stderrgfx is there, but not the other two. I must be doing something incredibly stupid, but I have no clue at all as to what it might be. |
Send message Joined: 25 Nov 05 Posts: 1654 |
This site, as with all project sites, will only send you an email when a subscribed thread is updated, if you have enabled that option (to be notified) in your account on the (this) site. |
Send message Joined: 22 Nov 08 Posts: 16 |
This site, as with all project sites, will only send you an email when a subscribed thread is updated, if you have enabled that option (to be notified) in your account on the (this) site. Got it. Thank's Les. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.