|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
boinc e linux: init script e utente boinc
Salve a tutti... vorrei poter eseguire boinc con uno script di init ma ho qualche problema
Il client l'ho compilato da me e se lo eseguo come utente tutto va bene... ma se provo ad utilizzare l'init script, boinc manager va trovando una password che è quella che sta in uno dei file di boinc... anche se la metto e riapro boinc manager cerca smepre la stessa password... come faccio a farlo paritre da init senza dover avere tutti questi macelli? Ho letto anche qualcosa a proposito di crare un altro utente boinc ma nn so come cavolo fare... preferirei seguire questa strada se qualcuno mi spiega meglio come fare... ciao ciao
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
![]() |
![]() |
![]() |
#2 | |||
Senior Member
Iscritto dal: Sep 2003
Città: San Mauro Torinese
Messaggi: 5402
|
Quote:
![]() Quote:
![]() Quote:
Io uso questo script: http://www.boinc.dk/downloads/mirror/boincctl Lo modifico secondo le mie esigenze: nome utente, directory di scaccolo. Lo copio in /etc/init.d e creo un link simbolico in /etc/rcS.d secondo le modalita' Debian. Lascia un po' di dettagli che sistemiamo tutto! ![]()
__________________
Suonare come superamento, anche se per pochi attimi, della realtà costrittiva, come espressione, comunicazione, con modalità proprie, agli altri; http://www.magazzinifranti.it/ |
|||
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
prova ad eseguire boinc in questo modo:
su <nomeutente> -c <comando per far partire boinc> Puoi mettere il tutto in uno script tipo questo: #!/bin/bash cd <directory dove sta boinc> su <nomeutente> -c <comando per far partire boinc> e lo metti alla'avvio. dovrebbe andare.
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
cmq ho una gentoo e vorrei capire meglio la storia di installare boinc con un utente dedicato... come devo fare? Se lo installo inquesto modo posso utilizzare l'init script? So che boinc manager è una cosa e boinc ne è un'altra ma non capisco perchè se avvio boinc da init script, quando avvio boinc manager mi dice che la password è errata mentre se avvio boinc da normale utente (clikkando due volte sul file eseguibile per intenderci) tutto funziona... ho provato anche ad inizzializzare boinc da root ma ovviamente poi cambiano i permessi e non posso + utilizzare boinc da utente normale... cmq questo è lo script che uso io:
Codice:
#!/sbin/runscript # # Gentoo Linux start/stop script to run the BOINC client as a daemon # at system startup, as the boinc user (not root). # # chkconfig: 345 71 29 # description: start boinc client at boot time # processname: boinc # config: /etc/sysconfig/boinc # # Gabor Nagy <nagyga1 at netscape.net> - 18 January 2005 # # Based on the original Redhat Linux start/stop scrip by: # Eric Myers <myers at vassar.edu> - 27 July 2004 # Department of Physics and Astronomy, Vassar College, Poughkeepsie NY # @(#) $Revision: 1.5 $ -- $Date: 2004/07/27 14:43:24 $ #PATH=/sbin:/bin:/usr/sbin:/usr/bin #export PATH # Source function library. #. /etc/rc.d/init.d/functions # Defaults, which can be overridden by /etc/sysconfig/boinc BOINCUSER=redirect BOINCDIR=/home/redirect/.boinc #BUILD_ARCH=i686-pc-linux-gnu LOGFILE=boinc.log ERRORLOG=error.log #BOINCOPTS="-allow_remote_gui_rpc" BOINCOPTS= if [ -f /etc/sysconfig/boinc ]; then . /etc/sysconfig/boinc fi ## Locate the working directory if [ ! -d $BOINCDIR ]; then echo "Cannot find boinc directory $BOINCDIR " exit 1 fi ## Locate the executable with highest version #BOINCEXE=`/bin/ls -1 $BOINCDIR/boinc_*_$BUILD_ARCH 2>/dev/null | tail -n 1 ` BOINCEXE=$BOINCDIR/boinc_client if [ ! -x "$BOINCEXE" ]; then echo "Cannot find/run boinc executable $BOINCEXE " exit 2 fi ## Functions: start/stop/status/restart checkconfig() { cd $BOINCDIR if [ ! -f client_state.xml ] ; then eerror "BOINC client requires initialization first." return 1 fi } start() { checkconfig || return 1 ebegin "Starting BOINC client as a daemon: " start-stop-daemon --start --quiet --chuid $BOINCUSER --exec $BOINCEXE -- $BOINCOPTS >>$BOINCDIR/$LOGFILE 2>>$BOINCDIR/$ERRORLOG & eend $? } stop() { ebegin "Stopping boinc client daemon" start-stop-daemon --stop --quiet --retry 20 --exec $BOINCEXE eend $? } restart() { $0 stop $0 start eend $? } ![]()
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. Ultima modifica di ReDirEct__ : 26-03-2006 alle 23:47. |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
azz questa è bella... ho creato un'icona di avvio sul desktop per avviare boinc manager e se l'avvio da quella boincmanager mi chiede la pass mentre se l'avvio dall'eseguibile che c'è nella cartella di boinc va tutto alla perfezione... ma che è sta storia?
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
piccolo OT:
boinc mi dice questo: Codice:
lun 27 mar 2006 01:38:52 CEST||Starting BOINC client version 5.3.6 for x86_64-unknown-linux-gnu lun 27 mar 2006 01:38:52 CEST||libcurl/7.15.1 OpenSSL/0.9.7i zlib/1.2.3 lun 27 mar 2006 01:38:52 CEST||Data directory: /home/redirect/.boinc lun 27 mar 2006 01:38:52 CEST||Processor: 2 AuthenticAMD AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ lun 27 mar 2006 01:38:52 CEST||Memory: 1001.45 MB physical, 1.87 GB virtual lun 27 mar 2006 01:38:52 CEST||Disk: 35.86 GB total, 20.39 GB free lun 27 mar 2006 01:38:52 CEST|SETI@home|Computer ID: 2291905; location: home; project prefs: default lun 27 mar 2006 01:38:52 CEST||General prefs: from unknown project http://www.worldcommunitygrid.org/ (last modified 2005-12-26 00:58:14) lun 27 mar 2006 01:38:52 CEST||General prefs: using your defaults lun 27 mar 2006 01:38:52 CEST||Remote control not allowed lun 27 mar 2006 01:38:52 CEST||Listening on port 31416 lun 27 mar 2006 01:38:52 CEST|SETI@home|Sending scheduler request to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi lun 27 mar 2006 01:38:52 CEST|SETI@home|Reason: To fetch work lun 27 mar 2006 01:38:52 CEST|SETI@home|Requesting 1728000 seconds of new work lun 27 mar 2006 01:38:58 CEST|SETI@home|Scheduler request to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi succeeded lun 27 mar 2006 01:38:58 CEST|SETI@home|Message from server: No work sent lun 27 mar 2006 01:38:58 CEST|SETI@home|Message from server: (there was work for other platforms) lun 27 mar 2006 01:38:58 CEST|SETI@home|No work from project
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Sep 2003
Città: San Mauro Torinese
Messaggi: 5402
|
Prova a cancellare la password...
![]() Viene scritta all'interno di un file, che non ricordo, ![]()
__________________
Suonare come superamento, anche se per pochi attimi, della realtà costrittiva, come espressione, comunicazione, con modalità proprie, agli altri; http://www.magazzinifranti.it/ |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
già provato.... ma me la chiede lo stesso
![]()
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Sep 2003
Città: San Mauro Torinese
Messaggi: 5402
|
Ok. Possiamo fare un paio di prove al volo via MSN.
![]()
__________________
Suonare come superamento, anche se per pochi attimi, della realtà costrittiva, come espressione, comunicazione, con modalità proprie, agli altri; http://www.magazzinifranti.it/ |
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
Ciao wubby cmq grazie dell'aiuto... ho risolto... in pratica ho chiuso il client boinc e poi è andato tutto...così come per magia...
![]() Ora però vorrei provare a far andare tutto creando un utente boinc dedicato... se copio tutto nella home del nuovo utente, come dovrei settare i permessi, premettendo che avvierò tutto da init scritp e solo in casi particolari come utente normale? Ho provato a dare privilegi pieni all'utente boinc ed al gruppo boinc ne quale ci ho messo anche l'utente con cui mi loggo nel sistema ma nn riesco cmq ad aprire niente. Per creare l'utente ho dato da shell: adduser -m -d /var/lib/boinc boinc Non so perchè ma mi ha anche creato il gruppo boinc... è normale? Cmq aspetto delucidazioni a riguardo... per il momento va tutto bene tranne che ancora nn vedo nessuna wu a causa del server "down" ![]() Cmq grazie di tutto ![]() Alla prox
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. Ultima modifica di ReDirEct__ : 27-03-2006 alle 22:50. |
![]() |
![]() |
![]() |
#11 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
Ragazzi ma è possibile che non riesca a scaricare neanche una wu??? non ho nessun messaggio di errore eppure non me ne è arrivata manco mezza:
Codice:
mar 28 mar 2006 17:44:49 CEST||Starting BOINC client version 5.3.6 for x86_64-unknown-linux-gnu mar 28 mar 2006 17:44:49 CEST||libcurl/7.15.1 OpenSSL/0.9.7i zlib/1.2.3 mar 28 mar 2006 17:44:49 CEST||Data directory: /home/redirect/boinc mar 28 mar 2006 17:44:49 CEST||Processor: 2 AuthenticAMD AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ mar 28 mar 2006 17:44:49 CEST||Memory: 1001.45 MB physical, 1.87 GB virtual mar 28 mar 2006 17:44:49 CEST||Disk: 35.86 GB total, 18.98 GB free mar 28 mar 2006 17:44:49 CEST|SETI@home|Computer ID: 2291905; location: home; project prefs: default mar 28 mar 2006 17:44:49 CEST||General prefs: from unknown project http://www.worldcommunitygrid.org/ (last modified 2005-12-26 00:58:14) mar 28 mar 2006 17:44:49 CEST||General prefs: using your defaults mar 28 mar 2006 17:44:49 CEST||Remote control not allowed mar 28 mar 2006 17:44:49 CEST||Listening on port 31416 mar 28 mar 2006 18:58:12 CEST||Rescheduling CPU: project suspended, resumed or detached by user mar 28 mar 2006 18:58:14 CEST|SETI@home|Sending scheduler request to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi mar 28 mar 2006 18:58:14 CEST|SETI@home|Reason: Requested by user mar 28 mar 2006 18:58:14 CEST|SETI@home|Requesting 1728000 seconds of new work mar 28 mar 2006 18:58:20 CEST|SETI@home|Scheduler request to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi succeeded mar 28 mar 2006 19:02:58 CEST||Rescheduling CPU: project suspended, resumed or detached by user mar 28 mar 2006 19:03:01 CEST|SETI@home|Sending scheduler request to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi mar 28 mar 2006 19:03:01 CEST|SETI@home|Reason: Requested by user mar 28 mar 2006 19:03:01 CEST|SETI@home|Requesting 1728000 seconds of new work mar 28 mar 2006 19:03:06 CEST|SETI@home|Scheduler request to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi succeeded
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
![]() |
![]() |
![]() |
#12 | |
Senior Member
Iscritto dal: Feb 2005
Città: Londra
Messaggi: 535
|
Quote:
![]()
__________________
![]() |
|
![]() |
![]() |
![]() |
#13 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
non sapevo ci fosse...
![]()
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
uffaaaa
ho un client moddato per 64 bit ma nessuno dei progetti ha dei client compatibile a 64 bit... che devo fare??? ![]()
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: Sep 2001
Città: Vicopisano (PI)
Messaggi: 11652
|
Sembra che seti abbia appena riaperto i rubinetti delle caccole....ma ci saranno i server un pò intasati adesso...
__________________
>>PARTECIPA AI PROGETTI DI CALCOLO DISTRIBUITO CON BOINC.Italy!<<
You may say I'm a dreamer - But I'm not the only one - I hope someday you'll join us - And the team will be the 1# one BoincEmperor 1° Livello - Rotoloni DOCET!! Cactus rulez!! ![]() |
![]() |
![]() |
![]() |
#16 |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
speriamo bene... ho dei benchmarks assurdi con questo client:
Codice:
mar 28 mar 2006 23:33:27 CEST||Benchmark results: mar 28 mar 2006 23:33:27 CEST|| Number of CPUs: 2 mar 28 mar 2006 23:33:27 CEST|| 5218 double precision MIPS (Whetstone) per CPU mar 28 mar 2006 23:33:27 CEST|| 15468 integer MIPS (Dhrystone) per CPU mar 28 mar 2006 23:33:27 CEST||Finished CPU benchmarks
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
![]() |
![]() |
![]() |
#17 | |
Senior Member
Iscritto dal: Sep 2003
Città: San Mauro Torinese
Messaggi: 5402
|
Quote:
![]()
__________________
Suonare come superamento, anche se per pochi attimi, della realtà costrittiva, come espressione, comunicazione, con modalità proprie, agli altri; http://www.magazzinifranti.it/ |
|
![]() |
![]() |
![]() |
#18 |
Senior Member
Iscritto dal: Mar 2004
Città: Formigine (MO)
Messaggi: 553
|
Results ready to send 0 1h
Current result creation rate 4.83/sec 1m Results in progress 2,144,686 1h Workunits waiting for validation 18 1h Workunits waiting for assimilation 14 1h Workunits waiting for deletion 499,185 1h Results waiting for deletion 1,852,047 1h Transitioner backlog (hours) 0 31m * minutes (m) or hours (h) since last checked
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#19 | |
Senior Member
Iscritto dal: Jun 2005
Città: Nola (NA)
Messaggi: 517
|
Quote:
![]()
__________________
{ Intel Core i7 4790K Cooled By Corsair H100i - MSI Z97i Gaming AC (mITX) - MSI N770 TF 2GD5/OC - 2x8 GB G.Skill F3-2400C10D-16GTX - Corsair RM750 750W - Corsair Obsidian 250D - 2x256GB SSD Samsung 850 PRO }. |
|
![]() |
![]() |
![]() |
#20 |
Senior Member
Iscritto dal: Dec 2004
Messaggi: 568
|
Ho visto che avete risolto, volevo farvi sapere per il futuro, che nel portage di gentoo c'è boinc 5.2.14, quindi è possibile installarlo semplicemente con emerge (occhio che attualmente è in mask...).
![]() ![]() Ciao, Luca.
__________________
1° Seti Emperor d'Italia |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 09:04.