Installation of Boinc View

Questions and Answers : Windows : Installation of Boinc View
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile bernt
Avatar

Send message
Joined: 10 Dec 06
Posts: 27
Credit: 131,599
RAC: 0
Sweden
Message 871410 - Posted: 2 Mar 2009, 18:55:36 UTC

I have installed the program Boincview and it works with direct access. I then tried to change it for network access according to the installation procedure in Boinc Wiki. I have carefully changed everything according to the instruction, but how I try I don't get the message Remote Control Allowed after stop and start of Boinc. I'm running boinc as a daemon.


ID: 871410 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 871456 - Posted: 2 Mar 2009, 21:51:16 UTC

Based on the error you reported, you have not created the remote_hosts.cfg and the gui_rpc_auth.cfg files correctly.

1) They have to go in the DATA directory of the computer to be controlled, not the execuabeles directory. The data directory is listed at BOINC startup.

2) gui_rpc_auth.cfg contains a single line with the password. The password must match betweek this file and BV.

3) gui_rpc_auth.cfg contains a list of IP addresses or machine names one per line as follows:

10.192.168.4
foo
berntsbox

Would allow access to that BOINC installation from any machine that had the IP address 10.192.168.4 no matter what it was named, and the machines named foo and berntsbox no matter what IP they had.

The next step is to coerce your firewalls to let the traffic through.
1) BOINC.exe must be allowed to act as a server for port 31416. It must have outbound access to ports 443 and 80 (https and http).
2) BOINCView.exe, BOINCmgr.exe, BOINCCmd.exe and possibly BOINC.scr will have to have outbound access on port 31416 to get to the machine to be controlled.
NOTE: 31416 should only be allowed on the LAN, and not the general internet.


BOINC WIKI
ID: 871456 · Report as offensive
Profile bernt
Avatar

Send message
Joined: 10 Dec 06
Posts: 27
Credit: 131,599
RAC: 0
Sweden
Message 871661 - Posted: 3 Mar 2009, 8:23:42 UTC

I have checked what you said carefully and the info is in the right library.
You said that the gui_rpc_auth should carry the info about the IP. I suppose this a small typing error. The remote_hosts.cfg = IP and gui_rpc_auth.cfg = password and so it is. Could there be anything else that can make this go wrong? Service that should be started for instance? Grateful for any help?


ID: 871661 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 871663 - Posted: 3 Mar 2009, 8:34:06 UTC - in response to Message 871661.  

Does the remote access via BOINC manager (Advanced menu/Select computer...) work?

The remote_hosts.cfg and the gui_rpc_auth.cfg files must be on every host.

For your convenience, the password on each host can be the same.

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours
ID: 871663 · Report as offensive
Profile bernt
Avatar

Send message
Joined: 10 Dec 06
Posts: 27
Credit: 131,599
RAC: 0
Sweden
Message 871683 - Posted: 3 Mar 2009, 10:27:04 UTC

Gundolf,

No it does not work to select an other pc in boincmanager. I have tried that as well, but in vain.

I can see all of them in the network and accessright is correct. Via the explorer everything is ok. I created the same user with the same rights on each PC to make it simple.

I found a very good instruction in Boinc Wiki how to do this. I followed it very carefully as I already said.

Bernt
ID: 871683 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 871692 - Posted: 3 Mar 2009, 11:48:50 UTC - in response to Message 871683.  

Are there any error messages if you try to "Select computer..."?

See also in the file stdoutgui.txt

Gruß,
Gundolf
ID: 871692 · Report as offensive
Profile bernt
Avatar

Send message
Joined: 10 Dec 06
Posts: 27
Credit: 131,599
RAC: 0
Sweden
Message 872105 - Posted: 4 Mar 2009, 17:50:03 UTC - in response to Message 871692.  

Voila,

18:45:21: Error: can't open file 'C:\Program Files\BOINC\\RebootPending.txt' (error 2: the system cannot find the file specified.)
[03/04/09 18:45:22] TRACE [1052]: RPC_CLIENT::init boinc_socket returned 352

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init connect returned -1

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init attempting connect

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init_poll connected to port 31416

[03/04/09 18:45:23] TRACE [1052]: CAN'T FIND PROJECT http://setiathome.berkeley.edu/

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init boinc_socket returned 352

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init connect returned -1

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init attempting connect

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:31] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:31] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:31] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:31] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:32] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:32] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:32] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:32] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:33] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:33] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:33] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:33] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:34] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

Some nice output after change to 192.168.0.3 via the menu in boincmanager.

Can you find anything in this Gundolf?

Bernt

ID: 872105 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 872117 - Posted: 4 Mar 2009, 18:15:29 UTC - in response to Message 872105.  

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init attempting connect

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init_poll sock = 352

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init_poll connected to port 31416

[03/04/09 18:45:23] TRACE [1052]: CAN'T FIND PROJECT http://setiathome.berkeley.edu/

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init boinc_socket returned 352

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init connect returned -1
...
Some nice output after change to 192.168.0.3 via the menu in boincmanager.

Can you find anything in this Gundolf?

Bernt

Me surely not! I have no knowledge about this, but perhaps others can help.

I suppose 352 is an error number, since I got 440 after giving a wrong password:
[03/01/09 20:08:16] TRACE [424]: RPC_CLIENT::init boinc_socket returned 440
but I don't know what it means.

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours
ID: 872117 · Report as offensive
Profile bernt
Avatar

Send message
Joined: 10 Dec 06
Posts: 27
Credit: 131,599
RAC: 0
Sweden
Message 872133 - Posted: 4 Mar 2009, 18:47:03 UTC - in response to Message 872117.  

Gundolf,

You are surely right. I guess 352 means RPC not activated, it is just a wild guess.

Bernt
ID: 872133 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 872146 - Posted: 4 Mar 2009, 19:13:28 UTC - in response to Message 872133.  

No, they're not error codes. They are socket ID numbers.

In bernt's example you can see what's happening:

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init_poll sock = 352 --> tells which socket ID to use.

[03/04/09 18:45:23] TRACE [1052]: RPC_CLIENT::init_poll connected to port 31416 --> connection to BM made.

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init boinc_socket returned 352 -> checking if we're still on socket 352.

[03/04/09 18:45:30] TRACE [1052]: RPC_CLIENT::init connect returned -1 --> yes we are.
ID: 872146 · Report as offensive
Profile bernt
Avatar

Send message
Joined: 10 Dec 06
Posts: 27
Credit: 131,599
RAC: 0
Sweden
Message 872148 - Posted: 4 Mar 2009, 19:20:14 UTC - in response to Message 872146.  

Ageless,

Appreciate your explanation. I would be even more happy if you can explain why I can't connect via the boincmanager interface to a computer on my LAN. I have tried almost everything to make this correct so I am very happy to anyone who can give my some guidance.

Bernt
ID: 872148 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 872164 - Posted: 4 Mar 2009, 19:50:37 UTC - in response to Message 872148.  

I explained the how to in this post for a Mac user. It is the same under Windows.

if that doesn't work, then make sure that your firewall allows for all parts of BOINc to communicate with each other.
ID: 872164 · Report as offensive
Profile bernt
Avatar

Send message
Joined: 10 Dec 06
Posts: 27
Credit: 131,599
RAC: 0
Sweden
Message 872630 - Posted: 5 Mar 2009, 21:40:20 UTC

Case closed

Thanks for the help

Bernt
ID: 872630 · Report as offensive

Questions and Answers : Windows : Installation of Boinc View


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.