Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 40
Posts: 40   Pages: 4   [ Previous Page | 1 2 3 4 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 7564 times and has 39 replies Next Thread
TonyEllis
Senior Cruncher
Australia
Joined: Jul 9, 2008
Post Count: 286
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

the command which you have already used
# systemctl enable boinc-client
should start boinc every time you reboot the system...

Edit: If you want to stop this from happening for some reason when you reboot the server
# systemctl disable boinc-client
----------------------------------------
----------------------------------------
[Edit 1 times, last edit by TonyEllis at Oct 15, 2018 1:07:44 AM]
[Oct 15, 2018 1:02:07 AM]   Link   Report threatening or abusive post: please login first  Go to top 
OldChap
Veteran Cruncher
UK
Joined: Jun 5, 2009
Post Count: 978
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

You probably need to set up your preferences on your member page first (device manager>device profile>custom), then:



will ensure it reads your preferences

(cannot post with that code as text)
----------------------------------------

----------------------------------------
[Edit 2 times, last edit by OldChap at Oct 15, 2018 1:34:27 AM]
[Oct 15, 2018 1:24:26 AM]   Link   Report threatening or abusive post: please login first  Go to top 
TonyEllis
Senior Cruncher
Australia
Joined: Jul 9, 2008
Post Count: 286
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

OldChap - since it appears he has a system with systemd installed - he should be using systemd commands. "etc/init.d" is the older SysV method of controlling daemons and he may not even have a "/etc.init.d" directory. systemd is now used by many distributions. Here is a cheat-sheet for Redhat like distributions, am sure others using systemd have something similar...
https://access.redhat.com/articles/systemd-cheat-sheet

another method of controlling your preferences is to use a "global_prefs_override.xml" file which enables you to tailor each machine differently...
----------------------------------------
[Oct 15, 2018 1:44:39 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppageek
Advanced Cruncher
Joined: Nov 16, 2004
Post Count: 99
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

Since you are using boinccmd I assume you are running without a GUI and Boinc Manager. To make thing a little easier you might want to install boinctui. It is a terminal boinc manager that does not require a GUI.

sudo apt-get install boinctui

Once installed to run it just type in

boinctui

Grats on sticking with it!! cool
[Oct 15, 2018 3:00:24 AM]   Link   Report threatening or abusive post: please login first  Go to top 
ericinboston
Senior Cruncher
Joined: Jan 12, 2010
Post Count: 265
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

Hi all! Thanks again for the help. I let the system run overnight and I see WUs coming into my stats. Here are the commands I ran on Ubuntu 18.0.4 to get BOINC installed and running 24x7:


sudo apt-get update
sudo apt-get install boinc
systemctl enable boinc-client
systemctl start boinc-client
boinccmd --lookup_account https://www.worldcommunitygrid.org ericinboston <password>
boinccmd --project_attach https://www.worldcommunitygrid.org <key>
boinccmd --set_run_mode always
boinccmd --project https://www.worldcommunitygrid.org update
boinccmd --get_simple_gui_info
boinccmd --get_tasks
boinccmd --set_run_mode always
boinccmd --get_tasks



You probably notice the duplicate set_run_mode and get_tasks. Maybe I wasn't patient enough but I did wait a few minutes before running their duplicates. I know in Windows when you first install BOINC and WCG, 99% of the time it only grabs a WU or 2 even if you have 16 or 32 cores...you need to either restart Boinc Manager or tell it to re-read the local config file. Since I am on Linux with no GUI and seemingly no Boinc Manager, I just issued those 2 commands again. I referenced https://boinc.berkeley.edu/wiki/Boinccmd_tool quite a bit.

If you have any other tips I'm all ears! I'll probably report back again in on this thread later tonight if I discover anything else.



Thank you all VERY MUCH again!
----------------------------------------

----------------------------------------
[Edit 2 times, last edit by ericinboston at Oct 15, 2018 2:21:32 PM]
[Oct 15, 2018 1:12:52 PM]   Link   Report threatening or abusive post: please login first  Go to top 
iksnah
Cruncher
Joined: Apr 26, 2007
Post Count: 17
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

If you type command top you will see the running processes. And there see something like this
 2460 root      39  19  520388 323092  24056 R  38,5  2,7  52:25.14 wcgrid_mip1_ros

That is a one WU and it depends your processor how many WUs you see.
Type q to quit the running processes.
----------------------------------------
<><
[Oct 15, 2018 4:30:57 PM]   Link   Report threatening or abusive post: please login first  Go to top 
OldChap
Veteran Cruncher
UK
Joined: Jun 5, 2009
Post Count: 978
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

Some thoughts about this on our home forum:

https://xtremesystemsteam.org/index.php/topic,26739.msg53033.html
----------------------------------------

[Oct 15, 2018 8:50:37 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Dark Angel
Veteran Cruncher
Australia
Joined: Nov 11, 2005
Post Count: 728
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

If you want to administer the client from a remote machine that is running Boinc Manager there are a couple of things to set up.

Firstly you need to edit one of the BOINC configuration files. This is easier than it sounds. By default the client refuses connections from managers that aren't on the local machine but that's easy to sort out.
Please remove the space after the / in the file path before using.
From the command prompt enter: sudo nano / etc/ boinc-client/ remote_hosts.cfg
The system will ask you for your user password.
Once open you are in a basic text editor called Nano. Just use the cursor keys to move down to the bottom of the text you see there and enter the IP address of the machine you want to be able to access your Ubuntu rig remotely.
Once you've typed that in press Ctrl+o (control key and the letter 'o' together) to output the file, then Ctrl+x to exit.
If you want to require a password to access the host it's the same proceedure but you need to edit / etc/ boinc-client/ gui_rpc_auth.cfg instead. By default the file is empty but if you put something in there the boinc-client will demand that as the password for any boinc manager that wants to connect to it. You can connect from the BOINC manager on a windows machine or even an Android phone, it doesn't matter so long as the address is in that first file.

Having static IP addresses on your local network makes this easier. I don't have a local DNS server so I don't know if you can use host names instead of IP addresses but it MIGHT work.

To connect to the Linux machine from a Windows machine with BOINC installed, open the manager and from the top menu in Advanced view click File > Select Computer then enter the IP of the machine you want to connect to and the password if you set one. If everything is right you'll now be controlling the Linux BOINC client from your Windows machine.
----------------------------------------

Currently being moderated under false pretences
----------------------------------------
[Edit 1 times, last edit by Dark Angel at Nov 28, 2018 11:33:59 PM]
[Nov 28, 2018 11:33:20 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jay_Orlando
Senior Cruncher
USA
Joined: Jan 4, 2006
Post Count: 189
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

Hi there!!
I am also having Authorization Failure: -155 on Ubuntu 19.10
Another machine - Ubuntu 18.04 does not have the problem.
I will check the Ubuntu forums.

also,
WCG works OK with the boincmanager.



-> about your tasks suspended: <--

Good Questions!!!!

There is a default setting that will suspend boinc - if your computer is busy.

There are two ways to change this
1) In advanced view -> Options -> Computing preferences -> Computing tab
several options to set - should be explanatory

2) goto your WCG account on the web
login and go to settings -> Device Manager
choose your device or profile name
look into all of the settings under "Processor Usage Tab"

The wcg account are the fallback settings.
The BOINC Manager settings can overide the Web settings
And you can re-select the web setting when you want to delete the Boinc manager settings
(but you do have to do a project update to get boinc manager to read the settings from the web.)

Both of these survive a system shutdown and restart...

OBTW,
OI usually suspend tasks and exit BOINC before doing a shutdown.

Have Fun!!
Jay
----------------------------------------

[Mar 12, 2020 4:47:14 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jay_Orlando
Senior Cruncher
USA
Joined: Jan 4, 2006
Post Count: 189
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Linux Newbie needing help

Oh yes. there is something that was not obvious to me.....
when running boinccmd , your present working directory needs to be in that of the
data directory of the boinc-client.
Usually /var/lib/boinc-client
----------------------------------------

[Mar 12, 2020 5:26:51 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 40   Pages: 4   [ Previous Page | 1 2 3 4 ]
[ Jump to Last Post ]
Post new Thread