Thread 'How to monitor client when built from source'

Message boards : Questions and problems : How to monitor client when built from source
Message board moderation

To post messages, you must log in.

AuthorMessage
NginUS

Send message
Joined: 11 Jun 15
Posts: 3
United States
Message 62531 - Posted: 11 Jun 2015, 19:49:36 UTC
Last modified: 11 Jun 2015, 19:51:02 UTC

Hi,

I want to use BOINCTasks to monitor my 3 boinc-clients, & am having trouble getting one of them added to the interface.

I have my 2 Windows clients added successfully, and at one point I had a client running in Ubuntu Linux added successfully. Only because I knew where to add the:

'gui_rpc_auth.cfg'
&
'remote_hosts.cfg'

files in the right place in:

'/etc/boinc-client'

Now I have a client built from source on Lunar Linux, and being that the whole installation is in:

'/home/username/boinc'

I'm unable to determine where the:

'gui_rpc_auth.cfg'
&
'remote_hosts.cfg'

files go to facilitate remote monitoring.

Here is a link to a screenshot showing all the directories in:

'/home/username/boinc'

http://imgur.com/JM5kvo4

There's nothing boinc-related in:

'/etc'


Would someone kindly advise as to where I need to put the:

'gui_rpc_auth.cfg'
&
'remote_hosts.cfg'

files on an installation such as this?

Thanks in advance,
-N

EDIT:
I already asked in the BOINCTasks forum, & they had no answer for me- advised that I ask here instead.
ID: 62531 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 62533 - Posted: 11 Jun 2015, 20:57:37 UTC - in response to Message 62531.  
Last modified: 11 Jun 2015, 20:58:01 UTC

I've stopped using remote_hosts and insert the <allow_remote_rpc> tag instead in <options> section of the cc_config.xml. Then the IP plus password is enough.
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 62533 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 62534 - Posted: 11 Jun 2015, 21:13:50 UTC - in response to Message 62531.  

gui_rpc_auth.cfg and remote_hosts.cfg go to BOINC's data directory. (Ubuntu has them symlinked to /etc.)

BOINC client uses current working directory as the data directory or the one specified on the command line:

boinc --redirectio --dir /where/ever


The directory in that screenshot contains BOINC's source code. I don't think that's usually used as the data directory even if there is nothing that prevents you from doing that.

You may have used 'make install' to install BOINC. I don't know if that works, I don't think I have ever tried it. You can generate packages similar to the ones you can download from this website by running make in packages/generic/sea.
ID: 62534 · Report as offensive
NginUS

Send message
Joined: 11 Jun 15
Posts: 3
United States
Message 62536 - Posted: 12 Jun 2015, 0:35:58 UTC - in response to Message 62534.  

gui_rpc_auth.cfg and remote_hosts.cfg go to BOINC's data directory. (Ubuntu has them symlinked to /etc.)

BOINC client uses current working directory as the data directory

The directory in that screenshot contains BOINC's source code. I don't think that's usually used as the data directory even if there is nothing that prevents you from doing that.


I tried putting them into the directory where the client is called to run from:

'/home/username/boinc/client'

...And it didn't work.

There aren't any other directories where

'make install'

placed files.

All I have is the directory created by the git pull, + the extra directories created during the build process.

I've searched for files ending with .cfg, & there aren't any in the whole

'/home/username/boinc'

tree.


What can I search for that would be in the same directory as where

gui_rpc_auth.cfg
&
remote_hosts.cfg

would need to be?
ID: 62536 · Report as offensive
NginUS

Send message
Joined: 11 Jun 15
Posts: 3
United States
Message 62547 - Posted: 13 Jun 2015, 7:20:21 UTC - in response to Message 62536.  

-bump-

Anyone have an answer for me? I'd very much like to run this client from BOINCTasks.
ID: 62547 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 62560 - Posted: 14 Jun 2015, 15:50:21 UTC - in response to Message 62547.  

This helpdesk isn't open 24/7. Sometimes you just need to wait a while for an answer. Sorry.

gui_rpc_auth.cfg and remote_hosts.cfg are not included in BOINC source code tree.

gui_rpc_auth.cfg is created by the client if it doesn't exist in the data directory. remote_hosts.cfg is a file you create yourself.

You'll also need ca-bundle.crt in the data directory. You can find one in curl directory.
ID: 62560 · Report as offensive

Message boards : Questions and problems : How to monitor client when built from source

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.