eos icon indicating copy to clipboard operation
eos copied to clipboard

Launcher still does NOT start 2 instances with latest pull and build as of 12/23/17

Open comtechnet opened this issue 8 years ago • 1 comments

EOS Team,

There is still an issue with Launcher starting two instances - it appears to "start" both. but the doc does NOT match.

First the Doc still reads:

~eos/build/programs/eosc ./eosc -p 8888 get info ./eosc -p 8889 get info

Should it not be corrected to read:

cd ~/eos/build/programs/eosc ./eosc -p 8888 get info ./eosc -p 8889 get info


Here is my results (it appears to launch both - but the second must NOT be port 8889 Is there a command that tells me how many are running and what their ports are?

[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/common/database_fixture.cpp.o 1 warning generated. 3 warnings generated. [ 99%] Linking CXX executable chain_test [100%] Built target chain_test iMac-0026BB55B3E8:eos comtechnet$ cd ~/eos/build iMac-0026BB55B3E8:build comtechnet$ cp ../genesis.json ./ iMac-0026BB55B3E8:build comtechnet$ ./programs/launcher/launcher -p2 --skip-signature "/Users/comtechnet/eos/build/tn_data_00" already exists. Use -f/--force to overwrite configuration and erase blockchain iMac-0026BB55B3E8:build comtechnet$ ./programs/launcher/launcher -p2 --skip-signature -f spawning child, programs/eosd/eosd --skip-transaction-signatures --enable-stale-production true --data-dir tn_data_00 spawning child, programs/eosd/eosd --skip-transaction-signatures --data-dir tn_data_01 iMac-0026BB55B3E8:build comtechnet$ cd programs/eosc iMac-0026BB55B3E8:eosc comtechnet$ pwd /Users/comtechnet/eos/build/programs/eosc iMac-0026BB55B3E8:eosc comtechnet$ ./eosc -p 8888 get info { "server_version": "6bfa9cc3", "head_block_num": 955, "last_irreversible_block_num": 936, "head_block_id": "000003bb604e3bf5c4663efb891442799a11cffd9d9cd2a62e46d7e1e7ceb3c8", "head_block_time": "2017-12-04T17:40:16", "head_block_producer": "initr", "recent_slots": "1111111111111111111111111111111111111111111111111111111111111111", "participation_rate": "1.00000000000000000" } iMac-0026BB55B3E8:eosc comtechnet$ ./eosc -p 8889 get info Failed to connect to eosd at localhost:8889; is eosd running? iMac-0026BB55B3E8:eosc comtechnet$

comtechnet avatar Dec 23 '17 12:12 comtechnet

latest pull - DOES NOW start two instances - one is generating blocks, the other is NOT generating blocks (I'm guessing this is the normal behavior?). It does appear that some of the confusion comes from the installation and setup documentation does NOT explain enough about WHAT is actually going on behind the scenes. For example - we are told to modify config.ini at an earlier step to get the initial eosd running, but it is not explained later to either use a different config.ini or modify it differently for the dual node / multiple node setup or the "connect the local node to the test node" setup.

comtechnet avatar Jan 01 '18 20:01 comtechnet