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:03
./bn 
2025-01-03T16:57:47Z.0 ====================== startup =======================
2025-01-03T16:57:47Z.0 Using default configuration settings.
2025-01-03T16:57:47Z.0 The "bitcoin" database directory does not exist.
2025-01-03T16:57:47Z.0 Using default configuration settings.
2025-01-03T16:57:47Z.0 Initializing "bitcoin" directory...
2025-01-03T16:57:47Z.0 Failed because the directory "bitcoin" already exists.
2025-01-03T16:57:47Z.0 Node stopped successfully.
2025-01-03T16:57:47Z.0 ====================== shutdown ======================
2025-01-03T16:57:47Z.0 Press <enter> to exit...
bitcoin dir doesn't exist -> initializing bitcoin dir -> fail because bitcoin dir already exists🤔