Thread 'CentOS 5.2 CLI-Only BOINC Help'

Message boards : BOINC client : CentOS 5.2 CLI-Only BOINC Help
Message board moderation

To post messages, you must log in.

AuthorMessage
Justin

Send message
Joined: 28 Nov 08
Posts: 5
Canada
Message 21552 - Posted: 28 Nov 2008, 3:47:48 UTC
Last modified: 28 Nov 2008, 3:59:13 UTC

Hello,

I am running a CentOS 5.2 Final box and I wish to install BOINC. I used the Berkeley installer package and installed BOINC to /opt/.

As root I tried running:

/opt/BOINC/boinccmd --project_attach http://boinc.freerainbowtables.com/distrrtgen/ <MY-HASH-HERE>

But got the following:

connect: Connection refused
can't connect to local host

I don't have a GUI on my server, and I can't seem to find any documentation on how to initially configure BOINC on a CLI-only server.


Thanks for the help!



[EDIT]

I apologize for my foolishness, I've started the core daemon via "/opt/BOINC/boinc --daemon" and then ran the --attach_project command. Now I have no idea whats going on, if its working or not.

I have a very paranoid box, is there any TCP or UDP ports I need to unblock? Is this project SELinux friendly?

Thanks!
ID: 21552 · Report as offensive
Justin

Send message
Joined: 28 Nov 08
Posts: 5
Canada
Message 21554 - Posted: 28 Nov 2008, 4:03:19 UTC - in response to Message 21553.  

You might need to include the GUI RPC password, eg.

boinccmd --passwd <password> --project_attach <URL> <hash>

GUI RPC password is stored in /opt/BOINC/gui_rpc_auth.cfg.


Sorry, I seemed to have missed editing my original post in time for you to view. After running the bonic core client (which I didn't know I had to run first ;)) I see the gui_rpc_auth.cfg file is now created with (I think) an MD5 hash.

It seems unimportant however, as I can now access commands on the boinccmd.
ID: 21554 · Report as offensive
Justin

Send message
Joined: 28 Nov 08
Posts: 5
Canada
Message 21556 - Posted: 28 Nov 2008, 4:39:32 UTC

Don't worry, my account at the project has a password I use and not that long hash.

After changing the password I restarted the daemon, detached my project, and then ran this command:

[root@bullbox BOINC]# /opt/BOINC/boinccmd --passwd <LOCAL-PW> --project_attach http://boinc.freerainbowtables.com/distrrtgen/ <PROJECT-PW-HASH>

Which seems to have worked.


However, I am unsure if I need to provide my account "key" or my account password for BOINC. I assume its the account key.

Now that I've set this up properly (I hope), is there any ports I need to forward/open on my firewall? Any good tips for monitoring progress?

Thanks!
ID: 21556 · Report as offensive
Justin

Send message
Joined: 28 Nov 08
Posts: 5
Canada
Message 21558 - Posted: 28 Nov 2008, 5:15:31 UTC - in response to Message 21557.  
Last modified: 28 Nov 2008, 5:43:07 UTC

I think the key is also referred to as the CPID (cross project ID). I think either the key or the account password will work.


Ok. According to my project panel I have three things:

My account key which "provides full access to my account": [REMOVED]

My weak account key which "Provides limited access to your account": [REMOVED]_[REMOVED]

And my CPID: [REMOVED].

I've attached the project with the account key and running --get_state gives this output:


======== Projects ========
1) -----------
name: DistrRTgen
master URL: http://boinc.freerainbowtables.com/distrrtgen/
user_name: Forgott3n
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: 8
master_fetch_failures: 0
master fetch pending: no
scheduler RPC pending: no
attached via Account Manager: no
ended: no
suspended via GUI: no
don't request more work: no
disk usage: 0.000000
last RPC: 1227847499.938086
project files downloaded: 0.000000

======== Applications ========
1) -----------
name: distrrtgen
Project: DistrRTgen

======== Application versions ========
1) -----------
application: distrrtgen
version: 2.22
project: DistrRTgen

======== Workunits ========
1) -----------
name: 162096 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 28899000000
FP estimate: 2000000000000.000000
FP bound: 1000000000000000.000000
memory bound: 100000000.000000
disk bound: 100000000.000000
2) -----------
name: 162358 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29030000000
FP estimate: 2000000000000.000000
FP bound: 1000000000000000.000000
memory bound: 100000000.000000
disk bound: 100000000.000000
3) -----------
name: 162553 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29127500000
FP estimate: 2000000000000.000000
FP bound: 1000000000000000.000000
memory bound: 100000000.000000
disk bound: 100000000.000000
4) -----------
name: 162382 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29042000000
FP estimate: 2000000000000.000000
FP bound: 1000000000000000.000000
memory bound: 100000000.000000
disk bound: 100000000.000000
5) -----------
name: 162472 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29087000000
FP estimate: 2000000000000.000000
FP bound: 1000000000000000.000000
memory bound: 100000000.000000
disk bound: 100000000.000000
6) -----------
name: 162376 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29039000000
FP estimate: 2000000000000.000000
FP bound: 1000000000000000.000000
memory bound: 100000000.000000
disk bound: 100000000.000000
7) -----------
name: 162527 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29114500000
FP estimate: 2000000000000.000000
FP bound: 1000000000000000.000000
memory bound: 100000000.000000
disk bound: 100000000.000000
8) -----------
name: 162528 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29115000000
FP estimate: 2000000000000.000000
FP bound: 1000000000000000.000000
memory bound: 100000000.000000
disk bound: 100000000.000000

======== Results ========
1) -----------
name: 162096 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 28899000000_1
WU name: 162096 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 28899000000
project URL: http://boinc.freerainbowtables.com/distrrtgen/
report deadline: Mon Dec 1 20:54:45 2008
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: 3
scheduler state: 0
exit_status: 127
signal: 0
suspended 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
swap size: 0.000000
working set size: 0.000000
estimated CPU time remaining: 0.000000
supports graphics: no
2) -----------
name: 162358 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29030000000_1
WU name: 162358 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29030000000
project URL: http://boinc.freerainbowtables.com/distrrtgen/
report deadline: Mon Dec 1 20:54:45 2008
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: 3
scheduler state: 0
exit_status: 127
signal: 0
suspended 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
swap size: 0.000000
working set size: 0.000000
estimated CPU time remaining: 0.000000
supports graphics: no
3) -----------
name: 162553 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29127500000_0
WU name: 162553 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29127500000
project URL: http://boinc.freerainbowtables.com/distrrtgen/
report deadline: Mon Dec 1 20:54:45 2008
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: 3
scheduler state: 0
exit_status: 127
signal: 0
suspended 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
swap size: 0.000000
working set size: 0.000000
estimated CPU time remaining: 0.000000
supports graphics: no
4) -----------
name: 162382 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29042000000_1
WU name: 162382 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29042000000
project URL: http://boinc.freerainbowtables.com/distrrtgen/
report deadline: Mon Dec 1 20:54:45 2008
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: 3
scheduler state: 0
exit_status: 127
signal: 0
suspended 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
swap size: 0.000000
working set size: 0.000000
estimated CPU time remaining: 0.000000
supports graphics: no
5) -----------
name: 162472 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29087000000_0
WU name: 162472 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29087000000
project URL: http://boinc.freerainbowtables.com/distrrtgen/
report deadline: Mon Dec 1 20:54:45 2008
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: 3
scheduler state: 0
exit_status: 127
signal: 0
suspended 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
swap size: 0.000000
working set size: 0.000000
estimated CPU time remaining: 0.000000
supports graphics: no
6) -----------
name: 162376 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29039000000_0
WU name: 162376 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29039000000
project URL: http://boinc.freerainbowtables.com/distrrtgen/
report deadline: Mon Dec 1 20:54:45 2008
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: 3
scheduler state: 0
exit_status: 127
signal: 0
suspended 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
swap size: 0.000000
working set size: 0.000000
estimated CPU time remaining: 0.000000
supports graphics: no
7) -----------
name: 162527 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29114500000_0
WU name: 162527 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29114500000
project URL: http://boinc.freerainbowtables.com/distrrtgen/
report deadline: Mon Dec 1 20:54:45 2008
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: 3
scheduler state: 0
exit_status: 127
signal: 0
suspended 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
swap size: 0.000000
working set size: 0.000000
estimated CPU time remaining: 0.000000
supports graphics: no
8) -----------
name: 162528 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29115000000_0
WU name: 162528 lm_lm-frt-cp437-850#1-7_0_20000x500000 - 29115000000
project URL: http://boinc.freerainbowtables.com/distrrtgen/
report deadline: Mon Dec 1 20:54:45 2008
ready to report: yes
got server ack: no
final CPU time: 0.000000
state: 3
scheduler state: 0
exit_status: 127
signal: 0
suspended 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
swap size: 0.000000
working set size: 0.000000
estimated CPU time remaining: 0.000000
supports graphics: no


I think it's properly set. But I'm unsure about this CPID you've mentioned... Maybe I should be doing that...
ID: 21558 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 21559 - Posted: 28 Nov 2008, 5:26:55 UTC
Last modified: 28 Nov 2008, 5:28:56 UTC

The 2 Account keys are passwords, and should be kept secret.
The cpid (cross project id), is public, and will get changed from time to time as you add more projects to your computer. Read about it here in the BOINC Wiki.

On this board you get 1 hour to edit your posts.
If you can, delete the 2 keys that you just posted.
ID: 21559 · Report as offensive
Justin

Send message
Joined: 28 Nov 08
Posts: 5
Canada
Message 21561 - Posted: 28 Nov 2008, 5:42:09 UTC - in response to Message 21559.  

The 2 Account keys are passwords, and should be kept secret.
The cpid (cross project id), is public, and will get changed from time to time as you add more projects to your computer. Read about it here in the BOINC Wiki.

On this board you get 1 hour to edit your posts.
If you can, delete the 2 keys that you just posted.


I removed the last 10 digits from them, but lets see if I can edit them away completely. Thanks for the help.
ID: 21561 · Report as offensive
ProfileGundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 21564 - Posted: 28 Nov 2008, 10:42:03 UTC - in response to Message 21556.  
Last modified: 28 Nov 2008, 10:42:33 UTC

...Any good tips for monitoring progress?

There's also the stdoutdae file in the BOINC (data) directory. I'm not sure about the suffix with unix, if any. It contains messages of the BOINC client that would appear in the GUI's Message tab.

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 21564 · Report as offensive

Message boards : BOINC client : CentOS 5.2 CLI-Only BOINC Help

Copyright © 2025 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.