Message boards :
Number crunching :
Shutting BOINC Down on a Linux Box ???
Message board moderation
Author | Message |
---|---|
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
Something I had forgot about & meant to ask about is if I shut BOINC Down on my Linux Box I have to restart the Box in order to get Linux to run again. If I don't restart the Box all BOINC does is say it's trying to connect to a local host or the local host. Is this normal or is there something I should be doing to prevent from having to restart the box & lose any work in progress to get BOINC to run again ... Thanks |
Send message Joined: 18 Apr 13 Posts: 168 Credit: 1,050,614 RAC: 134 |
Something I had forgot about & meant to ask about is if I shut BOINC Down on my Linux Box I have to restart the Box in order to get Linux to run again. If I don't restart the Box all BOINC does is say it's trying to connect to a local host or the local host. (exact command might vary depending on your distro) sudo service boinc-client start Want to find one of the largest known primes? Try PrimeGrid. Or help cure disease at WCG. |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
Something I had forgot about & meant to ask about is if I shut BOINC Down on my Linux Box I have to restart the Box in order to get Linux to run again. If I don't restart the Box all BOINC does is say it's trying to connect to a local host or the local host. I'm running Ubuntu 18.04 |
Send message Joined: 3 Nov 10 Posts: 114 Credit: 3,171,199 RAC: 817 |
Are you running BOINCtasks? If so: choose 'file' - 'select computer', type 'localhost', give the boinctasks password you have chosen when you decided to run all your computers through BOINCtasks and... -you are connected. |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
Are you running BOINCtasks? If so: No not running it on the Linux Box, didn't know you could, it doesn't come up under the software when you do a search for it ? |
Send message Joined: 27 Oct 15 Posts: 201 Credit: 1,649,160 RAC: 0 |
https://efmer.com/boinctasks/ BoincTasks the visual BOINC interface, the ideal way to view your BOINC tasks. BoincTasks only for Windows, a convenient replacement for the standard Boinc manager. You can monitor all your tasks from one point. It is especially convenient if you run Linux box in headless mode (here a bunch of BoincTasks + putty - BOINC manager and Linux management) |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
I know what BoincTasks is I've been using it for years with my Windows Box's but never have been able to monitor a Linux Box with it for whatever reason. |
Send message Joined: 27 Oct 15 Posts: 201 Credit: 1,649,160 RAC: 0 |
if you have a dedicated linux box for Boink, then it is better to set up control from the main working PC for the headless box than to waste Linux resources for the GUI |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
Linux Blows as far as I'm concerned, unless your some sort of Linux Genius it's a nightmare to try & get anything done with BOINC. I can't change permissions or ownership or even uninstall it. I used the Software package to install BOINC but now if I bring it up in the Software Package no such package exits is all it tells me. I've yet to find any commands that actually work for me, the terminal just tells me no such command or no such file so nothing ever gets done that I want to do ... |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
Okay I formatted & re-installed Linux, then I installed BOINC in the Home Folder from the desktop so I would have ownership of BOINC. That went well so I installed the lib files & that seemed to go okay too. Now I need a command to start the BOINC Manager or do I have to install that from the software package ??? The command that the terminal gives me to start BOINC doesn't work ? (cd "/home/steve/BOINC" && exec ./boinc $@) ... |
Send message Joined: 7 Apr 10 Posts: 224 Credit: 461,423 RAC: 0 |
Now I need a command to start the BOINC Manager or do I have to install that from the software package ??? The command that the terminal gives me to start BOINC doesn't work ? (cd "/home/steve/BOINC" && exec ./boinc $@) ... I also use Ubuntu 18.04, but as OS for VirtualBox under Windows. It was way easier to install BOINC completely over the software library, since you can start it up almost like on Windows then - in that way Ubuntu 18.04 is very user-friendly. (compared to the openSuse distros I used before) No commands necessary most of the time. Life is Science, and Science rules. To the universe and beyond Member of BOINC@Heidelberg My BOINC-Stats |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
I have it running again, about all I need is some command to take ownership of the boinc-client files/folder so I can change a few things in the cc_config & remote Host file ... I've tried all the ones I found doing a google search & none work ... |
Send message Joined: 27 Oct 15 Posts: 201 Credit: 1,649,160 RAC: 0 |
You need: - 2 main packages (+ dependencies) apt-get update - there are special packages for working with GPU + drivers and libraries, for example apt install nvidia-drivers-410 - enable 32 bit support for old projects like climate + special packages for individual projects dpkg --add-architecture i386 (all commands on behalf of the root or via sudo) it is enough to be the owner of the working folder - all the necessary files are there (cc_config & remote host file ) (change of owner - "sudo chown steve /home/steve/BOINC") run boinc in this folder /usr/bin/boinc --dir /home/steve/BOINC --daemon --redirectio --allow_remote_gui_rpc --allow_multiple_clients keys "--allow" can be added to the cc_config maybe other advanced Linux users will add or correct if I'm wrong about something PS During installation, you can create a boinc user and work with it or afterwards, on behalf of the root, change (set) his password and log in to the system |
Send message Joined: 22 Aug 16 Posts: 447 Credit: 2,091,047 RAC: 702 |
I have it running again, about all I need is some command to take ownership of the boinc-client files/folder so I can change a few things in the cc_config & remote Host file ... I've tried all the ones I found doing a google search & none work ... I'd guess ya just need to sudo or its due to installing it in home folder. I use 18.04 on all remote PCs and monitor Linux from Windows BoincTasks. All have multiple clients and 2nd+ clients are stated via command. Default client/port start up automatically. Sudo is just needed to go deeper into projects folder. /var/lib/boinc-client where cc_config is at should be accessable w/o sudo. |
Send message Joined: 3 Nov 10 Posts: 114 Credit: 3,171,199 RAC: 817 |
I know what BoincTasks is I've been using it for years with my Windows Box's but never have been able to monitor a Linux Box with it for whatever reason. You have to make the files remote_hosts.cfg and gui_rpc_auth.cfg on each remote computer (in /var/lib/boinc-client/ , where the BOINC user directory files are -by default, unless you change it to the 'home' directory) , that's all. I can even control Android 4 boxes through Boinctasks. |
Send message Joined: 3 Nov 10 Posts: 114 Credit: 3,171,199 RAC: 817 |
/var/lib/boinc-client where cc_config is at should be accessable w/o sudo. Just plain forget to be able to add or edit something there without being either root or using sudo |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
"sudo chown steve /home/steve/BOINC" did seem to get me Ownership of the BOINC home folder I can read & write the files in the BOINC home folder now. The cc_config & remote host file are located in the var/lib/boinc-client folder or something like that & I still don't have Ownership on them, can't mess with it right now or till morning. The PC is located in the room across from where my wife sleeps & I don't want to disturb her ... |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
Still can't get ownership of the boinc files in the var/lib directory, this is what I get when I try several commands steve@HP-Z420-WorkStation1:~$ sudo chown steve /var/lib/steve/boinc [sudo] password for steve: chown: cannot access '/var/lib/steve/boinc': No such file or directory steve@HP-Z420-WorkStation1:~$ sudo chown steve /var/lib/boinc steve@HP-Z420-WorkStation1:~$ sudo chown steve /var/lib/boinc-client Those 2 commands go thru but do nothing, still don't have ownership when I check the permissions of the 2 directories ... steve@HP-Z420-WorkStation1:~$ sudo chown steve /var/lib/boinc steve@HP-Z420-WorkStation1:~$ sudo chown steve /var/lib/boinc-client |
Send message Joined: 28 Mar 10 Posts: 671 Credit: 3,988,701 RAC: 684 |
You have to make the files remote_hosts.cfg and gui_rpc_auth.cfg on each remote computer (in /var/lib/boinc-client/ , where the BOINC user directory files are -by default, unless you change it to the 'home' directory) , that's all. I can even control Android 4 boxes through Boinctasks. Yes I know I have to make or change those 2 files to Monitor the Box on my Windows Box with BoincTasks but unless I get ownership of the files I can't do anything with them ... I've tried to move the files to the "home" directory but with no success so far ... |
Send message Joined: 22 Aug 16 Posts: 447 Credit: 2,091,047 RAC: 702 |
root should own those files by default: ca-bundle.cry cc_config.xml global_prefs_override.xml gui_rpc_auth.cfg remote_host.cfg The remaining files are owned by the boinc user. |
©2024 Sébastien