gui_rpc_auth.cfg exists but can't be read. Check the File permissions.

Message boards : Questions and problems : gui_rpc_auth.cfg exists but can't be read. Check the File permissions.
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Profile joelhuebner

Send message
Joined: 21 Mar 21
Posts: 1
United States
Message 103631 - Posted: 21 Mar 2021, 20:01:29 UTC - in response to Message 101190.  

chmod 664 /etc/boinc-client/gui_rpc_auth.cfg is the file permissions command that worked for me.

I tried all the others in this thread, still was getting the "permissions" message.

TY VM
ID: 103631 · Report as offensive     Reply Quote
JohnMD

Send message
Joined: 27 May 16
Posts: 8
Denmark
Message 103640 - Posted: 21 Mar 2021, 23:28:16 UTC

Isn´t time you "know-alls" got to the bottom of this ?
I'm just an amateur that wants to donate.
ID: 103640 · Report as offensive     Reply Quote
Stevo.acts

Send message
Joined: 9 Apr 21
Posts: 1
United States
Message 103913 - Posted: 9 Apr 2021, 18:21:52 UTC - in response to Message 101190.  

Following the steps you provided only fixed half the problem. The other part :
sudo nano journalctl -u boinc-client.service
(Now type 7883508 into the box)
Save and go back to terminal.
Type :
systemctl restart boinc-client
Then you're all good.
ID: 103913 · Report as offensive     Reply Quote
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 229
United Kingdom
Message 103917 - Posted: 9 Apr 2021, 21:28:44 UTC - in response to Message 103913.  

Following the steps you provided only fixed half the problem. The other part :
sudo nano journalctl -u boinc-client.service
(Now type 7883508 into the box)
Save and go back to terminal.
Type :
systemctl restart boinc-client
Then you're all good.


What is the significance of the 7883508?
ID: 103917 · Report as offensive     Reply Quote
Gort

Send message
Joined: 23 May 21
Posts: 1
United States
Message 104473 - Posted: 25 May 2021, 16:59:42 UTC

Tried all this .... except the last post... still no joy.
ID: 104473 · Report as offensive     Reply Quote
linuxcruizer

Send message
Joined: 23 Mar 20
Posts: 2
United States
Message 104621 - Posted: 25 Jun 2021, 20:51:26 UTC - in response to Message 104473.  
Last modified: 25 Jun 2021, 20:55:27 UTC

Hello,

I have been down this same rabbit hole, and it is very frustrating when you have 7 machines, and two of them (HPs) continued giving me the same errors that you experienced, and the other five PCs start services has the Boinc Manager GUI waiting on my desktop (setup using the commands found here <https://boinc.berkeley.edu/wiki/Stop_or_start_BOINC_daemon_after_boot> , but I digress...).

I ended up aptitude purging as well, then with Krusader, I searched the entire filesystem for anything related to boinc and deleted. Rebooted, used the download instructions again, found on World Community Grid <https://www.worldcommunitygrid.org/ms/viewDownloadAgain.action>

Using the last command from the download guide of "boincmgr -d/var/lib/boinc-client", (no joy) and then "sudo boincmgr -d/var/lib/boinc-client" I again received the rpc password failure.

Using Krusader as root, I went into the "/etc/boinc-client/gui_rpc_auth and input my password (the one I use for Boinc for both Rosetta@home and World Community Grid) and saved.

Using Debian/Ubuntu/Linux Mint/KDE desktop distribution (don't ask, I just like it), I used the command <update-rc.d boinc-client defaults 98> in Konsole (Terminal) to start boinc-client at startup, and rebooted my computer.

The Boinc Manager was on the desktop waiting for me to add project(s) or using my account manager.

I then ran a status command of <service boinc-client status> on Konsole to make sure boinc was running and found this:
boinc-client.service - Berkeley Open Infrastructure Network Computing Client
Loaded: loaded (/lib/systemd/system/boinc-client.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-06-25 13:43:53 CDT; 38min ago
Docs: man:boinc(1)
Main PID: 1378 (boinc)
Tasks: 13 (limit: 17835)
Memory: 3.1G
CGroup: /system.slice/boinc-client.service
├─1378 /usr/bin/boinc
├─3071 ../../projects/www.worldcommunitygrid.org/wcgrid_mcm1_map_7.43_x86_64-pc-linux-gnu>
├─4955 ../../projects/boinc.bakerlab.org_rosetta/rosetta_4.20_x86_64-pc-linux-gnu -run:pr>
├─4976 ../../projects/boinc.bakerlab.org_rosetta/rosetta_4.20_x86_64-pc-linux-gnu -run:pr>
└─4978 ../../projects/boinc.bakerlab.org_rosetta/rosetta_4.20_x86_64-pc-linux-gnu @foldit>

Jun 25 13:53:35 computer'sname boinc[1378]: 25-Jun-2021 13:53:35 [Rosetta@home] Started download of asy>
Jun 25 13:53:49 computer'sname boinc[1378]: 25-Jun-2021 13:53:49 [Rosetta@home] Finished download of as>
Jun 25 13:53:49 computer'sname boinc[1378]: 25-Jun-2021 13:53:49 [Rosetta@home] Started download of fol>
Jun 25 13:53:52 computer'sname boinc[1378]: 25-Jun-2021 13:53:52 [Rosetta@home] Finished download of fo>
Jun 25 14:01:59 computer'sname boinc[1378]: 25-Jun-2021 14:01:59 [Rosetta@home] Finished download of da>
Jun 25 14:02:22 computer'sname boinc[1378]: 25-Jun-2021 14:02:22 [Rosetta@home] Starting task pre_helic>
Jun 25 14:02:35 computer'sname boinc[1378]: 25-Jun-2021 14:02:35 [Rosetta@home] Starting task pre_helic>
Jun 25 14:02:35 computer'sname boinc[1378]: 25-Jun-2021 14:02:35 [---] Suspending computation - CPU is >
Jun 25 14:02:45 computer'sname boinc[1378]: 25-Jun-2021 14:02:45 [---] Resuming computation
Jun 25 14:02:58 computer'sname boinc[1378]: 25-Jun-2021 14:02:58 [Rosetta@home] Starting task foldit_20>
lines 1-24/24 (END)

Now remember, that the Boinc Manager started at system startup, so I decided to exit the Boinc Manager to determine if my Boinc application would start Boinc Manager. So, after closing Boinc Manager, I went to: start (application launcher)>Applications>System>Boinc and clicked on the icon which resulted in previous behavior of starting and then disappearing........so I right clicked on the Boinc Icon found at start>Applications>System>Boinc and chose edit application. I then went to the Applications Tab and entered the following:
Command: /var/lib/boinc-client
Work Path: boincmgr
and then clicked OK.

I checked the system monitor to insure that Boinc was not running and then again went to start>Applications>System>Boinc and clicked on the Application Icon for Boinc. The Boinc Manager came up and started with no issues.

This has been a long an arduous journey, fraught with downloading, uninstalling, purging, reinstalling, starting from boot, and finally hacking the command and work path for the Boinc Desktop Application in order to get things working.

From what I have learned from going through all of the searches, this is a common issue for some Distros and not for others. For instance, when I was running Linux Mint Cinnamon, Boinc just worked without any issues. I began having issues when I layered KDE on top of Linux Mint. Also, of note, I had updated my boinc-client/boinc manager to version 7.16.17(x64) wxWidgets version 3.0.4. I am still not sure why the rpc password issue began.

Summary:
I found that if I did not purge all that was boinc before reinstalling, that nothing I did would work, and even after purging everything boinc, I still had to hack the Command and Work path of the boinc application to get the boinc client and boinc manager to start and behave properly.

This is definitely an issue that needs some attention. My experience has been purging, reinstalling, start the boinc-client at startup and then hack the Boinc Manager icon application properties. Has a lot of my issues been self inflicted? Probably. Is this going to work for everyone? Probably not.

Thanks to everyone for their input and feedback across this post. I wish you all good luck in finding the solution for all of those having similar issues.
ID: 104621 · Report as offensive     Reply Quote
linuxcruizer

Send message
Joined: 23 Mar 20
Posts: 2
United States
Message 104623 - Posted: 26 Jun 2021, 3:49:05 UTC

Update: The following may be of interest: I discovered after the stop of a boinc account manager, no more issues. Next, I changed back from KDE to a Cinnamon Desktop. The operation of my Desktop with the boinc managers has gone back to being very stable. The two PCs that I have left with KDE desktops became stable after removing the Boinc Account Manager and tweaking /etc/default/boinc-client "# Set this to 1 to enable and to 0 to disable the init script.
ENABLED="1" (see footnote)
As stated in prior post, this allows the boinc client and boinc manager to run at startup.

I am not sure why the boinc account manager was causing me issues, or it maybe it was my layered distribution. I really like using a KDE desktop, but I have found that I have a new appreciation for the stability of my Cinnamon Desktop.

Thanks again for everyone's input, all of your heavy lifting has helped.


footnote: tweaking information was gleaned from <https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu>
ID: 104623 · Report as offensive     Reply Quote
Previous · 1 · 2

Message boards : Questions and problems : gui_rpc_auth.cfg exists but can't be read. Check the File permissions.

Copyright © 2022 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.