Thread 'Repeatable error in BOINC Client for CentOS'

Message boards : BOINC client : Repeatable error in BOINC Client for CentOS
Message board moderation

To post messages, you must log in.

AuthorMessage
Trekkie

Send message
Joined: 6 Feb 19
Posts: 2
United States
Message 89925 - Posted: 6 Feb 2019, 16:08:59 UTC

i own a lab and was using BOINC to generate some CPU workload on multiple machines, so I've been repeatedly setting up CentOS 7.4, and installing the boinc client, and attaching it.

every time I just install via yum install -y boinc-client which installs 7.14.2

*every* time after I enable and start the service i am unable to attach the client with my credentials (authentication error) until i stop the service, delete the file gui_rpc_auth.cfg, restart the service.

Now, this isn't working on one machine. it's re-creating that file every time I start the service. it's driving me a little bonkers because this should be pretty straight forward. What am I missing? I'm using CLI only here. no gui on these headless nodes. What is creating that file? i don't want it until i attach do i?
ID: 89925 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15573
Netherlands
Message 89931 - Posted: 6 Feb 2019, 19:51:28 UTC - in response to Message 89925.  

I think that the boinccmd tool uses the same RPC as the BOINC Manager (GUI) does, as it still has to talk to the client to command it.
Have you set the RPC port (tcp 31416) in your firewall?
ID: 89931 · Report as offensive
Trekkie

Send message
Joined: 6 Feb 19
Posts: 2
United States
Message 90647 - Posted: 11 Mar 2019, 15:22:17 UTC

OK. I figured out my process problem.

I was not cd /var/lib/boinc first.

run outside that directory (fail)
run inside that directory (success)

seems where you execute that command is important.
ID: 90647 · Report as offensive
ProfileDave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2725
United Kingdom
Message 90650 - Posted: 11 Mar 2019, 16:01:40 UTC

seems where you execute that command is important.


I seem to remember that if starting the manager from a terminal,it needs to be done from the directory where the client resides.
ID: 90650 · Report as offensive
Germano

Send message
Joined: 21 May 16
Posts: 37
Italy
Message 91586 - Posted: 21 May 2019, 9:30:57 UTC
Last modified: 21 May 2019, 9:35:51 UTC

Hello, I am the BOINC comaintainer on Fedora / CentOS / RHEL.
Instead of erasing /var/lib/boinc/gui_rpc_auth.cfg, just run as root
echo > /var/lib/boinc/gui_rpc_auth.cfg

And it will be fine
ID: 91586 · Report as offensive

Message boards : BOINC client : Repeatable error in BOINC Client for CentOS

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.