Image: screengrab of hive.io
I am continuing my work on setting up a HIVE witness node. As I already mentioned, last time I tried to get it going what failed was the wallet initialization.
Following that, advised me that having a wallet was not even necessary to start. So I proceeded without worrying about the wallet but got stuck experiencing various database issues. After multiple attempts at rebuilding and rectifying the situation I am still stuck n roughly the following state:
ubuntu@hive-node-0:~$ docker logs 22267e516c69
1319558ms p2p_plugin.cpp:603 plugin_initialize ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
{"message":"Host not found (authoritative)"}
asio.cpp:88 resolve_handler
{}
asio.cpp:168 resolve
{"endpoint_string":"seed.buildteam.io:2001"}
p2p_plugin.cpp:76 resolve_string_to_ip_endpoints while adding seed node seed.buildteam.io:2001
1319962ms p2p_plugin.cpp:603 plugin_initialize ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
{"message":"Host not found (authoritative)"}
asio.cpp:88 resolve_handler
{}
asio.cpp:168 resolve
{"endpoint_string":"seed.chitty.me:2001"}
p2p_plugin.cpp:76 resolve_string_to_ip_endpoints while adding seed node seed.chitty.me:2001
1319978ms rc_plugin.cpp:1174 plugin_initialize ] Initializing resource credit plugin
1319979ms rc_plugin.cpp:1242 plugin_initialize ] RC's will be computed starting at block 26256743
1319979ms witness_plugin.cpp:481 plugin_initialize ] Initializing witness plugin
1319983ms account_by_key_plugin.cpp:281 plugin_initialize ] Initializing account_by_key plugin
1319983ms state_snapshot_plugin.cpp:1428 plugin_initialize ] Initializing state_snapshot_plugin...
1319983ms state_snapshot_plugin.cpp:894 impl ] Registering add_prepare_snapshot_handler...
1319983ms webserver_plugin.cpp:460 plugin_initialize ] configured with 4 thread pool size
1319984ms webserver_plugin.cpp:469 plugin_initialize ] configured http to listen on 0.0.0.0:8091
1319984ms webserver_plugin.cpp:486 plugin_initialize ] configured ws to listen on 0.0.0.0:8090
------------------------------------------------------
@ @@@@@@ ,@@@@@%
@@@@ (@@@@@* @@@@@@
%@@@@@@ @@@@@@ %@@@@@,
@@@@@@@@@@ @@@@@@ @@@@@@
,@@@@@@@@@@@@ @@@@@@ @@@@@@
@@@@@@@@@@@@@@@& @@@@@@ @@@@@@
@@@@@@@@@@@@@@@@@@ .@@@@@% @@@@@@
@@@@@@@@@@@@@@@@@@@@@( .@@@@@%
@@@@@@@@@@@@@@@@@@@@ @@@@@@
*@@@@@@@@@@@@@@@@ @@@@@@ @@@@@@.
@@@@@@@@@@@@@@ &@@@@@. @@@@@@
#@@@@@@@@@@ @@@@@@ #@@@@@/
@@@@@@@@ /@@@@@/ @@@@@@
@@@@@( @@@@@@ .@@@@@&
@@ @@@@@& @@@@@@
STARTING HIVE NETWORK
------------------------------------------------------
initminer public key: STM8GC13uCZbP44HzMLV6zPZGwVQ8Nt4Kji8PapsPiNq1BK153XTX
chain id: 0000000000000000000000000000000000000000000000000000000000000000
blockchain version: 1.25.0
------------------------------------------------------
hived git_revision: "b597ef7247f139a71d8ee41087fe430382a8b36a"
1319985ms main.cpp:141 main ] Backtrace on segfault is enabled.
Setting up a startup_io_handler...
1319985ms chain_plugin.cpp:720 plugin_startup ] Chain plugin initialization...
1319985ms chain_plugin.cpp:413 initial_settings ] Starting chain with shared_file_size: 26843545600 bytes
1319985ms chain_plugin.cpp:724 plugin_startup ] Database opening...
1319985ms chain_plugin.cpp:529 open ] Opening shared memory from /shm/
Compiler and build environment read from persistent storage: `{"compiler":"7.5.0", "debug":0, "apple":0, "windows":0, "version" : { "hive_blockchain_hard_fork" : "1.25.0", "hive_git_revision" : "b597ef7247f139a71d8ee41087fe430382a8b36a" }, "plugins" : ["account_by_key", "account_by_key_api", "block_api", "chain", "condenser_api", "database_api", "json_rpc", "network_broadcast_api", "p2p", "rc", "state_snapshot", "webserver", "witness"]}'
1319988ms block_log.cpp:185 open ] Log is nonempty
1319991ms block_log.cpp:190 open ] Index is nonempty
1319992ms database.cpp:170 open ] Opened a blockchain database holding a state specific to head block: 20005813 and last irreversible block: 20005798
1319993ms database.cpp:183 operator() ] Blockchain state database is AT IRREVERSIBLE state specific to head block: 20005813 and LIB: 20005798
1319994ms database.cpp:248 open ] 10 assert_exception: Assert Exception
revision() == head_block_num(): Chainbase revision does not match head block num.
{"rev":13251518,"head_block":20005813}
database.cpp:192 operator()
1319994ms database.cpp:248 open ] args.data_dir: /steem/witness_node_data_dir/blockchain args.shared_mem_dir: /shm/ args.shared_file_size: 26843545600
1319995ms chain_plugin.cpp:538 open ] Error opening database. If the binary or configuration has changed, replay the blockchain explicitly using `--replay-blockchain`.
1319995ms chain_plugin.cpp:539 open ] If you know what you are doing you can skip this check and force open the database using `--force-open`.
1319995ms chain_plugin.cpp:540 open ] WARNING: THIS MAY CORRUPT YOUR DATABASE. FORCE OPEN AT YOUR OWN RISK.
1319995ms chain_plugin.cpp:541 open ] Error: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"database.cpp","line":192,"method":"operator()","hostname":"","timestamp":"2022-06-12T17:21:59"},"format":"revision() == head_block_num(): Chainbase revision does not match head block num.","data":{"rev":13251518,"head_block":20005813}},{"context":{"level":"warn","file":"database.cpp","line":248,"method":"open","hostname":"","timestamp":"2022-06-12T17:21:59"},"format":"rethrow","data":{"args.data_dir":"/steem/witness_node_data_dir/blockchain","args.shared_mem_dir":"/shm/","args.shared_file_size":"26843545600"}}]}
ubuntu@hive-node-0:~$
Any advice on how to proceed will be greatly appreciated, as usual.
References
HIAB (HIVE In a Box) : 11 June update
, 11 June 2022
HIAB (HIVE In a Box) : 20 April update
, 20 April 2022
HIAB (HIVE In a Box) update
, 15 April 2022
How To Set Up A Hive Witness Using HIAB At Version 1.24.4
, 8 November 2020
Social media links
Website
Support