Authorization failure mit boinc

Imhoteph

Cadet 4th Year
Registriert
Jan. 2022
Beiträge
113
Hi,
ich wollte meine boinc Instanz mal wieder nutzen was aber nicht klappt.

Bash:
imhoteph@raspberrypi:~ $sudo apt install boinc-client
Paketlisten werden gelesen... Fertig
Abh�ngigkeitsbaum wird aufgebaut... Fertig
Statusinformationen werden eingelesen... Fertig
boinc-client ist schon die neueste Version (7.20.5+dfsg-1.1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
imhoteph@raspberrypi:~ $ boinccmd --get_project_status
Authorization failure: -155
imhoteph@raspberrypi:~ $ boinccmd --get_state
Authorization failure: -155

Ich habe noch ein paar andere Befehle versucht, bekomme aber immer den Authorization failure.

Was könnte das sein?
 
https://boinc.berkeley.edu/wiki/Boinccmd_tool

If you run boinccmd in the same directory as the BOINC client,you don't need to supply either a host name or a password.

Otherwise you need to supply (as password) the string stored in the filegui_rpc_auth.cfg in the client's data directory.If you run boinccmd remotely you also need toconfigure the client to accept remote control.

hostname can be a domain name, an IPv4 address, or an IPv6 address.If the client uses a non-default GUI RPC port,you can specify it as hostname:port, IPv4_addr:port, or IPv6_addr:port.

If you use the bash shell, you may find this command completion script useful.
Also entweder versuchen mit dem Terminal in den Ordner wechseln in welchem der Boinc Client liegt(/var/lib/boinc-client/ ?) oder die Daten angeben.
 
Bash:
imhoteph@raspberrypi:~ $ nano gui_rpc_auth.cfg
imhoteph@raspberrypi:~ $ /etc/init.d/boinc-client restart
Restarting boinc-client (via systemctl): boinc-client.service==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
[Invalid UTF-8]
Authenticating as: ,,, (imhoteph)
Password:
==== AUTHENTICATION COMPLETE ====
.
imhoteph@raspberrypi:~ $ boinccmd --host localhost --passwd *** --get_state
Authorization failure: -155
Ergänzung ()

okay, ich habe nun etwas gesucht und folgendes gefunden:
Bash:
imhoteph@raspberrypi:~ $ cd /etc/init.d/
imhoteph@raspberrypi:/etc/init.d $ ./boinc-client
Usage: ./boinc-client {start|stop|restart|force-reload|status|schedule}.
imhoteph@raspberrypi:/etc/init.d $ ./boinc-client start
Starting boinc-client (via systemctl): boinc-client.service==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
[Invalid UTF-8]
Authenticating as: ,,, (imhoteph)
Password:
==== AUTHENTICATION COMPLETE ====
.
imhoteph@raspberrypi:/etc/init.d $ ./boinc-client status
* boinc-client.service - Berkeley Open Infrastructure Network Computing Client
     Loaded: loaded (/lib/systemd/system/boinc-client.service; enabled; preset: enabled)
     Active: active (running) since Thu 2025-01-30 21:16:11 CET; 11min ago
       Docs: man:boinc(1)
   Main PID: 14209 (boinc)
      Tasks: 2 (limit: 1593)
        CPU: 7.241s
     CGroup: /system.slice/boinc-client.service
             `-14209 /usr/bin/boinc
Jan 30 21:16:31 raspberrypi boinc[14209]: 30-Jan-2025 21:16:31 [https://setiathome.berkeley.edu/] Scheduler request failed: HTTP file not found
Jan 30 21:18:12 raspberrypi boinc[14209]: 30-Jan-2025 21:18:12 [https://setiathome.berkeley.edu/] Sending scheduler request: To fetch work.
Jan 30 21:18:12 raspberrypi boinc[14209]: 30-Jan-2025 21:18:12 [https://setiathome.berkeley.edu/] Requesting new tasks for CPU

imhoteph@raspberrypi:/etc/init.d $ boinccmd --get_state
Can't get RPC password: /var/lib/boinc-client/gui_rpc_auth.cfg exists but can't be read.  See https://boinc.berkeley.edu/gui_rpc.php
Only operations not requiring authorization will be allowed.
======== Projects ========
1) -----------
   name: 
   master URL: https://scienceunited.org/
   user_name: 
   team_name:
das sieht schonmal besser aus. Nun muss ich nur noch das abgeschlossene SETI@home entfernen und andere Projekte verbinden.
 
Zuletzt bearbeitet:
  • Gefällt mir
Reaktionen: SpartanerTom
klingt wie: ein passwort fehler.
warumauchimmer
ich hab den fehler ned, aber ich nutze eine accountverwaltung. seit 22 hahren. zuminstest ist der account in etwa so alt.
 
Na toll:
Can't get RPC password: /var/lib/boinc-client/gui_rpc_auth.cfg exists but can't be read. See https://boinc.berkeley.edu/gui_rpc.php
Ich habe die dort aufgeführten Kommandos ausgeführt und nun bekomme ich wieder den Authorization Fehler -155
Bash:
imhoteph@raspberrypi:/etc/init.d $ sudo usermod -a -G boinc $USER
imhoteph@raspberrypi:/etc/init.d $ exec su $USER
Passwort:
imhoteph@raspberrypi:/etc/init.d $ boinccmd --get_state
Authorization failure: -155
Jemand noch eine Idee?

EDIT: Sorry, da war ich wohl zu schnell; ich habe den boinc-client neu gestartet nun geht es.
Ergänzung ()

whats4 schrieb:
ich hab den fehler ned, aber ich nutze eine accountverwaltung.
wie funktioniert das denn?
 
Was sagt denn which boinc_client wo die client binaries zu finden sind? init.d ist ja eigentlich nur ein folder für scripte welche man vom daemon ausführen lassen kann.
 

Ähnliche Themen

F
  • Furtano
  • Online
Antworten
0
Aufrufe
974
F
Zurück
Oben