News:

If you are a member of the Team on BOINC you still need to register on this forum to see the member posts.  The posts available for visitors are not posted to much by members.
 Remember to answer the questions when Registering and also you must be a active member of Team BOINC@AUSTRALIA on BOINC.

Main Menu

Problems running Boinc

Started by NudgeyNR, March 25, 2023, 12:53:58 PM

Previous topic - Next topic

tazzduke

Also let us know how you went.




 AA 24 - 53 participant

NudgeyNR

Tried the rest of the commands and it did not work.

Still have to manually run it via a sudo command.
AMD Ryzen 9 5950X 96GB ram RTX 4070ti Windows 11 Ent 64bit
AMD Ryzen 9 3900X 64GB ram RTX 2080 Windows 10 Ent 64bit
AMD Ryzen 9 3950X 32GB ram RTX 2070S Windows 10 Ent 64bit
Intel XEON E5-2697-V2 32GB ram GT 1030 Windows 10 Ent 64bit
Intel i7 4790 16GB ram GTX 750 Windows 10 Ent 64bit
Intel i7 5930K 32GB ram RTX 2060 Super Windows 10 Ent 64bit
Intel i7 4770K 28GB ram GTX 1060 6GB Windows 10 Ent 64bit
Intel i5 3470 12GB ram Windows 10 Pro 64bit
Intel i5 3470 16GB ram Windows 10 Pro 64bit
Intel i5 4460 16GB ram GT 710 Windows 10 Pro 64bit
Intel i5 4200M 16GB ram Intel HD 4600 Kubuntu 22.10 64bit (NCI only)
Intel Atom C3538 6GB Kubuntu 20.04 (pi-hole) (VM Synology DS1819+ NAS 16Gb ram) 2cores
RPI4 8GB Kubuntu 22.10 64bit
RPI5 8GB Raspberry Pi OS 64bit
Crunching Projects - NumberFields, Asteroids, OLDK, Rakesearch, Universe, Einstein, Milkyway, iThena, WCG & Wuprop.



tazzduke

Hi NudgeyNR

which command do you have to run as sudo??

On another note, you could also spin up another VM running Kubuntu 22.04 and then do the instructions (if you have the time or energy), cause it could be something to do with Kubuntu 22.10.

Regards




 AA 24 - 53 participant

tazzduke

#18
Bugger, its something to do with the extra security they implemented in Kubuntu 22.10.

I installed a fresh VM of Kubuntu 22.10, installed Boinc, via the package manager.
Then I had to do the following steps as well, this was after trying to start the boinc.client service.  it told me my user was not in the sudoers file.

Add the normal user to the SUDO group by doing the following
Type SU in a konsole, this will switch to the Root, (should be the same password you use to login with)
Type in the following command usermod -aG sudo username (where username is the name of the user)
reboot the system.

That should fix it.  I managed to get BOINC up and running on a Kubuntu 22.10 VM / BOINC Version 7.20.2

Regards



 AA 24 - 53 participant

NudgeyNR

Quote from: tazzduke on March 29, 2023, 11:10:56 PMGood Evening NudgeyNR

Well I went and spun up a Kubuntu 22.10
Completed the updates,
I installed the boinc software, using the muon package manager.

Need to add the normal user to the sudoers file, before it can do sudo commands.
To do this
Open up a Konsole and switch to root by doing the following.
Type in SU and press enter
It will ask for a password, this is normally the same one that you log in with.
Then enter the follwoing command
usermod -aG sudo username (username is the name of the normal user for the machine)
Once this has been done, reboot the machine.

Now you should be able to complete the following successfully.

Then you will need to do the following - in a normal user console.

1. start boinc service

sudo systemctl start boinc-client.service

2. to add user to boinc group

sudo /usr/sbin/usermod -G boinc -a $(whoami)

3. add read/write permission to

sudo chmod g+rw /var/lib/boinc

4.  symlink as per Berkeley

ln -s /var/lib/boinc/gui_rpc_auth.cfg /home/username/gui_rpc_auth.cfg

"Where username is the actual username for the user of that machine"

Logout (or reboot) and log back in.

5.  Start Client Service

sudo systemctl start boinc-client.service

6. Auto start the service on boot

sudo systemctl enable boinc-client.service.

FInd your BOINC shortcut in the menu and double click on it.

Hope this got you going, as it worked for me.

Oops forgot to add, if this has worked for you, next is to get the actual boinc-client to autostart on boot

goto application launcher
goto settings
goto system settings
select startup and shutdown
select autostart
select add (to add an application)
select system
select boinc
select ok

Now we should be all good and up and running.

Let me know how it goes. also allow for a bit of time difference and work schedule.

Regards

PS.  Edited due spelling errors and also we were dealing with Kubuntu 22.10 which is different to Kubuntu 22.04.

After the new change(s) everything is working as it should.

I had to redo all the commands then reboot.

Thanks for your time and effort tazzduke much appreciated.
AMD Ryzen 9 5950X 96GB ram RTX 4070ti Windows 11 Ent 64bit
AMD Ryzen 9 3900X 64GB ram RTX 2080 Windows 10 Ent 64bit
AMD Ryzen 9 3950X 32GB ram RTX 2070S Windows 10 Ent 64bit
Intel XEON E5-2697-V2 32GB ram GT 1030 Windows 10 Ent 64bit
Intel i7 4790 16GB ram GTX 750 Windows 10 Ent 64bit
Intel i7 5930K 32GB ram RTX 2060 Super Windows 10 Ent 64bit
Intel i7 4770K 28GB ram GTX 1060 6GB Windows 10 Ent 64bit
Intel i5 3470 12GB ram Windows 10 Pro 64bit
Intel i5 3470 16GB ram Windows 10 Pro 64bit
Intel i5 4460 16GB ram GT 710 Windows 10 Pro 64bit
Intel i5 4200M 16GB ram Intel HD 4600 Kubuntu 22.10 64bit (NCI only)
Intel Atom C3538 6GB Kubuntu 20.04 (pi-hole) (VM Synology DS1819+ NAS 16Gb ram) 2cores
RPI4 8GB Kubuntu 22.10 64bit
RPI5 8GB Raspberry Pi OS 64bit
Crunching Projects - NumberFields, Asteroids, OLDK, Rakesearch, Universe, Einstein, Milkyway, iThena, WCG & Wuprop.



tazzduke

You are welcome NudgeyNR

I have to redo my Kubuntu install again, I didn't give it enough hard drive space lol.

Cheers



 AA 24 - 53 participant

Lennox84

Oh man, where was this post 2 weeks ago when I was fiddling with Ubuntu and Boinc!? I mean, it's probably my fault for not looking here 1st 😅.

Great info and awesome instructions Tazzduke.

I mainly run Fedora but loaded Ubuntu on my old laptops to bring em back from the dead and was unable to run Boinc via the  repo Deb but the Flatpack worked and I think I was able to get the direct Boinc repo version working too... I can't remember now.

I'll be setting up 2 headless installs today and probs load up my t450 as well just for funsies.


MiniFarm:
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G3 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)

Laptops:
Yoga C940 - i7-1065G7 - 16GB - NVME - Iris iGPU +  GTX 680 (Windows)
FrameWork - i5-1240p - 32GB - NVME - Iris XE iGPU (Fedora + Docker) Part-time Cruncher

Server:
B550 Aorus Elite - AMD 3700x - 32GB - Quadro k4000- (UNRaid - Docker)

Desktop:
X570 I AORUS Pro WiFi - Ryzen 3600 - 32GB - RX 5700XT - (Fedora + Docker)

Offline -
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
Lenovo m700 6500T - 16GB - NVME - No GPU (Ubuntu Server)
Lenovo m701 6500T - 16GB - NVME - No GPU (Ubuntu Server)
Lenovo m701 6500T - 16GB - SSD - No GPU (Ubuntu Server)

tazzduke

Gday Lennox84

I found the information on the following link, which also helped getting a Fedora Workstation running boinc here last year.

https://www.overclock.net/threads/guide-installing-boinc-on-fedora-25-and-fedora-26-fedora-27.1633927/

Don't worry about the title, it should be fine with the latest version of Fedora.

Cheers



 AA 24 - 53 participant

Lennox84

Thanks Tazz!

To be honest I had more issues trying to run Boinc on Ubuntu. I'm a Fedora daily user and these instructions https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Fedora worked a treat 1st go.

I just finished installing Fedora server on my HP Elitedesk 800 G2 and I thought for funsies I'll install Ubuntu Server on my HP Elitedesk 400 G3. They're both running i5 6500 so I was interested to see if there's much of a difference in performance as a comparison (I know it's not Apples to Apples but it's a start) Then I'll upgrade both with SSD's and re-install with the better performer which will remain the same for the next few systems I pickup and add to the mini-farm BOINC Garden?? LOL)

I've found the HP/Lenovo/Dell 6th gen of this type (SFF not the micro) are really cheap (Picked up the above for $60 & $70 each) so if I can add another 4-5 would be nice


MiniFarm:
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G3 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)

Laptops:
Yoga C940 - i7-1065G7 - 16GB - NVME - Iris iGPU +  GTX 680 (Windows)
FrameWork - i5-1240p - 32GB - NVME - Iris XE iGPU (Fedora + Docker) Part-time Cruncher

Server:
B550 Aorus Elite - AMD 3700x - 32GB - Quadro k4000- (UNRaid - Docker)

Desktop:
X570 I AORUS Pro WiFi - Ryzen 3600 - 32GB - RX 5700XT - (Fedora + Docker)

Offline -
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
Lenovo m700 6500T - 16GB - NVME - No GPU (Ubuntu Server)
Lenovo m701 6500T - 16GB - NVME - No GPU (Ubuntu Server)
Lenovo m701 6500T - 16GB - SSD - No GPU (Ubuntu Server)

tazzduke

Glad to hear Lennox84

I prefer Linux Mint myself, have tried a plethora of distributions except anything ARCH related.

Back in the days of running Seti, I just found Linux Mint came easy to me thats all.

Nowadays I run Linux Mint 20.2, cause it lets me run certain apps from LHC@Home.

Cheers



 AA 24 - 53 participant

Lennox84

Ok So I'm a bit of a dumb dumb it seems. I wasn't correctly running BOINC with the Fedora instructions. It was as a flatpak LOL.

So I may need to switch to an Ubuntu Server install just so I can get it working:banghead

Oh geez... I'll spend the next 2 hours with Fedora but if it's a no go then I'll switch to Ubuntu Server and install from the ppa... Pretty sure that ran perfectly out of the box with the instructions from Berkeley...

I wonder if it's worth me just learning to compile BOINC myself for the long term?? Any thoughts?


MiniFarm:
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G3 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)

Laptops:
Yoga C940 - i7-1065G7 - 16GB - NVME - Iris iGPU +  GTX 680 (Windows)
FrameWork - i5-1240p - 32GB - NVME - Iris XE iGPU (Fedora + Docker) Part-time Cruncher

Server:
B550 Aorus Elite - AMD 3700x - 32GB - Quadro k4000- (UNRaid - Docker)

Desktop:
X570 I AORUS Pro WiFi - Ryzen 3600 - 32GB - RX 5700XT - (Fedora + Docker)

Offline -
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
Lenovo m700 6500T - 16GB - NVME - No GPU (Ubuntu Server)
Lenovo m701 6500T - 16GB - NVME - No GPU (Ubuntu Server)
Lenovo m701 6500T - 16GB - SSD - No GPU (Ubuntu Server)

Dingo

I just use the version of BOINC on Ubuntu.  sudo apt update sudo apt install boinc

A long time ago in 2003 I used to create my own BOINC to fit the Linux machine I had at the time.  I think this script may still work Or you can use it as a reference.

If you are using Ubuntu then BOINC is installed to /usr/bin and not in /opt/boinc.  Save as a file like loadboinc.sh and chmod +x loadboinc.sh

I have attached the file as a txt file as it would not let me paste the code into the message.



Radioactive@home graph
Have a look at the BOINC@AUSTRALIA Facebook Page and join and also the Twitter Page.

Proud Founder and member of BOINC@AUSTRALIA

My Luck Prime 1,056,356 digits.
Have a look at my  Web Cam of Parliament House Ottawa, CANADA

Lennox84

Thanks heaps for this.

So it seems I've been confused about my issue. Looks like I'm installing Boinc ok and it's active and all. But I'm trying to remote into my Boinc from Boinc Manager on my laptop and I can't see it like I can when I remote into the server and after some digging I think I might understand why but maybe not... Let's see how this goes.

Gui RPC is defaulted to 31416
I have my server running Boinc in a docker (See BOINC Unraid.png)
When I log into this from Select computer in Boinc Manager I see full task list etc.. (See Boinc Manager) and this is the kinda access I want to achieve because I need to link each system to bamSTATS so I can manage things remotely with groups etc..

But when I try and do this to my new box it never connects, it stays connecting unlike when I do so with the server (Says Connected).
I've attached the status results of the new box (See Big Boss CMD.png)

could it be a firewall issue? (See Big Boss CMD.png)
I never had that issue with my Server but maybe that's because Unraid did some cool stuff in the background?

I've been having the same issue on both Fedora and Ubuntu, So I'm thinking it's either a setup piece I'm missing of a network thing I'm missing but my Unraid server worked like a charm with no special setup.

Extremely appreciative of any and all assistance. Hopefully,You cannot view this attachment.You cannot view this attachment.You cannot view this attachment.    I don't sound like a complete buffoon.

My Unraid server has been running/crunching like a dream, so I'm trying to increase my footprint but I've gotta say this has been a real pain to try and get going.


MiniFarm:
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G3 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)

Laptops:
Yoga C940 - i7-1065G7 - 16GB - NVME - Iris iGPU +  GTX 680 (Windows)
FrameWork - i5-1240p - 32GB - NVME - Iris XE iGPU (Fedora + Docker) Part-time Cruncher

Server:
B550 Aorus Elite - AMD 3700x - 32GB - Quadro k4000- (UNRaid - Docker)

Desktop:
X570 I AORUS Pro WiFi - Ryzen 3600 - 32GB - RX 5700XT - (Fedora + Docker)

Offline -
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
HP Elitedesk G2 - 6500 - 16GB - HDD - No GPU (Ubuntu Server)
Lenovo m700 6500T - 16GB - NVME - No GPU (Ubuntu Server)
Lenovo m701 6500T - 16GB - NVME - No GPU (Ubuntu Server)
Lenovo m701 6500T - 16GB - SSD - No GPU (Ubuntu Server)

Dark Angel

By default Boinc will only allow manager access from the local host.  To access it from another machine you either need to allow it universally in the cc_config.xml file (not reccommended for security reasons) or put the remote host's IP address or device name (if you have local name resolution)in the remote_hosts.cfg file.

The default content of the file looks like this:
# This file contains a list of hostnames or IP addresses (one per line)
# of remote hosts, that are allowed to connect and to control the local
# BOINC core client via GUI RPCs.
# Lines beginning with a # or a ; are treated like comments and will be
# ignored.
#
#host.example.com
#192.168.0.180

Personally I use IP addresses but I use static IPs for my crunchers and only one can access the others.

Dingo

#29
I and a few others use BOINC Tasks as you can set it up to see all your computers in one place and have all the functionality of BOINC Manager and much more.

You need the IP address and the password.  The password ins in the BOINC folder file called gui_rpc_auth.xml



Radioactive@home graph
Have a look at the BOINC@AUSTRALIA Facebook Page and join and also the Twitter Page.

Proud Founder and member of BOINC@AUSTRALIA

My Luck Prime 1,056,356 digits.
Have a look at my  Web Cam of Parliament House Ottawa, CANADA