BOINC Manager doesn't connect to boinc-client on Ubuntu

Message boards : Questions and problems : BOINC Manager doesn't connect to boinc-client on Ubuntu
Message board moderation

To post messages, you must log in.

AuthorMessage
Lukfi

Send message
Joined: 26 Dec 12
Posts: 9
Czech Republic
Message 49094 - Posted: 13 May 2013, 18:15:11 UTC

Hello,
I have a machine running Linux Mint 13 (which is basically Ubuntu 12.04 LTS with a different desktop). I installed boinc-client and boinc-manager packages from the repositories. Now, the boinc-client process is running, but when I open the manager, it doesn't connect and no computations are done. I tried removing both programs with the --purge option and install them again, but it didn't help.
It actually only ran OK just the first time after installation. Then I exited the manager and told it to stop crunching; it didn't and I had to kill the WU process manually. Since then, no luck.
I'm not above using the command line only, but I don't know how.
ID: 49094 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15515
Netherlands
Message 49097 - Posted: 13 May 2013, 19:18:50 UTC - in response to Message 49094.  

BOINC from repositories isn't necessarily maintained by Berkeley and any problems you have with it, are probably best asked at the forums for the distro.


But since you're running a Ubuntu version, why not run BOINC from Berkeley, instead of repositories? Berkeley's BOINC is built against Ubuntu 12.04, so it should work (easier).
ID: 49097 · Report as offensive
Lukfi

Send message
Joined: 26 Dec 12
Posts: 9
Czech Republic
Message 49098 - Posted: 13 May 2013, 19:34:30 UTC - in response to Message 49097.  

I didn't get an answer on the Mint forums :(
BOINC from Berkeley = you mean this? http://boinc.berkeley.edu/dl/boinc_7.0.65_i686-pc-linux-gnu.sh
I downloaded it, ran it (sudo sh), and it just unpacked some files into my home directory where it was downloaded. What should I do with this?
ID: 49098 · Report as offensive
Claggy

Send message
Joined: 23 Apr 07
Posts: 1112
United Kingdom
Message 49099 - Posted: 13 May 2013, 19:42:52 UTC - in response to Message 49098.  

Installation instructions are in the Boinc Wiki:

Installing BOINC

Claggy
ID: 49099 · Report as offensive
Lukfi

Send message
Joined: 26 Dec 12
Posts: 9
Czech Republic
Message 49101 - Posted: 14 May 2013, 8:57:04 UTC - in response to Message 49099.  
Last modified: 14 May 2013, 9:01:02 UTC

It still doesn't work.
If I run "run_client", it tells me another instance of BOINC is already running. I used apt-get remove boinc* --purge, so the repository packages should be long gone.
Then I start "run_manager", the BOINC manager appears and is "Connecting to localhost" for a few minutes. Then it tells me the BOINC client has "unexpectedly stopped working in the last 3 minutes" and asks whether I wish to restart it.

// ahh there's a bug report for this https://boinc.berkeley.edu/trac/ticket/1160
and nobody gives a damn for almost a year and a half already :-D
So does that mean I'm screwed, or is there a workaround?
ID: 49101 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15515
Netherlands
Message 49103 - Posted: 14 May 2013, 13:20:00 UTC - in response to Message 49101.  
Last modified: 14 May 2013, 13:22:07 UTC

If I run "run_client", it tells me another instance of BOINC is already running.

So, perhaps there is another instance of BOINC running already. Did you check in top prior to starting the boinc-client?

But, you've been pointed to Installing BOINC on Linux in the Wiki. Did you read everything there? Did you read, for instance, at Installing on Ubuntu -> Starting BOINC: After the installation is finished, the daemon is started automatically.? That's why your boinc-client is already running. Don't want that to happen, set in the init script /etc/default/boinc-client:
# Set this to 1 to enable and to 0 to disable the init script.
ENABLED="0"

That will kill auto-start of the boinc-client.

Then I start "run_manager", the BOINC manager appears and is "Connecting to localhost" for a few minutes. Then it tells me the BOINC client has "unexpectedly stopped working in the last 3 minutes" and asks whether I wish to restart it.

Here's the thing. For boinc-manager to be able to connect to boinc-client, both must be started from the same directory. (and that was the end conclusion in the ticket you pointed out as well. That it was never closed is because the user never returned to tell how he fared on that or other BOINC versions.)

Have you done a whereis boinc-client?
Or a find boinc-client?
Or a locate boinc-client?

Have you done such a search for boinc-manager, to make sure that both these start from the same directory?

Whichever search option you use, you should only find one instance of boinc-client and boinc-manager on your system.
ID: 49103 · Report as offensive

Message boards : Questions and problems : BOINC Manager doesn't connect to boinc-client on Ubuntu

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.