News:

Members can see all forum boards and posts. Non members can only see a few boards.  If you have forgotten your password use this link to change it.
https://forum.boinc-australia.net/index.php?action=reminder

Main Menu

Problems running Boinc

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

Previous topic - Next topic

NudgeyNR

Recently installed Kubuntu as a VM and then installed Boinc through a package manager.

When i run boinc i get a chdir error, i proceeded to investigate and discovered that it needs to be run with sudo privileges.

Why is it not doing this itself ?

How do i make it run with sudo privileges ?

Also been trying to get it to autorun on startup.
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.



Dark Angel

By rights it should have started automatically once you installed it, then you manage it using the Boinc Manager application (boincmgr).  The client should start automatically as a service on boot.

Dingo

I had problems as well with privileges.  This fixed the problem for me.

Run these commands from a Terminal window

sudo systemctl start boinc-client  // This just starts boinc

top  // this will show the running processes to see if tasks are running.

If they are then you should be able to run BOINC Manager from the gui but if it does not start use the following.


cd /usr/bin

./boincmgr

When running these command note any error messages.  If all went well and no error messages on reboot just run sudo systemctl start boinc-client

I still run mine manually as it does not start on reboot.  Should look into it but it is in a VirtualBox and I start that up manually so just one more step to start BOINC.

Let me know how you go.







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

NudgeyNR

Quote from: Dingo on March 25, 2023, 06:59:26 PMI had problems as well with privileges.  This fixed the problem for me.

Run these commands from a Terminal window

sudo systemctl start boinc-client  // This just starts boinc

top  // this will show the running processes to see if tasks are running.

If they are then you should be able to run BOINC Manager from the gui but if it does not start use the following.


cd /usr/bin

./boincmgr

When running these command note any error messages.  If all went well and no error messages on reboot just run sudo systemctl start boinc-client

I still run mine manually as it does not start on reboot.  Should look into it but it is in a VirtualBox and I start that up manually so just one more step to start BOINC.

Let me know how you go.







Boinc runs but no wu's start when i start the service.

Boincmgr needs sudo to run aswell

Boinc does not run automatically after being installed.
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.



Dark Angel

What command did you use to install?

Sudo apt-get install boinc boinc-client boinc-manager ?

tazzduke

Hi NudgeyNR

Might I suggest you spin up a VM running Linux Mint 20.2, here is the download link

https://linuxmint.com/download_all.php

I installed it via the Synaptic program.

Either that, can you please tell us

Kubuntu Version
Kernel Version
Boinc Version

Also can you tell us the owner and group, do a ll command on /var/lib/boinc, which will give you all the details



 AA 24 - 53 participant

NudgeyNR

Quote from: tazzduke on March 26, 2023, 11:09:06 PMHi NudgeyNR

Might I suggest you spin up a VM running Linux Mint 20.2, here is the download link

https://linuxmint.com/download_all.php

I installed it via the Synaptic program.

Either that, can you please tell us

Kubuntu Version
Kernel Version
Boinc Version

Also can you tell us the owner and group, do a ll command on /var/lib/boinc, which will give you all the details

I used Discover Software Center on Kubuntu 21.10.

Kernel versiio - 5.19.0-38-generic.

Boinc version - 7.20.5

ll - lrwxrwxrwx 1 boinc boinc 12 Sep 13  2022 /var/lib/boinc -> boinc-client/

I hope that is everything.
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.



ryzenmulti

#7
Maybe it is where you are installing it from (the folder you run from when installing boinc). Is it desktop or some other? Where you a user or admin/root when you installed it?

I know on Manjaro Linux it matters where I installed Boinc from (arch linux uses pacman package manager) and make sure I am the user, not root. For simplicity I use the user home folder (cd ~) when I run 'sudo pacman -S boinc' and boinc project folders all get installed from there. If I installed from the desktop folder, then I'd have to run it from there. If you were the root user then there are issues with file ownership.

Always running from the folder I installed from creates no issues on arch.
The further back you look, the further forward you can see.

COMING SOON!! (2024)
136 intel cores (no H/T), 212 AMD/ryzen cores 8 RTX GPU's, 10 Tesla GPUs and 1.5TB RAM

Home cooked twin primes using python ... it started out with 256 digits of pi and eulers number ... and has ended with
(6*(3358638*(5^6137)+177))-1 ,4297 digits, is prime
(6*(3358638*(5^6137)+177))+1 ,4297 digits, is prime

tazzduke

Hi NudgeyNR

Thats a start, will do some further digging and see what I can come up with for you.

Cheers



 AA 24 - 53 participant

tazzduke

#9
Good 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.



 AA 24 - 53 participant

ryzenmulti

Quick question - is a shortcut to enable a service to start on boot the following?
sudo systemctl enable boinc
The further back you look, the further forward you can see.

COMING SOON!! (2024)
136 intel cores (no H/T), 212 AMD/ryzen cores 8 RTX GPU's, 10 Tesla GPUs and 1.5TB RAM

Home cooked twin primes using python ... it started out with 256 digits of pi and eulers number ... and has ended with
(6*(3358638*(5^6137)+177))-1 ,4297 digits, is prime
(6*(3358638*(5^6137)+177))+1 ,4297 digits, is prime

tazzduke

Quote from: ryzenmulti on March 30, 2023, 12:41:32 AMQuick question - is a shortcut to enable a service to start on boot the following?
sudo systemctl enable boinc

This is the command to autostart the boinc service on boot (not the client though)
sudo systemctl enable boinc-client.service



 AA 24 - 53 participant

NudgeyNR

Everything works with no errors until i try and create the symlink.

I get the error - ln: failed to create symbolic link '/home/boinc-4/gui_rpc_auth.cfg': File exists

I haven't gone any further that that as yet.
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.



NudgeyNR

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

Okay, error is saying link exists, try going on with the next steps.



 AA 24 - 53 participant