Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Unable to Create Block Log Index #7865

Closed
ndcgundlach opened this issue Sep 6, 2019 · 0 comments
Closed

Unable to Create Block Log Index #7865

ndcgundlach opened this issue Sep 6, 2019 · 0 comments
Assignees

Comments

@ndcgundlach
Copy link
Contributor

Running eosio-blocklog with the --make-index option fails and does not create the block log index.

  1. build develop branch (442d187a)

  2. Get mainnet blocklog file (last block = 76075131) md5 hash 352641ebc66b230d773eb0d4a73a08a7.

  3. put blocks.log file in nodeos/data/blocks directory. ensure there is no existing block index or reversible db.

  4. from nodeos/data dir, run {eos bin dir}/eosio-blocklog --make-index

  5. process outputs:

info 2019-09-06T19:08:28.813 eosio-blo block_log.cpp:417 construct_index ] Will read existing blocks.log file blocks/blocks.log
info 2019-09-06T19:08:28.813 eosio-blo block_log.cpp:418 construct_index ] Will write new blocks.index file blocks/blocks.index
error 2019-09-06T19:08:28.814 eosio-blo main.cpp:592 main ] 3190000 block_log_exception: Block log exception
Could not open Block log file at 'blocks/blocks.log'
{"blocks_log":"blocks/blocks.log"}
eosio-blocklog block_log.cpp:634 open

No index file is created.

@ndcgundlach ndcgundlach self-assigned this Sep 6, 2019
heifner added a commit that referenced this issue Sep 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant