BOINC Invalid client RPC password. Try reinstalling BOINC

Message boards : Questions and problems : BOINC Invalid client RPC password. Try reinstalling BOINC
Message board moderation

To post messages, you must log in.

AuthorMessage
Richard Holmes

Send message
Joined: 13 Feb 22
Posts: 6
United States
Message 113594 - Posted: 13 Feb 2024, 3:42:11 UTC

I am getting the above error and have not been able to fix it.

Reinstalling BOINC did not work.

I googled some possible remedies but had no success. In particular I followed the procedure here: https://techoverflow.net/2021/11/29/how-i-fixed-ubuntu-boinc-invalid-client-rpc-password-try-reinstalling-boinc/

# Generate new RPC password
sudo apt -y install pwgen
pwgen 30 1 | sudo tee /etc/boinc-client/gui_rpc_auth.cfg
# Fix some permissions
sudo chown root:boinc /etc/boinc-client/gui_rpc_auth.cfg
sudo chown root:boinc /var/lib/boinc/gui_rpc_auth.cfg
# Add current user to BOINC group
sudo usermod -a -G boinc $USER
# Restart BOINC client
sudo systemctl restart boinc-client


I am in group boinc:
$ groups
rsholmes adm tty dialout cdrom sudo audio dip plugdev users lpadmin sambashare boinc libvirt


File permissions:

$ ls -l /etc/boinc-client/gui_rpc_auth.cfg
-rw-r----- 1 root boinc 1 Jan 26  2022 /etc/boinc-client/gui_rpc_auth.cfg
$ ls -l /var/lib/boinc/gui_rpc_auth.cfg
lrwxrwxrwx 1 root root 34 Feb 12 22:14 /var/lib/boinc/gui_rpc_auth.cfg -> /etc/boinc-client/gui_rpc_auth.cfg
$ ls -ld /var/lib/boinc-client/
drwxrwxr-x 5 boinc boinc 4096 Feb 12 22:39 /var/lib/boinc-client/


boincmgr version is 7.18.1
OS is Linux Mint 21.2
ID: 113594 · Report as offensive     Reply Quote
Richard Holmes

Send message
Joined: 13 Feb 22
Posts: 6
United States
Message 113595 - Posted: 13 Feb 2024, 3:48:19 UTC - in response to Message 113594.  

Reinstallation was done according to https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Debian_or_Ubuntu .
ID: 113595 · Report as offensive     Reply Quote
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2526
United Kingdom
Message 113596 - Posted: 13 Feb 2024, 6:44:32 UTC

As well as adding myself to the boinc group I always give myself read and write permissions to /var/lib'boinc-client. There are several threads on these forums about this issue but I don't have a machine free to test which one works on a default installation at the moment having stopped using the repositories and building the client and manager from source.
ID: 113596 · Report as offensive     Reply Quote
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2526
United Kingdom
Message 113597 - Posted: 13 Feb 2024, 7:49:42 UTC - in response to Message 113596.  

** /var/lib/boinc-client **
ID: 113597 · Report as offensive     Reply Quote
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 865
United States
Message 113599 - Posted: 13 Feb 2024, 8:51:48 UTC

Using a /home located folder for BOINC solves a multitude of problems. I personally like the original Berkeley installer version colloquially known as the All-In-One installation.

Can be found at the Lunatics website. http://www.arkayn.us/lunatics/BOINC.7z
ID: 113599 · Report as offensive     Reply Quote
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2526
United Kingdom
Message 113600 - Posted: 13 Feb 2024, 9:01:43 UTC - in response to Message 113599.  

Can be found at the Lunatics website. http://www.arkayn.us/lunatics/BOINC.7z


I notice that clicking on the link, Firefox objects because the file is downloaded via http rather than https. Not an insurmountable issue and I would be prepared to accept the security risk.
ID: 113600 · Report as offensive     Reply Quote
Richard Holmes

Send message
Joined: 13 Feb 22
Posts: 6
United States
Message 113604 - Posted: 13 Feb 2024, 19:51:21 UTC - in response to Message 113597.  

See above,
drwxrwxr-x 5 boinc boinc 4096 Feb 13 14:49 /var/lib/boinc-client
.
ID: 113604 · Report as offensive     Reply Quote
Richard Holmes

Send message
Joined: 13 Feb 22
Posts: 6
United States
Message 113605 - Posted: 13 Feb 2024, 19:53:50 UTC - in response to Message 113604.  

I had boinc and boincmgr installed, it was working fine. Then it started giving me these errors.
ID: 113605 · Report as offensive     Reply Quote
Richard Holmes

Send message
Joined: 13 Feb 22
Posts: 6
United States
Message 113606 - Posted: 13 Feb 2024, 20:02:03 UTC - in response to Message 113600.  

I am not enthusiastic about running software downloaded from a random site I never heard of especially with no documentation or description.

Is there no way to get this site's software working? It *was* working and then suddenly it wasn't.
ID: 113606 · Report as offensive     Reply Quote
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 865
United States
Message 113607 - Posted: 13 Feb 2024, 22:09:55 UTC - in response to Message 113606.  
Last modified: 13 Feb 2024, 22:27:27 UTC

Lunatics was the original expert or power user Seti app, tech tips, utilities website. Been around forever. Forums are no longer there but all the special apps are still available.

The two devs that developed the SETI applications hung out there.

The BOINC.zip file is what is referred to as the All-in-One version of Boinc. It is a full installation of Boinc that is just unzipped into your /home directory. Everything is already set up with all files and folders in place with the local user permissions set.

To get Boinc running all one needs to do is unpack the file and double-click on the Boinc Manager and that starts the Boinc client. Just need to start adding projects via the standard Manager interface.

Older client that was compiled under Ubuntu 20.04 so you need to add the older OpenSSL 1.1 library to get it to run under Ubuntu 22.04 or later because the those later versions dropped 1.1 versions and moved to 3.0 versions of OpenSSL.

Just wanted to point out the easy way to solve your issue. There is a much harder way to move all the files, folders, links and permissions of a distro version of BOINC into the /home folder if you want to go that way. As long as you are comfortable with the command line and have some time, you can get the newer repo versions moved to /home also.
ID: 113607 · Report as offensive     Reply Quote
Richard Holmes

Send message
Joined: 13 Feb 22
Posts: 6
United States
Message 113608 - Posted: 13 Feb 2024, 23:06:12 UTC

In other words, no, this site's software is hopelessly broken?

Then I'll give up, I guess.
ID: 113608 · Report as offensive     Reply Quote
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 865
United States
Message 113612 - Posted: 14 Feb 2024, 18:50:03 UTC - in response to Message 113608.  
Last modified: 14 Feb 2024, 18:51:10 UTC

In other words, no, this site's software is hopelessly broken?

Then I'll give up, I guess.

Up to you.

Works if you are still running any LTS of Ubuntu versions 20 or less.
ID: 113612 · Report as offensive     Reply Quote
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2526
United Kingdom
Message 113614 - Posted: 14 Feb 2024, 19:25:55 UTC

Works if you are still running any LTS of Ubuntu versions 20 or less.
I would have thought if everyone had this problem with versions 21.x and above of Ubuntu, we would have heard a lot more about it here.
ID: 113614 · Report as offensive     Reply Quote
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 284
United Kingdom
Message 113616 - Posted: 14 Feb 2024, 21:29:21 UTC - in response to Message 113614.  

Works if you are still running any LTS of Ubuntu versions 20 or less.
I would have thought if everyone had this problem with versions 21.x and above of Ubuntu, we would have heard a lot more about it here.


I’m running Ubuntu 22.04 with Gianfranco’s version 7.20.5 and have had zero problems - certainly not “hopelessly broken”.
ID: 113616 · Report as offensive     Reply Quote
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 865
United States
Message 113617 - Posted: 15 Feb 2024, 0:08:42 UTC - in response to Message 113614.  

Works if you are still running any LTS of Ubuntu versions 20 or less.
I would have thought if everyone had this problem with versions 21.x and above of Ubuntu, we would have heard a lot more about it here.

Only from users of the AIO. And from the previous post, I guess most people have never tried it. So no reports of any issues if there are not many using it.

All my teammates use it as the base BOINC configuration before adding more support for our special apps.
I never use any repo version BOINC unless the AIO is not available for the platform like with my Raspberry Pi's. Only then do I have to do the permissions dance with files and folders under root.

As, I stated, Ubuntu flavors past 20 have deprecated libssl1.1 library and only supply libssl3.0 now. But it is a simple fix to add the missing library back in with a download of the libssl1.1 library from the OpenSSL repository.

http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2.21_amd64.deb

sudo dpkg -i openssl_1.1.1f-1ubuntu2.21_amd64.deb
ID: 113617 · Report as offensive     Reply Quote

Message boards : Questions and problems : BOINC Invalid client RPC password. Try reinstalling BOINC

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.