Message boards : BOINC client : Authentication error
Message board moderation
Author | Message |
---|---|
Send message Joined: 9 Sep 20 Posts: 10 |
I'm running boinccmd, built from BOINC 7.16.6, on a company server (CentOS 7 Core) as a non-root user (I am responsible for the project, but I am not the admin). When trying to connect to an existing account or attach projects, I get an authentication error. The admin added me to the boinc group, which according to https://boinc.berkeley.edu/forum_thread.php?id=10903 should solve the issue, but it doesn't. I can run simple commands like --version or --get_state without problems, and I have confirmed that the client is up and running, and that my working dir is /var/lib/boinc/. But so far, I cannot get it to perform any tasks. Any ideas what the problem could be? |
Send message Joined: 29 Aug 05 Posts: 15571 |
Which command do you use? |
Send message Joined: 9 Sep 20 Posts: 10 |
boinccmd --run_benchmarks boinccmd --project_attach http://worldcommunitygrid.org <my_key> |
Send message Joined: 29 Aug 05 Posts: 15571 |
Try boinccmd --project_attach http://www.worldcommunitygrid.org/ <your account key> |
Send message Joined: 9 Sep 20 Posts: 10 |
That is what I did, I forgot to type in the www in my previous post. |
Send message Joined: 29 Aug 05 Posts: 15571 |
Are you using your full account key or the weak account key? Which directory are you running the command from? Does your BOINC Programs directory have a path into the environment path? I just tested it for myself, have BOINC Manager open. Did the command from the BOINC Programs directory (in my case, Windows, C:\Program Files\BOINC) C:\Program Files\BOINC>boinccmd --project_attach http://www.worldcommunitygrid.org (my-key) 09/09/2020 17:59:00 | | Setting up GUI RPC socket 09/09/2020 17:59:00 | | Checking presence of 685 project files 09/09/2020 18:05:36 | http://www.worldcommunitygrid.org/ | [sched_op] Fetching master file 09/09/2020 18:05:36 | http://www.worldcommunitygrid.org/ | Fetching scheduler list 09/09/2020 18:05:38 | http://www.worldcommunitygrid.org/ | [sched_op] Got master file; parsing 09/09/2020 18:05:38 | http://www.worldcommunitygrid.org/ | [sched_op] Found 1 scheduler URLs in master file 09/09/2020 18:05:38 | http://www.worldcommunitygrid.org/ | Master file download succeeded 09/09/2020 18:05:44 | http://www.worldcommunitygrid.org/ | [sched_op] sched RPC pending: Project initialization 09/09/2020 18:05:44 | http://www.worldcommunitygrid.org/ | [sched_op] Starting scheduler request 09/09/2020 18:05:44 | http://www.worldcommunitygrid.org/ | Sending scheduler request: Project initialization. 09/09/2020 18:05:44 | http://www.worldcommunitygrid.org/ | Requesting new tasks for CPU and AMD/ATI GPU 09/09/2020 18:05:44 | http://www.worldcommunitygrid.org/ | [sched_op] CPU work request: 1.00 seconds; 0.00 devices 09/09/2020 18:05:44 | http://www.worldcommunitygrid.org/ | [sched_op] AMD/ATI GPU work request: 1.00 seconds; 0.00 devices |
Send message Joined: 5 Mar 08 Posts: 272 |
Normally you have to also supply the password (the one in /etc/boinc-client/gui_rpc_auth.cfg) so try this (substituting the password). boinccmd --passwd PASSWORD --project_attach http://www.worldcommunitygrid.org (my-key) MarkJ |
Send message Joined: 9 Sep 20 Posts: 10 |
I'm using my full account key. I'm on CentOS 7, so I'm running from inside /var/lib/boinc. |
Send message Joined: 9 Sep 20 Posts: 10 |
There is no password in /etc/boinc-client/gui_rpc_auth.cfg. The owner is root:root though, I'll check if that's the problem. |
Send message Joined: 29 Aug 05 Posts: 15571 |
You can manually add a password into the file, something of your own. Doesn't need to be a whole sentence. No line feed at the end though. |
Send message Joined: 9 Sep 20 Posts: 10 |
The problem was the ownership of the files, changing it to boinc:boinc did the trick. Thanks everyone for your support! |
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.