| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 15
|
|
| Author |
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I downloaded the BOINC client yesterday, set it up with it's own directory (in /home/boinc/ because I have /lots of space in home), gave it its own user account (boinc with a home directory of /home/bonic/) and then found an RC script for starting BOINC on boot (http://boinc.berkeley.edu/gentoo.txt ) put it in /etc/init.d, and, after adding it (aparently successfully) to the project, started it as a service.
However, when I run: ./boinc_cmd --get_state I get the following... ======== Projects ======== 1) ----------- name: World Community Grid master URL: http://www.worldcommunitygrid.org/ user_name: JesseS team_name: resource share: 100.000000 user_total_credit: 0.000000 user_expavg_credit: 0.000000 host_total_credit: 0.000000 host_expavg_credit: 0.000000 nrpc_failures: 0 master_fetch_failures: 0 master fetch pending: no scheduler RPC pending: no tentative: no suspended via GUI: no don't request more work: no disk usage: 0.000000 GUI URL: name: Global Statistics description: Summary statistics for World Community Grid URL: http://www.worldcommunitygrid.org/stat/global.html GUI URL: name: My Grid description: Your statistics and settings URL: http://www.worldcommunitygrid.org/ms/viewMyMemberPage.do GUI URL: name: Help description: Search for help in our help system URL: http://www.worldcommunitygrid.org/help/viewHelp.do GUI URL: name: Research description: Learn about the projects hosted at World Community Grid URL: http://www.worldcommunitygrid.org/projects_showcase/viewResearch.do ======== Applications ======== 1) ----------- name: rosetta Project: World Community Grid ======== Application versions ======== 1) ----------- application: rosetta version: 4.19 project: World Community Grid ======== Workunits ======== 1) ----------- name: de082_41 FP estimate: 25000000000000.000000 FP bound: 719074540800000.000000 memory bound: 256000000.000000 disk bound: 50000000.000000 ======== Results ======== 1) ----------- name: de082_41_1 WU name: de082_41 project URL: http://www.worldcommunitygrid.org/ report deadline: Mon Nov 28 14:19:12 2005 ready to report: no got server ack: no final CPU time: 0.000000 state: 1 scheduler state: 0 exit_status: 0 signal: 0 suspended via GUI: no aborted via GUI: no active_task_state: 0 stderr_out: app version num: 0 checkpoint CPU time: 0.000000 current CPU time: 0.000000 fraction done: 0.000000 VM usage: 0.000000 resident set size: 0.000000 estimated CPU time remaining: 23206.210714 supports graphics: no ----------------------------------------------------------------------------- Also, when execute "./run_client" I get the following: 2005-11-09 14:57:17 [---] Starting BOINC client version 5.2.6 for i686-pc-linux-gnu 2005-11-09 14:57:17 [---] libcurl/7.14.0 OpenSSL/0.9.8 zlib/1.2.3 2005-11-09 14:57:17 [---] Data directory: /home/boinc 2005-11-09 14:57:17 [---] Processor: 1 AuthenticAMD AMD Athlon(tm) XP 3000+ 2005-11-09 14:57:17 [---] Memory: 883.48 MB physical, 1.50 GB virtual 2005-11-09 14:57:17 [---] Disk: 36.67 GB total, 26.03 GB free 2005-11-09 14:57:17 [World Community Grid] Computer ID: 1058; location: Default; project prefs: default 2005-11-09 14:57:17 [---] General prefs: from World Community Grid (last modified 1969-12-31 18:00:00) 2005-11-09 14:57:17 [---] General prefs: no separate prefs for Default; using your defaults 2005-11-09 14:57:17 [---] Remote control not allowed; using loopback address 2005-11-09 14:57:48 [---] HTTP_CURL:libcurl_exec(): Can't setup HTTP response output file projects/www.worldcommunitygrid.org/de082_41_de082.psipred_ss2 2005-11-09 14:57:48 [---] HTTP_CURL:libcurl_exec(): Can't setup HTTP response output file projects/www.worldcommunitygrid.org/de082_41_de082.psipred_ss2 2005-11-09 14:57:48 [World Community Grid] Couldn't start download of de082_41_de082.psipred_ss2 2005-11-09 14:57:48 [World Community Grid] Couldn't start download of de082_41_de082.psipred_ss2 2005-11-09 14:57:48 [World Community Grid] URL https://secure.worldcommunitygrid.org/boinc/d...082_41_de082.psipred_ss2: system fopen 2005-11-09 14:57:48 [World Community Grid] URL https://secure.worldcommunitygrid.org/boinc/d...082_41_de082.psipred_ss2: system fopen 2005-11-09 14:57:48 [World Community Grid] Backing off 2 hours, 24 minutes, and 53 seconds on download of file de082_41_de082.psipred_ss2 ---And here it just appears to stall...--- This is an Athlon XP 3200 + (32 bit) with one Gig of ram that spends most of its time idle, and is on a high speed internet connection. I am running a fairly new, clean, Gentoo and am up to date. Sorry about the length of this post, Any suggestions would be appreciated. -Jesse |
||
|
|
knreed
Former World Community Grid Tech Joined: Nov 8, 2004 Post Count: 4504 Status: Offline Project Badges:
|
Jesse,
How does the init.d script start boinc? My guess would be that it is attempting to start boinc in a different directory then where the execuable is located. Try pointing the startup script at the run_client script rather then boinc executable and see what happens. Kevin |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Kevin,
The init.d script (which can be found here: http://boinc.berkeley.edu/gentoo.txt) starts boinc using the following commands: ---snip--- BOINCEXE=`/bin/ls -1 $BOINCDIR/boinc 2>/dev/null | tail -n 1 ` if [ ! -x "$BOINCEXE" ]; then echo "Cannot find/run boinc executable $BOINCEXE " exit 2 fi ---snip--- ---snip--- 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 & ---snip--- When I change the definition of BOINCEXE to: BOINCEXE=`/bin/ls -1 $BOINCDIR/run_client 2>/dev/null | tail -n 1 ` It still runs and says it starts boinc successfully, but then I can't tell if it is working: $ boinc_cmd --get_status connect: Connection refused can't connect Sorry for coming back with all these snippets of files, but I have never had to deal with RC scripts before, so am not sure what I am doing. thanks, -Jesse |
||
|
|
FOBioPatel
Cruncher Joined: Apr 10, 2005 Post Count: 21 Status: Offline |
I had a similar problem, and my script was looking for boinc in /home/boinc
----------------------------------------In reality after extracting boinc in /home/boinc I had to configure the startup script to point to /home/boinc/BOINC snip from your gentoo script: ---snip--- BOINCUSER=boinc BOINCDIR=/home/boinc BUILD_ARCH=i686-pc-linux-gnu LOGFILE=boinc.log ERRORLOG=error.log #BOINCOPTS="-allow_remote_gui_rpc" ---snip--- Can you verify your BOINCDIR? |
||
|
|
knreed
Former World Community Grid Tech Joined: Nov 8, 2004 Post Count: 4504 Status: Offline Project Badges:
|
JesseS,
As FOBioPatel says, check your BOINCDIR variable and make sure that it points at /home/boinc/BOINC (and then double check that is truly where the boinc files were installed). Next check to make sure that the application is actually running. Use the command top to see if you see an application named 'rosetta' running at the top. Let us know what you find. thanks, Kevin |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
FOBioPatel, knreed
My BOINCDIR is /home/boinc/ I got rid of the BOINC directory. Is that a problem? rosetta is not running, how do I figure out why it is not running? thanks for your time, -Jesse |
||
|
|
uplinger
Former World Community Grid Tech Joined: May 23, 2005 Post Count: 3952 Status: Offline Project Badges:
|
When you attached BOINC to World Community Grid using "./boinc -attach_project http://www.worldcommunitygrid.org <key>" what directory did you run this command in. If you ran the command in the /home/boinc/BOINC directory, then you'll need to attach to World Community Grid again.
Upon attaching to the World Community Grid, a folder called projects as well as a few more files are created by BOINC which are needed to successfully run the BOINC client. The directory in which these files are created should be your BOINCDIR in FOBioPatel's advice. Hope this helps. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
ok, well, I did attach successfully before, but tried to do it over again... this time I am getting the following errors:
2005-11-10 14:22:18 [---] HTTP_CURL:libcurl_exec(): Can't setup HTTP response output file projects/www.worldcommunitygrid.org/de082_41_aade08203_05.075_v1_3 2005-11-10 14:22:18 [---] HTTP_CURL:libcurl_exec(): Can't setup HTTP response output file projects/www.worldcommunitygrid.org/de082_41_aade08203_05.075_v1_3 2005-11-10 14:22:18 [World Community Grid] Couldn't start download of de082_41_aade08203_05.075_v1_3 2005-11-10 14:22:18 [World Community Grid] Couldn't start download of de082_41_aade08203_05.075_v1_3 2005-11-10 14:22:18 [World Community Grid] URL https://secure.worldcommunitygrid.org/boinc/d...41_aade08203_05.075_v1_3: system fopen 2005-11-10 14:22:18 [World Community Grid] URL https://secure.worldcommunitygrid.org/boinc/d...41_aade08203_05.075_v1_3: system fopen 2005-11-10 14:22:18 [World Community Grid] Backing off 17 minutes and 0 seconds on download of file de082_41_aade08203_05.075_v1_3 and it will continue to back off for longer and longer times. any ideas? thanks again, -Jesse |
||
|
|
knreed
Former World Community Grid Tech Joined: Nov 8, 2004 Post Count: 4504 Status: Offline Project Badges:
|
Are you running boinc under the id that owns that directory?
|
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Yes, I am and the user owns the all the files in the derectory also.
|
||
|
|
|