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

nodeos Failed to initialize #5771

Closed
lducsm opened this issue Sep 20, 2018 · 5 comments
Closed

nodeos Failed to initialize #5771

lducsm opened this issue Sep 20, 2018 · 5 comments

Comments

@lducsm
Copy link

lducsm commented Sep 20, 2018

~$ nodeos
2018-09-20T16:23:32.064 thread-0 chain_plugin.cpp:317 plugin_initialize ] initializing chain plugin
2018-09-20T16:23:32.064 thread-0 chain_plugin.cpp:632 plugin_initialize ] 3190000 block_log_exception: Block log exception
Block log was not setup properly with genesis information.
{}
thread-0 block_log.cpp:475 extract_genesis_state
Failed to initialize

My computer crashed and restarted, I can't launch nodeos, how can i do ?

@jgiszczak
Copy link
Contributor

Assuming nodeos was previously working, you will need to include the correct --data-dir argument to nodeos so that it can find the block log it was using. Follow the instructions you were using to start nodeos back up.

@Drug0j
Copy link

Drug0j commented Sep 24, 2018

3190000 block_log_exception: Block log exception
Block log was not setup properly with genesis information.
{}
thread-0 block_log.cpp:475 extract_genesis_state

@MikeC-BC
Copy link

MikeC-BC commented Apr 2, 2019

getting the same issue when on initialization with a snapshot. Why was this issue closed?

@jgiszczak
Copy link
Contributor

@MikeC-BC The referenced error message has been gone since October 2018. There have been many improvements and many releases since then, including substantial work on better snapshot support in the October release. You should upgrade to a much more recent release to successfully load snapshots together with a block log.

@mosjin
Copy link

mosjin commented Jun 9, 2019

I just "rm -rf ~/.local/share/eosio/nodeos/data/*" and used the method in 4742 to let my EOS works.

nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_api_plugin --plugin eosio::http_plugin --plugin eosio::history_plugin --plugin eosio::history_api_plugin --access-control-allow-origin='*' --contracts-console --http-validate-host=false

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

5 participants