Bitcoin full node and query server

Jan 3, 2025

View in context in the libbitcoin Slack #general mirror.

M
Marnix19:31
on a fresh install on debian 12, bn was working. Then I executed ./bn -t
./bn -t
Using default configuration settings.
Database is started.
Getting first [100] output address hashes.
Segmentation fault
and now bn doesn't run anymore
./bn
2025-01-03T16:18:31Z.0 ====================== startup =======================
2025-01-03T16:18:31Z.0 Using default configuration settings.
2025-01-03T16:18:31Z.0 Database failed to start with error 'flush lock failure'.
2025-01-03T16:18:31Z.0 Please wait while restoring from most recent snapshot...
2025-01-03T16:18:31Z.0 restore::recover_snapshot(store)
2025-01-03T16:18:31Z.0 Database restore failed with error 'missing snapshot'.
2025-01-03T16:18:31Z.0 Node stopped successfully.
2025-01-03T16:18:31Z.0 ====================== shutdown ======================
2025-01-03T16:18:31Z.0 Press <enter> to exit...
how to fix?
M
Marnix20:09
yes, earlier I encountered this btw "bus error"
./bn -n
Using default configuration settings.
Initializing "bitcoin" directory...
Please wait while creating the database...
create::create_file(header_head)
create::create_file(header_body)
create::create_file(input_head)
create::create_file(input_body)
create::create_file(output_head)
create::create_file(output_body)
create::create_file(point_head)
create::create_file(point_body)
create::create_file(puts_head)
create::create_file(puts_body)
create::create_file(spend_head)
create::create_file(spend_body)
create::create_file(tx_head)
create::create_file(tx_body)
create::create_file(txs_head)
create::create_file(txs_body)
create::create_file(candidate_head)
create::create_file(candidate_body)
create::create_file(confirmed_head)
create::create_file(confirmed_body)
create::create_file(strong_tx_head)
create::create_file(strong_tx_body)
create::create_file(validated_bk_head)
create::create_file(validated_bk_body)
create::create_file(validated_tx_head)
create::create_file(validated_tx_body)
create::create_file(address_head)
create::create_file(address_body)
create::create_file(neutrino_head)
create::create_file(neutrino_body)
create::open_file(header_head)
create::open_file(header_body)
create::open_file(input_head)
create::open_file(input_body)
create::open_file(output_head)
create::open_file(output_body)
create::open_file(point_head)
create::open_file(point_body)
create::open_file(puts_head)
create::open_file(puts_body)
create::open_file(spend_head)
create::open_file(spend_body)
create::open_file(tx_head)
create::open_file(tx_body)
create::open_file(txs_head)
create::open_file(txs_body)
create::open_file(candidate_head)
create::open_file(candidate_body)
create::open_file(confirmed_head)
create::open_file(confirmed_body)
create::open_file(strong_tx_head)
create::open_file(strong_tx_body)
create::open_file(validated_bk_head)
create::open_file(validated_bk_body)
create::open_file(validated_tx_head)
create::open_file(validated_tx_body)
create::open_file(address_head)
create::open_file(address_body)
create::open_file(neutrino_head)
create::open_file(neutrino_body)
create::load_file(header_head)
create::load_file(header_body)
create::load_file(input_head)
create::load_file(input_body)
create::load_file(output_head)
create::load_file(output_body)
create::load_file(point_head)
create::load_file(point_body)
create::load_file(puts_head)
create::load_file(puts_body)
create::load_file(spend_head)
create::load_file(spend_body)
create::load_file(tx_head)
create::load_file(tx_body)
create::load_file(txs_head)
create::load_file(txs_body)
create::load_file(candidate_head)
create::load_file(candidate_body)
create::load_file(confirmed_head)
create::load_file(confirmed_body)
create::load_file(strong_tx_head)
create::load_file(strong_tx_body)
create::load_file(validated_bk_head)
create::load_file(validated_bk_body)
create::load_file(validated_tx_head)
create::load_file(validated_tx_body)
create::load_file(address_head)
create::load_file(address_body)
create::load_file(neutrino_head)
create::load_file(neutrino_body)
create::create_table(header_table)
create::create_table(input_table)
create::create_table(output_table)
create::create_table(point_table)
create::create_table(puts_table)
create::create_table(spend_table)
create::create_table(tx_table)
Bus error