BitShares Forum
Main => Technical Support => Topic started by: pioul on July 04, 2017, 03:11:39 am
-
I has compiled on centos ,but run ./programs/witness_node/witness_node is error
-
bitshares-core
-
382184ms th_a main.cpp:126 main ] Writing new config file at /home/bitshares-core/witness_node_data_dir/config.ini
382201ms th_a witness.cpp:88 plugin_initialize ] witness plugin: plugin_initialize() begin
382202ms th_a witness.cpp:99 plugin_initialize ] Public Key: BTS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
382202ms th_a witness.cpp:117 plugin_initialize ] witness plugin: plugin_initialize() end
382203ms th_a application.cpp:441 startup ] Replaying blockchain due to: db_version file not found
382203ms th_a application.cpp:330 operator() ] Initializing database...
394151ms th_a db_management.cpp:51 reindex ] reindexing blockchain
394154ms th_a db_management.cpp:104 wipe ] Wiping database
394162ms th_a db_management.cpp:170 close ] Database close unexpected exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"index.hpp","line":111,"method":"get","hostname":"","thread_name":"th_a","timestamp":"2017-07-04T04:06:34"},"format":"maybe_found != nullptr: Unable to find Object","data":{"id":"2.1.0"}}]}
394214ms th_a object_database.cpp:87 wipe ] Wiping object database...
394214ms th_a object_database.cpp:89 wipe ] Done wiping object databse.
394214ms th_a object_database.cpp:94 open ] Opening object database from /home/bitshares-core/witness_node_data_dir/blockchain ...
394215ms th_a object_database.cpp:100 open ] Done opening object database.
406459ms th_a db_debug.cpp:85 debug_dump ] total_balances[asset_id_type()].value: 12205723874026 core_asset_data.current_supply.value: 253409943611989
406468ms th_a db_management.cpp:58 reindex ] !no last block
406468ms th_a db_management.cpp:59 reindex ] last_block:
406552ms th_a application.cpp:480 startup ] 0 exception: unspecified
Unable to generate EC key
{}
p2p elliptic_common.cpp:222 generate
{}
th_a application.cpp:210 reset_p2p_node
406552ms th_a application.cpp:1024 startup ] 0 exception: unspecified
Unable to generate EC key
{}
p2p elliptic_common.cpp:222 generate
{}
th_a application.cpp:210 reset_p2p_node
rethrow
{}
th_a application.cpp:480 startup
406552ms th_a main.cpp:195 main ] Exiting with error:
0 exception: unspecified
Unable to generate EC key
{}
p2p elliptic_common.cpp:222 generate
{}
th_a application.cpp:210 reset_p2p_node
rethrow
{}
th_a application.cpp:480 startup
406555ms p2p peer_database.cpp:133 close ] error saving peer database to file
406855ms p2p peer_database.cpp:133 close ] error saving peer database to file
406855ms p2p peer_database.cpp:133 close ] error saving peer database to file
-
how to use the correct forum?
-
406552ms th_a application.cpp:480 startup ] 0 exception: unspecified
Unable to generate EC key
IIRC, old Fedora versions shipped OpenSSL without certain ECC curves. Since centos is fedora-based that may be the problem here.
You can try this patch, although I'm not sure if it applies cleanly to the current version of the fc library: https://build.opensuse.org/package/view_file/home:p_conrad:bts/libfc/fc20-ecc.patch?expand=1