BOINC client in Ubuntu 10.10

Message boards : Questions and problems : BOINC client in Ubuntu 10.10
Message board moderation

To post messages, you must log in.

AuthorMessage
Stef42

Send message
Joined: 16 Jul 11
Posts: 3
Netherlands
Message 38977 - Posted: 16 Jul 2011, 7:28:07 UTC

I'm trying to setup boinc for ubuntu (6.10.58)which I did via the software center. That went fine and runs great but after reboot the boinc-deamon starts before the wireless network is connected and mostly before the nvidia drivers. The thing won work because of: 'Cannot resolve host name'. The client starts all the available tasks right away or might download new work when I don't have the time.

I've changed the first parameter in /etc/init.d/boinc-client from 1 to 0 to stop the boinc-deamon from running at boot. When I want to start it manually with:

sudo /etc/init.d/boinc-client start


it's not doing anything. Any help would be appreciated, I just want the boinc-client and manager to start like 5 minutes after boot.
ID: 38977 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15483
Netherlands
Message 38978 - Posted: 16 Jul 2011, 7:35:40 UTC - in response to Message 38977.  
Last modified: 16 Jul 2011, 7:36:03 UTC

Create a script to sleep for 300 seconds and then start the boinc-daemon.
Or sleep for however much seconds you need to have the network and Nvidia card identified.
ID: 38978 · Report as offensive
Stef42

Send message
Joined: 16 Jul 11
Posts: 3
Netherlands
Message 39006 - Posted: 17 Jul 2011, 6:29:04 UTC - in response to Message 38990.  
Last modified: 17 Jul 2011, 6:29:57 UTC

You have 2 problems, not 1. Delaying starting of the boinc daemon will cure 1 of those problems but not the other.

1) The boinc daemon starts before the wireless network is connected. This one is fixable by delaying the boinc daemon. Change the first parameter in /etc/init.d/boinc-client back to 1 and put a "sleep X" statement at the top of the script. Instead of X you would put the number of seconds you want the script to pause. You may have to experiment a little to find the correct value.

2) When you install BOINC from repositories as you have done, the installer sets up the boinc client to run on a nonprivileged user account, for security reasons. That means the boinc client doesn't have permission to access the video system and that's the reason the client does not recognize your GPU. Delaying the start of the boinc daemon won't fix this problem. You need to give the boinc user (the account boinc client runs on) permission to access the video system. See this thread in the GPU forum for help with that.

The alternative to granting the boinc user access to the video system is to uninstall your current BOINC installation and install it via the Berkeley installer which installs the client to run on your account which does have the necessary permissions.



1) I'll try that, see if that solves the problem.
2) If I do:

sudo /etc/init.d/boinc-client restart 


the GPU is detected and everything runs fine. With the latest nVidia drivers I can run Primegrid GPU Wu's just fine. I installed boinc via Ubuntu software center and I can run GPU Wu's fine, so I'm not sure what you mean.
ID: 39006 · Report as offensive
Stef42

Send message
Joined: 16 Jul 11
Posts: 3
Netherlands
Message 39085 - Posted: 18 Jul 2011, 19:42:11 UTC

Oke, thanks for the help. I'll try what works best :)
ID: 39085 · Report as offensive

Message boards : Questions and problems : BOINC client in Ubuntu 10.10

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.