Need help configuring boinc client on Linux server...

Steve Thompson
Steve Thompson
Joined: 8 Feb 07
Posts: 13
Credit: 1081969
RAC: 0
Topic 193052

Hello all,

Ubuntu server 6.06 LTS 64 bit

I followed the instruction at http://wiki.debian.org/BOINC

Basically I took the following steps:

A. sudo boinc_cmd --project_attach http://einstein.phys.uwm.edu xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
B. sudo boinc_cmd --project http://einstein.phys.uwm.edu/ update
C. sudo boinc_cmd --set_run_mode always
D. sudo boinc_cmd --set_network_mode always
E. sudo boinc_cmd --project http://einstein.phys.uwm.edu/ resume

However, no processes are running. Can someone shed some light on this to get me up and running?

Any help at all would be greatly appreciated.

-- 
Failure is not an option. It comes bundled with your Microsoft product.

Michael Karlinsky
Michael Karlinsky
Joined: 22 Jan 05
Posts: 888
Credit: 23502182
RAC: 0

Need help configuring boinc client on Linux server...

Quote:

Any help at all would be greatly appreciated.

Do you have another PC (LINUX with X or Windows) where BOINC is
installed? If so, connect to your server via BOINC manager. (menu item "connect to", or so). You need to set a memorizable password in gui_rpc_auth.cfg
first.

HTH

Michael

Steve Thompson
Steve Thompson
Joined: 8 Feb 07
Posts: 13
Credit: 1081969
RAC: 0

RE: RE: Any help at all

Message 71318 in response to message 71317

Quote:
Quote:

Any help at all would be greatly appreciated.

Do you have another PC (LINUX with X or Windows) where BOINC is
installed? If so, connect to your server via BOINC manager. (menu item "connect to", or so). You need to set a memorizable password in gui_rpc_auth.cfg
first.

HTH

Michael

My workstation is Linux and I'm using Boinc with Boinc Mamanger 5.8.17 It asks me for a cmputer name and password. I have no clue on how to connect to the Boinc on my server. What do I use for a computer name. IP address is no good, what password would I use. The Boinc client that I'm trying to get running should coonect as localhost, right?

I'm lost here.

Steve

-- 
Failure is not an option. It comes bundled with your Microsoft product.

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5874
Credit: 118381575450
RAC: 25594340

RE: Basically I took the

Quote:


Basically I took the following steps:

.....

However, no processes are running.

If there are no processes running, did you actually start the BOINC client in the first place? Typically, from a shell prompt in the directory where you installed BOINC you could do something like ./boinc --daemon --allow_remote_gui_rpc which would start BOINC as a daemon (like a Windows aervice) and allow you to control it remotely with a nice GUI as provided by something like Boinc Manager. Of course there are automatic ways to have BOINC start when your machine boots so you wouldn't normally need to start it manually every time.

Boinc_cmd is a program that allows you to control a running BOINC but BOINC has to be running before you can change settings or preferences as you seem to be trying to do. You don't have to do things like project_attach unless you are attaching to a new project for the very first time. You don't need to do a project resume unless you have previously suspended a project. My guess is that you probably shouldn't be using boinc_cmd at all and certainly not if you are just trying to restart a previously installed and running BOINC.

I checked your list of computers and you appear to have six registered with the project, three running Windows Vista and three running Linux. As the hardware of each appears to be identical, I'm guessing that you may not actually have six different machines. All have work on board so you must have had BOINC running on all instances at some point. Some have actually returned results and have been awarded credit so you must be very close to a proper working environment.

Perhaps you would like to describe your setup more fully and tell us which one(s) is/are workstation(s) and server(s) respectively and we could help you merge any duplicates you might have.

Cheers,
Gary.

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 761960359
RAC: 1103345

Just for the records, I'm not

Just for the records, I'm not sure why you are using sudo. It's not a good idea to run BOINC (or any other piece of software that doesn't require it) as root on a server. BOINC runs perfectly under a separate, non-privileged, user account.

You will also get some good info on what's going on by executing

./boinc_cmd --get_state

from the BOINC directory, if you can't get the graphical BOINC_manager to connect to the server. This command will pretty much give you the same information, but in text form only.

Please let us know about the results.

CU

BRM

Steve Thompson
Steve Thompson
Joined: 8 Feb 07
Posts: 13
Credit: 1081969
RAC: 0

RE: Just for the records,

Message 71321 in response to message 71320

Quote:

Just for the records, I'm not sure why you are using sudo. It's not a good idea to run BOINC (or any other piece of software that doesn't require it) as root on a server. BOINC runs perfectly under a separate, non-privileged, user account.

You will also get some good info on what's going on by executing

./boinc_cmd --get_state

from the BOINC directory, if you can't get the graphical BOINC_manager to connect to the server. This command will pretty much give you the same information, but in text form only.

Please let us know about the results.

CU

BRM

Using everyones suggestions I got going pretty far.

I created a meaningful password in gui_rpc_auth.cfg
I rebooted the server to see if Boinc starts automatically at startup and it does however, I need to attache to the project manually using:

boinc_cmd --host localhost --passwd --project_attach http://einstein.phys.uwm.edu/

Then if I enter: boinc_cmd --host localhost --passwd --get_state I get...

======== Projects ========
1) -----------
name: Einstein@Home
master URL: http://einstein.phys.uwm.edu/
user_name: Steve Thompson
team_name:
resource share: 100.000000
user_total_credit: 2142.451575
user_expavg_credit: 99.300281
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
attached via Account Manager: no
tentative: no
suspended via GUI: no
don't request more work: no
disk usage: 0.000000
GUI URL:
name: Common questions
description: Read the Einstein@Home Frequently Asked Question list
URL: http://einstein.phys.uwm.edu/faq.php
GUI URL:
name: Screensaver info
description: Read a detailed description of the Einstein@Home screensaver
URL: http://einstein.phys.uwm.edu/starsphere.php
GUI URL:
name: Message boards
description: Correspond with admins and other users on the Einstein@Home message boards
URL: http://einsteinathome.org/community/forum
GUI URL:
name: Your messages
description: Links to messages that you have posted on the Einstein@Home message boards.
URL: http://einstein.phys.uwm.edu/forum_user_posts.php?userid=244710
GUI URL:
name: Einstein status
description: Current status of the Einstein@Home server
URL: http://einstein.phys.uwm.edu/server_status.php
GUI URL:
name: Report problems
description: A link to the Einstein@Home problems and bug reports message board
URL: http://einsteinathome.org/community/forum/22
GUI URL:
name: Account summary
description: View your account information and credit totals
URL: http://einsteinathome.org/account/142563
GUI URL:
name: Your account
description: View and modify your Einstein@Home account profile and preferences
URL: http://einstein.phys.uwm.edu/home.php
GUI URL:
name: Your results
description: View your last week (or more) of computational results and work
URL: http://einsteinathome.org/account/tasks
GUI URL:
name: Your computers
description: View a listing of all the computers on which you are running Einstein@Home
URL: http://einsteinathome.org/account/142563/computers
GUI URL:
name: LIGO project
description: The home page of the Laser Interferometer Gravitational-wave Observatory (LIGO) project
URL: http://www.ligo.caltech.edu/
GUI URL:
name: GEO-600 project
description: The home page of the GEO-600 project
URL: http://www.geo600.uni-hannover.de/

======== Applications ========

======== Application versions ========

======== Workunits ========

======== Results ========

Which is good.

Then I enter: boinc_cmd --get_messages 0 and I get:

1 1187459195 Starting BOINC client version 5.4.9 for x86_64-pc-linux-gnu
1 1187459195 libcurl/7.15.1 OpenSSL/0.9.8a zlib/1.2.3 libidn/0.5.18
1 1187459195 Executing as a daemon
1 1187459195 Data directory: /home/boinc
1 1187459195 Processor: 1 AuthenticAMD AMD Athlon(tm) 64 Processor 3200+
1 1187459195 Memory: 1004.05 MB physical, 2.87 GB virtual
1 1187459195 Disk: 143.88 GB total, 105.06 GB free
Einstein@Home 1 1187459195 URL: http://einstein.phys.uwm.edu/; Computer ID: 993106; location: ; project prefs: default
1 1187459195 No general preferences found - using BOINC defaults
1 1187459195 Remote control allowed
1 1187459195 Listening on port 31416

So to me it looks like it's running.

Questions:

1. How do I get it to attach to the project automatically?
2. Why is the Workunits section above blank? Is it because it hasn't downloaded any yet?
3. I am running boinc manager non my workstation but I don't know hoe to connect. Any ideas?

-- 
Failure is not an option. It comes bundled with your Microsoft product.

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 761960359
RAC: 1103345

Ah....sorry......I should

Ah....sorry......I should have seen this earlier......

You've got a 64 bit version of Linux!

This requires some extra manual setup work, unfortunately.

Please follow instructions at the end of this thread:

http://einsteinathome.org/node/191637

Eventually , after an upgrade of software on the servers at Einstein@Home, this will no longer be necessary, but currently, it has to be done.

Happy crunching!

BRM

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.