Linux setup questions

ldhcria
ldhcria
Joined: 4 Jun 05
Posts: 34
Credit: 518917
RAC: 0
Topic 192251

I've just installed BOINC on a Fedora Core 6 Linux box. I installed the BOINC client as a daemon as per the instructions at http://www.spy-hill.net/~myers/help/boinc/unix.html and was able to get it installed and running OK but I'm having one minor problem.

Every time I run the boincmgr program I have to use the Select Computer menu and enter localhost and the password from the gui_rpc_auth.cfg file in the boinc directory (in other words, it doesn't remember the host and password from one run to the next). Is there any way to make it remember that?

tullio
tullio
Joined: 22 Jan 05
Posts: 2118
Credit: 61407735
RAC: 0

Linux setup questions

Quote:

Every time I run the boincmgr program I have to use the Select Computer menu and enter localhost and the password from the gui_rpc_auth.cfg file in the boinc directory (in other words, it doesn't remember the host and password from one run to the next). Is there any way to make it remember that?


I am running BOINC 5.7.5 on SuSE Linux 10.1. In the boincmanager toolbar, I have Activity based on preferences checked in the Activity button and everything is OK. I am running Einstein@home, SETI@home and QMC@home on an old Pentium II.
Tullio

ldhcria
ldhcria
Joined: 4 Jun 05
Posts: 34
Credit: 518917
RAC: 0

RE: I am running BOINC

Message 58438 in response to message 58437

Quote:
I am running BOINC 5.7.5 on SuSE Linux 10.1. In the boincmanager toolbar, I have Activity based on preferences checked in the Activity button and everything is OK. I am running Einstein@home, SETI@home and QMC@home on an old Pentium II.
Tullio

I'm glad things are working for you but that doesn't really help me. I assume that I have file permissions set incorrectly in some directory that the boincmanager is trying to write to. Does anyone know where and to what file that host information is supposed to be written so I can check and, if necessary, correct them?

Nigel
Nigel
Joined: 19 Jun 06
Posts: 10
Credit: 4362
RAC: 0

Hi idhcria I am running

Hi idhcria

I am running BOINC 5.3.16 on Linux FC3. It may be worth checking file client_state.xml The top of the file should read somthing like this:-

0
***********
**********
ee174965yd74kg7hetdgersue99
1
GenuineIntel
Pentium III (Coppermine)
497588091.005279
893632105.590908
1000000000.000000
1167412472.921150
Linux
2.6.11-1.27_FC3
260026368.000000
262144.000000
536862720.000000
19024048128.000000
8853917696.000000

I have removed my host name and IP address from this post for security.
The file client_state_prev.xml should also read the same. I think this file should normaly give boincmgr the default information it needs. If these files do not look similar to this check that the user that you used to install boinc has the permissions set to write to the directory/file where these files exist.

If this checks out o.k you could try renaming gui_rpc_auth.cfg to somthing else just to try and see if boincmgr connects when no password exists (so indicating some type of timing issue)
Good luck hope you sort out the problem.

Regards Nigel

Desti
Desti
Joined: 20 Aug 05
Posts: 117
Credit: 23762214
RAC: 0

RE: I'm glad things are

Message 58440 in response to message 58438

Quote:

I'm glad things are working for you but that doesn't really help me. I assume that I have file permissions set incorrectly in some directory that the boincmanager is trying to write to. Does anyone know where and to what file that host information is supposed to be written so I can check and, if necessary, correct them?

The boincmgr config file is in your home dir, .BOINC Manager

ldhcria
ldhcria
Joined: 4 Jun 05
Posts: 34
Credit: 518917
RAC: 0

RE: Hi idhcria I am

Message 58441 in response to message 58439

Quote:

Hi idhcria

I am running BOINC 5.3.16 on Linux FC3. It may be worth checking file client_state.xml The top of the file should read somthing like this:-

...

I have removed my host name and IP address from this post for security.
The file client_state_prev.xml should also read the same. I think this file should normaly give boincmgr the default information it needs. If these files do not look similar to this check that the user that you used to install boinc has the permissions set to write to the directory/file where these files exist.

If this checks out o.k you could try renaming gui_rpc_auth.cfg to somthing else just to try and see if boincmgr connects when no password exists (so indicating some type of timing issue)
Good luck hope you sort out the problem.

Regards Nigel

The beginning of my client_state.xml file looks similar to what you quoted. Regarding gui_rpc_auth.cfg, as mentioned in my original post, I installed boinc as a service (while logged in as root) following the directions I referred to. In view of that, I created a separate boinc account (using adduser) with its home directory at /var/lib/boinc which, by default, only allows read access to the boinc user. I haven't changed those permissions, so only the root (or SU) can see the files in that directory. Note that even if I am logged in as root the boincmgr program doesn't remember or can't find the host password information. Do I need to copy the gui_rpc_auth.cfg somewhere that the username I am logged in as can see it or perhaps add my username to the boinc group and set the boinc home directory to allow group read for the boinc group?

ldhcria
ldhcria
Joined: 4 Jun 05
Posts: 34
Credit: 518917
RAC: 0

RE: ... The boincmgr config

Message 58442 in response to message 58440

Quote:
...
The boincmgr config file is in your home dir, .BOINC Manager

I look in that file and there is a ComputerMRU section that seems to be the list of hosts given by the Select Computer dialog box. It contains a line "0=localhost" but I don't see anything in there telling it where to find the password information. Any idea where boincmgr gets that information?

ldhcria
ldhcria
Joined: 4 Jun 05
Posts: 34
Credit: 518917
RAC: 0

One other thing I've just

One other thing I've just noticed is that the Statistics tab in BOINC Manager doesn't show any statistics for my account or the local host (the charts are blank). I did an update and that is still the case. If I view the computers list from my account page on the Einstein site it shows a non-zero total credit for this computer.

tullio
tullio
Joined: 22 Jan 05
Posts: 2118
Credit: 61407735
RAC: 0

RE: RE: ... The boincmgr

Message 58444 in response to message 58442

Quote:
Quote:
...
The boincmgr config file is in your home dir, .BOINC Manager

I look in that file and there is a ComputerMRU section that seems to be the list of hosts given by the Select Computer dialog box. It contains a line "0=localhost" but I don't see anything in there telling it where to find the password information. Any idea where boincmgr gets that information?


In the BOINC/account* files, I think.
Tullio

ldhcria
ldhcria
Joined: 4 Jun 05
Posts: 34
Credit: 518917
RAC: 0

RE: One other thing I've

Message 58445 in response to message 58443

Quote:
One other thing I've just noticed is that the Statistics tab in BOINC Manager doesn't show any statistics for my account or the local host (the charts are blank). I did an update and that is still the case. If I view the computers list from my account page on the Einstein site it shows a non-zero total credit for this computer.

I see now this is not a problem. Since it is the first day, there are no lines, just a dot at the current value. So the tab is showing me the statistics, I was just misinterpretting what I was seeing.

ldhcria
ldhcria
Joined: 4 Jun 05
Posts: 34
Credit: 518917
RAC: 0

RE: RE: RE: ... The

Message 58446 in response to message 58444

Quote:
Quote:
Quote:
...
The boincmgr config file is in your home dir, .BOINC Manager

... I don't see anything in there telling it where to find the password information. Any idea where boincmgr gets that information?


In the BOINC/account* files, I think.
Tullio

I find a lookup_account.xml file in my /var/lib/boinc directory but that is in the login directory of the service, not my login username (so it is not accessible when I'm logged in). Other than that I find no boinc related files with "account" in their name.

Comment viewing options

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