PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : BOINC auf Debian-Server einrichten



Doener
23.01.2007, 13:28
Hallo zusammen!

Wenn ich BOINC auf meinem Desktop-Rechner (AMD64, 32-Bit-Ubuntu 6.10) einrichte, wird der Rechner instabil und u.a. Firefox stürzt sehr oft ab.

Daher wollte ich nun testweise auf meinem Hetzner-Server (64-Bit-Debian 4.0) weiterechnen, der sowieso 24h am Tag läuft.

Nachdem ich den Client mittels "sudo apt-get install boinc-client" installiert habe, möchte ich meine beim World Community Grid (http://www.worldcommunitygrid.org/) existierende ID weiternutzen. Also gebe ich folgendes ein:


boinc -attach_project www.worldcommunitygrid.org 326693dff1...[Rest des BOINC Account Keys]

Die Ausgabe dann sieht folgendermaßen aus:



2007-01-23 14:12:24 [---] Starting BOINC client version 5.4.11 for x86_64-pc-linux-gnu
2007-01-23 14:12:24 [---] libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
2007-01-23 14:12:24 [---] Data directory: /home/doener
2007-01-23 14:12:24 [---] Processor: 1 AuthenticAMD AMD Athlon(tm) 64 Processor 3700+
2007-01-23 14:12:24 [---] Memory: 1.96 GB physical, 3.81 GB virtual
2007-01-23 14:12:24 [---] Disk: 9.17 GB total, 7.26 GB free
2007-01-23 14:12:24 [---] Already attached to http://www.worldcommunitygrid.org/
2007-01-23 14:12:24 [---] Already attached to http://www.worldcommunitygrid.org/
2007-01-23 14:12:24 [World Community Grid] URL: http://www.worldcommunitygrid.org/; Computer ID: 105502; location: ; project prefs: default
2007-01-23 14:12:24 [---] No general preferences found - using BOINC defaults
2007-01-23 14:12:24 [---] Local control only allowed
2007-01-23 14:12:24 [---] GUI RPC bind failed: -1
2007-01-23 14:12:24 [---] GUI RPC bind failed: -1
2007-01-23 14:12:25 [---] Local control only allowed
2007-01-23 14:12:25 [---] GUI RPC bind failed: -1
2007-01-23 14:12:25 [---] GUI RPC bind failed: -1
2007-01-23 14:12:26 [---] Local control only allowed
2007-01-23 14:12:26 [---] GUI RPC bind failed: -1
2007-01-23 14:12:26 [---] GUI RPC bind failed: -1
2007-01-23 14:12:27 [---] Local control only allowed
2007-01-23 14:12:27 [---] GUI RPC bind failed: -1
2007-01-23 14:12:27 [---] GUI RPC bind failed: -1
2007-01-23 14:12:28 [---] Local control only allowed
2007-01-23 14:12:28 [---] GUI RPC bind failed: -1
2007-01-23 14:12:28 [---] GUI RPC bind failed: -1
2007-01-23 14:12:29 [---] Local control only allowed
2007-01-23 14:12:29 [---] GUI RPC bind failed: -1
2007-01-23 14:12:29 [---] GUI RPC bind failed: -1
2007-01-23 14:12:30 [---] Local control only allowed
2007-01-23 14:12:30 [---] GUI RPC bind failed: -1
2007-01-23 14:12:30 [---] GUI RPC bind failed: -1
2007-01-23 14:12:31 [---] Local control only allowed
2007-01-23 14:12:31 [---] GUI RPC bind failed: -1
2007-01-23 14:12:31 [---] GUI RPC bind failed: -1
2007-01-23 14:12:32 [---] Local control only allowed
2007-01-23 14:12:32 [---] GUI RPC bind failed: -1
2007-01-23 14:12:32 [---] GUI RPC bind failed: -1
2007-01-23 14:12:33 [---] Local control only allowed
2007-01-23 14:12:33 [---] GUI RPC bind failed: -1
2007-01-23 14:12:33 [---] GUI RPC bind failed: -1
2007-01-23 14:12:34 [---] Local control only allowed
2007-01-23 14:12:34 [---] GUI RPC bind failed: -1
2007-01-23 14:12:34 [---] GUI RPC bind failed: -1
2007-01-23 14:12:35 [---] Local control only allowed
2007-01-23 14:12:35 [---] GUI RPC bind failed: -1
2007-01-23 14:12:35 [---] GUI RPC bind failed: -1
2007-01-23 14:12:36 [---] Local control only allowed
2007-01-23 14:12:36 [---] GUI RPC bind failed: -1
2007-01-23 14:12:36 [---] GUI RPC bind failed: -1
2007-01-23 14:12:37 [---] Local control only allowed
2007-01-23 14:12:37 [---] GUI RPC bind failed: -1
2007-01-23 14:12:37 [---] GUI RPC bind failed: -1
2007-01-23 14:12:38 [---] Local control only allowed
2007-01-23 14:12:38 [---] GUI RPC bind failed: -1
2007-01-23 14:12:38 [---] GUI RPC bind failed: -1
2007-01-23 14:12:39 [---] Local control only allowed
2007-01-23 14:12:39 [---] GUI RPC bind failed: -1
2007-01-23 14:12:39 [---] GUI RPC bind failed: -1
2007-01-23 14:12:40 [---] Local control only allowed
2007-01-23 14:12:40 [---] GUI RPC bind failed: -1
2007-01-23 14:12:40 [---] GUI RPC bind failed: -1
2007-01-23 14:12:41 [---] Local control only allowed
2007-01-23 14:12:41 [---] GUI RPC bind failed: -1
2007-01-23 14:12:41 [---] GUI RPC bind failed: -1
2007-01-23 14:12:42 [---] Local control only allowed
2007-01-23 14:12:42 [---] GUI RPC bind failed: -1
2007-01-23 14:12:42 [---] GUI RPC bind failed: -1
2007-01-23 14:12:43 [---] Local control only allowed
2007-01-23 14:12:43 [---] GUI RPC bind failed: -1
2007-01-23 14:12:43 [---] GUI RPC bind failed: -1
2007-01-23 14:12:44 [---] Local control only allowed
2007-01-23 14:12:44 [---] GUI RPC bind failed: -1
2007-01-23 14:12:44 [---] GUI RPC bind failed: -1
2007-01-23 14:12:45 [---] Local control only allowed
2007-01-23 14:12:45 [---] GUI RPC bind failed: -1
2007-01-23 14:12:45 [---] GUI RPC bind failed: -1
2007-01-23 14:12:46 [---] Local control only allowed
2007-01-23 14:12:46 [---] GUI RPC bind failed: -1
2007-01-23 14:12:46 [---] GUI RPC bind failed: -1
2007-01-23 14:12:47 [---] Local control only allowed
2007-01-23 14:12:47 [---] GUI RPC bind failed: -1
2007-01-23 14:12:47 [---] GUI RPC bind failed: -1
2007-01-23 14:12:48 [---] Local control only allowed
2007-01-23 14:12:48 [---] GUI RPC bind failed: -1
2007-01-23 14:12:48 [---] GUI RPC bind failed: -1
2007-01-23 14:12:49 [---] Local control only allowed
2007-01-23 14:12:49 [---] GUI RPC bind failed: -1
2007-01-23 14:12:49 [---] GUI RPC bind failed: -1
2007-01-23 14:12:50 [---] Local control only allowed
2007-01-23 14:12:50 [---] GUI RPC bind failed: -1
2007-01-23 14:12:50 [---] GUI RPC bind failed: -1
2007-01-23 14:12:51 [---] Local control only allowed
2007-01-23 14:12:51 [---] GUI RPC bind failed: -1
2007-01-23 14:12:51 [---] GUI RPC bind failed: -1
2007-01-23 14:12:52 [---] Local control only allowed
2007-01-23 14:12:52 [---] GUI RPC bind failed: -1
2007-01-23 14:12:52 [---] GUI RPC bind failed: -1
2007-01-23 14:12:53 [---] Local control only allowed
2007-01-23 14:12:53 [---] GUI RPC bind failed: -1
2007-01-23 14:12:53 [---] GUI RPC bind failed: -1
gstate.init() failed: -180


Auch ein vorangestelltes "sudo" ändert daran nichts.

Wenn ich den Client mittels


sudo /etc/init.d/boinc-client stop

stoppe und dann nochmal den o.g. Befehl "boinc -attach_project www.worldcommunitygrid.org 326693dff1bf9f3...." ausführe, bekomme ich das hier:


2007-01-23 14:15:15 [---] Starting BOINC client version 5.4.11 for x86_64-pc-linux-gnu
2007-01-23 14:15:15 [---] libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
2007-01-23 14:15:15 [---] Data directory: /home/doener
2007-01-23 14:15:15 [---] Processor: 1 AuthenticAMD AMD Athlon(tm) 64 Processor 3700+
2007-01-23 14:15:15 [---] Memory: 1.96 GB physical, 3.81 GB virtual
2007-01-23 14:15:15 [---] Disk: 9.17 GB total, 7.26 GB free
2007-01-23 14:15:15 [---] Already attached to http://www.worldcommunitygrid.org/
2007-01-23 14:15:15 [---] Already attached to http://www.worldcommunitygrid.org/
2007-01-23 14:15:15 [World Community Grid] URL: http://www.worldcommunitygrid.org/; Computer ID: 105502; location: ; project prefs: default
2007-01-23 14:15:15 [---] No general preferences found - using BOINC defaults
2007-01-23 14:15:15 [---] Local control only allowed
2007-01-23 14:15:15 [---] Listening on port 31416
2007-01-23 14:15:15 [World Community Grid] Sending scheduler request to https://secure.worldcommunitygrid.org/boinc/wcg_cgi/fcgi
2007-01-23 14:15:15 [World Community Grid] Reason: To fetch work
2007-01-23 14:15:15 [World Community Grid] Requesting 8640 seconds of new work
2007-01-23 14:15:20 [World Community Grid] Scheduler request succeeded
2007-01-23 14:15:20 [World Community Grid] Message from server: platform 'x86_64-pc-linux-gnu' not found
2007-01-23 14:15:20 [World Community Grid] No work from project
2007-01-23 14:15:20 [World Community Grid] No work from project

Danach passiert nichts mehr, bis ich den Prozess mit Strg+C abbreche:


2007-01-23 14:16:23 [---] Received signal 2
2007-01-23 14:16:24 [---] Exit requested by user
2007-01-23 14:16:24 [---] Rescheduling CPU: exit_task

Derselbe Befehl mit sudo erzeugt eine andere Ausgabe:


2007-01-23 14:16:40 [---] Starting BOINC client version 5.4.11 for x86_64-pc-linux-gnu
2007-01-23 14:16:40 [---] libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
2007-01-23 14:16:40 [---] Data directory: /home/doener
2007-01-23 14:16:40 [---] Processor: 1 AuthenticAMD AMD Athlon(tm) 64 Processor 3700+
2007-01-23 14:16:40 [---] Memory: 1.96 GB physical, 3.81 GB virtual
2007-01-23 14:16:40 [---] Disk: 9.17 GB total, 7.26 GB free
2007-01-23 14:16:40 [---] Already attached to http://www.worldcommunitygrid.org/
2007-01-23 14:16:40 [---] Already attached to http://www.worldcommunitygrid.org/
2007-01-23 14:16:40 [World Community Grid] URL: http://www.worldcommunitygrid.org/; Computer ID: 105502; location: ; project prefs: default
2007-01-23 14:16:40 [---] No general preferences found - using BOINC defaults
2007-01-23 14:16:40 [---] Local control only allowed
2007-01-23 14:16:40 [---] Listening on port 31416

Auch an dieser Stelle passiert dann nichts mehr.

Kann mir jemand weiterhelfen? Ich habe schon einiges anderes probiert aber nie taucht der BOINC-Prozess auf, wenn ich "top" eingebe. Ich würde so gerne mitrechnen ...

Leprechaun
23.01.2007, 14:23
2007-01-23 14:15:20 [World Community Grid] Message from server: platform 'x86_64-pc-linux-gnu' not found

Das steht in deinen Log und besagt, das es keinen 64 bit Client für dein System gibt.
Folglich wird auch Boinc nicht funktionieren. Entweder du besorgst dir das Teil oder machst selbst eins.

Doener
23.01.2007, 14:27
2007-01-23 14:15:20 [World Community Grid] Message from server: platform 'x86_64-pc-linux-gnu' not found

Das steht in deinen Log und besagt, das es keinen 64 bit Client für dein System gibt.

Oh. Die Projekte, bei denen ich mitmache sind:

FightAIDS@Home
Genome Comparison
Help Cure Muscular Dystrophy
Help Defeat Cancer
Human Proteome Folding 2

Gibt es wirklich für keines der Projekte einen 64-Bit-Client? Falls es zumindest für eines davon einen 64-Bit-Client gibt, kann ich die anderen ja deaktivieren.

Energiequant
23.01.2007, 20:05
Einstein, LHC, Predictor, BURP, QMC, NanoHive sind einige weitere (BOINC-)Projekte bei denen kein 64bit-Client (für Linux) verfügbar ist. Einfache Lösung: Du besorgst Dir den 32bit-Client, der meldet sich dann als 32bit bei den Projekten und alles läuft problemlos wie es soll. Dazu müssen lediglich die 32bit-Bibliotheken zur Kompatibilität vorhanden sein. Klingt dämlich, ist aber so.

Ich hoffe, Du hast BOINC nur zum Test versucht als root auszuführen und hast einen eigenen Benutzer dafür angelegt bzw. lässt das ganze als nobody o.ä. laufen. Einsperren in ein chroot ist auch nicht verkehrt.

Was Dein GUI-Problem betrifft:


2007-01-23 14:16:40 [---] Local control only allowed

Hast Du eine statische IP für den Manager-Rechner, dann trage diese in der remote_hosts.cfg (oder so ähnlich) ein. Oder starte mit -allow_remote_gui_rpc, dann steht BOINC generell offen mit dem in gui_rpc_auth.cfg stehenden (änderbaren) Kennwort.