BitShares Forum

Main => Technical Support => Topic started by: bitcoinerS on October 19, 2015, 06:59:33 pm

Title: can't restart witness node after shut down - crashes
Post by: bitcoinerS on October 19, 2015, 06:59:33 pm
Code: [Select]
./programs/witness_node/witness_node
3408061ms th_a       witness.cpp:86                plugin_initialize    ] witness plugin:  plugin_initialize() begin
3408061ms th_a       witness.cpp:96                plugin_initialize    ] key_id_to_wif_pair: ["BTS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"]
3408061ms th_a       witness.cpp:114               plugin_initialize    ] witness plugin:  plugin_initialize() end
3408061ms th_a       object_database.cpp:91        open                 ] Opening object database from /home/user/local/bitshares-2/witness_node_data_dir/blockchain ...
3411465ms th_a       object_database.cpp:97        open                 ] Done opening object database.
3411465ms th_a       db_management.cpp:125         open                 ] last_block->id(): 0002a8b4791ef4b8979d60df2a42f6a4f0b576db last_block->block_num(): 174260
3411465ms th_a       db_management.cpp:133         open                 ] 10 assert_exception: Assert Exception
head_block_num() == 0: last block ID does not match current chain state
    {}
    th_a  db_management.cpp:128 open
3411465ms th_a       db_management.cpp:133         open                 ] data_dir: /home/user/local/bitshares-2/witness_node_data_dir/blockchain
3411465ms th_a       application.cpp:400           startup              ] 10 assert_exception: Assert Exception
head_block_num() == 0: last block ID does not match current chain state
    {}
    th_a  db_management.cpp:128 open
rethrow
    {"data_dir":"/home/user/local/bitshares-2/witness_node_data_dir/blockchain"}
    th_a  db_management.cpp:133 open
3411465ms th_a       application.cpp:946           startup              ] 10 assert_exception: Assert Exception
head_block_num() == 0: last block ID does not match current chain state
    {}
    th_a  db_management.cpp:128 open
rethrow
    {"data_dir":"/home/user/local/bitshares-2/witness_node_data_dir/blockchain"}
    th_a  db_management.cpp:133 open
rethrow
    {}
    th_a  application.cpp:400 startup
3411465ms th_a       main.cpp:192                  main                 ] Exiting with error:
10 assert_exception: Assert Exception
head_block_num() == 0: last block ID does not match current chain state
    {}
    th_a  db_management.cpp:128 open
rethrow
    {"data_dir":"/home/user/local/bitshares-2/witness_node_data_dir/blockchain"}
    th_a  db_management.cpp:133 open
rethrow
    {}
    th_a  application.cpp:400 startup
3411465ms th_a       db_block.cpp:401              pop_block            ] head_id: 0002a8b57cf1832d33ebc4b1317bfc29c1708ecc head_block_num(): 174261
3411592ms th_a       db_block.cpp:401              pop_block            ] head_id: 0002a8b57cf1832d33ebc4b1317bfc29c1708ecc head_block_num(): 174261
Title: Re: can't restart witness node after shut down - crashes
Post by: cube on October 19, 2015, 07:05:20 pm
Try delete the data folder and restart node.

/home/user/local/bitshares-2/witness_node_data_dir