Shutting BOINC Down on a Linux Box ???

log in

Advanced search

Message boards : Number crunching : Shutting BOINC Down on a Linux Box ???

1 · 2 · Next
Author Message
Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7400 - Posted: 26 Sep 2020, 18:22:20 UTC

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

Profile Michael Goetz
     
Avatar
Send message
Joined: 18 Apr 13
Posts: 165
Credit: 1,018,162
RAC: 118
Total hours: 1,596,821
Message 7401 - Posted: 26 Sep 2020, 18:54:09 UTC - in response to Message 7400.

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


(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.

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7402 - Posted: 26 Sep 2020, 19:06:56 UTC - in response to Message 7401.

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


(exact command might vary depending on your distro)

sudo service boinc-client start


I'm running Ubuntu 18.04

Dirk Broer
       
Avatar
Send message
Joined: 3 Nov 10
Posts: 109
Credit: 2,973,073
RAC: 817
Total hours: 8,221,975
Message 7403 - Posted: 27 Sep 2020, 0:44:59 UTC
Last modified: 27 Sep 2020, 0:46:31 UTC

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.
____________

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7404 - Posted: 27 Sep 2020, 2:13:52 UTC - in response to Message 7403.

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.


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 ?

Sergey Kovalchuk
         
Send message
Joined: 27 Oct 15
Posts: 201
Credit: 1,648,320
RAC: 5
Total hours: 2,703,071
Message 7405 - Posted: 27 Sep 2020, 4:13:49 UTC - in response to Message 7404.
Last modified: 27 Sep 2020, 4:16:05 UTC

https://efmer.com/boinctasks/

BoincTasks the visual BOINC interface, the ideal way to view your BOINC tasks.
BoincTasks can be used to manage a single computer locally or all your computers remotely.
Handles even larger amounts of Tasks/Wu well, and makes it ideal for computers with GPU.
Supports an unlimited number of remote computers.

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)

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7406 - Posted: 27 Sep 2020, 6:52:39 UTC

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.

Sergey Kovalchuk
         
Send message
Joined: 27 Oct 15
Posts: 201
Credit: 1,648,320
RAC: 5
Total hours: 2,703,071
Message 7407 - Posted: 27 Sep 2020, 7:14:46 UTC - in response to Message 7406.

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

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7409 - Posted: 27 Sep 2020, 10:06:44 UTC

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 ...

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7410 - Posted: 27 Sep 2020, 18:36:07 UTC
Last modified: 27 Sep 2020, 18:36:44 UTC

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 $@) ...

Profile DoctorNow
         
Avatar
Send message
Joined: 7 Apr 10
Posts: 224
Credit: 455,503
RAC: 48
Total hours: 1,243,579
Message 7412 - Posted: 27 Sep 2020, 21:56:59 UTC - in response to Message 7410.
Last modified: 27 Sep 2020, 21:58:08 UTC

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

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7413 - Posted: 27 Sep 2020, 22:00:05 UTC

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 ...

Sergey Kovalchuk
         
Send message
Joined: 27 Oct 15
Posts: 201
Credit: 1,648,320
RAC: 5
Total hours: 2,703,071
Message 7414 - Posted: 27 Sep 2020, 22:28:06 UTC - in response to Message 7410.
Last modified: 27 Sep 2020, 22:49:23 UTC

You need:
- 2 main packages (+ dependencies)

apt-get update
apt-get install boinc-client boinc-manager

- there are special packages for working with GPU + drivers and libraries, for example
apt install nvidia-drivers-410
apt-get install ocl-icd-libopencl1
apt-get install boinc-client-nvidia-cuda boinc-client-opencl nvidia-modprobe

- enable 32 bit support for old projects like climate + special packages for individual projects
dpkg --add-architecture i386
apt-get update
apt-get install libc6-i386
apt-get install pcitools lib32gcc1 lib32stdc++

(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

mmonnin
       
Send message
Joined: 22 Aug 16
Posts: 417
Credit: 1,927,855
RAC: 706
Total hours: 9,130,191
Message 7416 - Posted: 28 Sep 2020, 0:32:23 UTC - in response to Message 7413.

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.

Dirk Broer
       
Avatar
Send message
Joined: 3 Nov 10
Posts: 109
Credit: 2,973,073
RAC: 817
Total hours: 8,221,975
Message 7418 - Posted: 28 Sep 2020, 1:10:32 UTC - in response to Message 7406.
Last modified: 28 Sep 2020, 1:14:46 UTC

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.
____________

Dirk Broer
       
Avatar
Send message
Joined: 3 Nov 10
Posts: 109
Credit: 2,973,073
RAC: 817
Total hours: 8,221,975
Message 7419 - Posted: 28 Sep 2020, 1:12:26 UTC - in response to Message 7416.

/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
____________

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7421 - Posted: 28 Sep 2020, 2:10:38 UTC

"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 ...

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7424 - Posted: 28 Sep 2020, 9:31:41 UTC - in response to Message 7421.

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

Profile STE\/E
           
Avatar
Send message
Joined: 28 Mar 10
Posts: 642
Credit: 3,866,243
RAC: 462
Total hours: 20,094,461
Message 7425 - Posted: 28 Sep 2020, 9:35:33 UTC - in response to Message 7418.

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 ...

mmonnin
       
Send message
Joined: 22 Aug 16
Posts: 417
Credit: 1,927,855
RAC: 706
Total hours: 9,130,191
Message 7426 - Posted: 28 Sep 2020, 10:14:35 UTC

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.

1 · 2 · Next
Post to thread

Message boards : Number crunching : Shutting BOINC Down on a Linux Box ???


Home | My Account | Message Boards | Results


Copyright © 2024 Sebastien