2nd localhost client can't connect to BoincTasks

Started by Dirk, September 04, 2016, 10:57:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dirk

I followed the instruction here: http://efmer.com/forum/index.php?topic=856.0

On a Windows XP x86 PC it worked in past.

Now an other PC with Windows 8.1 x64 it don't work.

From the 'log':
BoincTasks version: 1.67
Language ---- User: 1031 (DEU), System: 1031 (DEU), Selected: 1033 (ENU) Used: 1033 (ENU)
Maximum number of computers: Unlimited
Computers ---- xxxxxxxx , IP: localhost2
Computers ---- xxxxxxxx , IP: localhost
Start BOINC client ---- The BOINC client started OK
Connect ---- Connected to: Host: xxxxxxxx, IP: localhost, Port: 31416, BOINC Version: 7.6.22
Logging ---- Start debug mode
Connect, init ---- Host: xxxxxxxx, IP: localhost2, Port: 31426, connection error



What's different between XP and 8.1?

As I installed BOINC v7.6.22, there was during installation something like 'allow BOINC access to folder' or something...
IIRC, this wasn't happen on the XP PC, with an older BOINC version (for 2+ years in past).

Now on the 8.1 PC I need to allow someone the access to the BOINC2 folder?

It's important where the BOINC2 folder is?
Maybe it must be in the C:\ProgramData\ folder?

Maybe I must adjust the Windows Firewwall?
Open/allow a port?

It's important how I adjusted the Windows Firewall?
I can chose 'home' and 'guest/public' network.
Which I must chose normally, and/or if I want a 2nd BOINC client?


Thanks. :)
(aka Sutaru Tsureku)

Best regards! :-)


fred

Run in the batch file or better form the console
"C:\Program Files\BOINC\boinc.exe" --allow_multiple_clients --dir C:\ProgramData\BOINC2 --gui_rpc_port 31426
If you run in a batch file add: a new line with the command: pause
That way you can see if it actually starts.
It shouldn't matter what folder you use as long as boinc.exe can access it

Dirk

#2
No BOINC/Project activity... closed/exited - then...

After I made the .bat file (in past without 'pause'), a command prompt window opened and a client was started - and I could connect the 2nd client with BoincTasks.
But, IIRC, the localhost (1st client) couldn't connect with BoincTasks.


This worked just if I made a new folder outside from the BOINC folders. (*1)
As I made it to the BOINC folder ...\ProgramData\... there it didn't worked, nothing in the BOINC2 folder.

I use an user account (not admin account), but executed the .bat file with admin PIN.


(*1)
In the BOINC2 folder is:
notices (folder)
all_projects_list.xml
cc_config.xml (with <allow_multiple_clients>1...)
client_state.xml
client_state_prev.xml
coproc_info.xml
daily_xfer_history.xml
gui_rpc_auth.cfg
stderrgpudetect.txt
stdoutgpudetect.txt
time_stats_log


After I closed/exited the command prompt window with the running 2nd client - I made a reboot - and since then BoincTasks can connect to the (1st) localhost client, but not to the (2nd) localhost2 client.

I have no idea why it don't work. :(


I saw that a (localhost2) client started, so I don't need to do your suggestion?

Or 'pause' in .bat or execution in command prompt window do something different?


Thanks. :)
(aka Sutaru Tsureku)

Best regards! :-)


fred

I added text to the example:

Please follow the instructions in http://efmer.com/forum/index.php?topic=856.msg5122#msg5122 exactly.
So use the same folder and port as in the example.
Read the instructions carefully and don't skip anything.

DO NOT RESTART the computer.

The next time the computer starts the batch file needs to be executed once....

I tested the instructions and they work just fine on my W 10 64 computer.