eos icon indicating copy to clipboard operation
eos copied to clipboard

I update to dawn-v4.0.0 ,why can't run??

Open healthwallet opened this issue 8 years ago • 7 comments

lwy1218deMac-mini:eos iinda$ ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin -bash: ./nodeos: No such file or directory lwy1218deMac-mini:eos iinda$ cd build/programs/nodeos/ lwy1218deMac-mini:nodeos iinda$ ./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin 2386978ms thread-0 chain_plugin.cpp:125 plugin_initialize ] initializing chain plugin 2387041ms thread-0 main.cpp:101 main ] /Users/lwy1218/Downloads/eos/libraries/chainbase/src/chainbase.cpp(106): Throw in function chainbase::database::database(const bfs::path &, chainbase::database::open_flags, uint64_t) Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorstd::runtime_error > std::exception::what: database dirty flag set (likely due to unclean shutdown) replay or resync required

my system is mac os,v3.0.0 is run ok.

healthwallet avatar May 15 '18 01:05 healthwallet

add '--replay-blockchain'

vjoke avatar May 15 '18 01:05 vjoke

lwy1218deMac-mini:nodeos iinda$ nodeos --replay-blockchain 375256ms thread-0 chain_plugin.cpp:125 plugin_initialize ] initializing chain plugin 375257ms thread-0 chain_plugin.cpp:162 plugin_initialize ] Replay requested: wiping database 377901ms thread-0 http_plugin.cpp:247 plugin_initialize ] configured http to listen on 127.0.0.1:8888 377901ms thread-0 main.cpp:101 main ] /Users/lwy1218/Downloads/eos/libraries/appbase/application.cpp(290): Throw in function appbase::abstract_plugin &appbase::application::get_plugin(const string &) const Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorstd::runtime_error > std::exception::what: unable to find plugin: eosio::account_history_api_plugin

4.0.0 no this eosio::account_history_api_plugin???

healthwallet avatar May 15 '18 02:05 healthwallet

Use eosio::history_api_pluging

heifner avatar May 15 '18 02:05 heifner

Please update the doc: https://github.com/EOSIO/eos/wiki/Local-Environment#advanced-steps to mention the change to eosio::history_api_plugin instead of eosio::account_history_api_plugin

rsivasundaram avatar May 18 '18 03:05 rsivasundaram

Done

gleehokie avatar May 18 '18 04:05 gleehokie

Had this error: Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorstd::runtime_error > std::exception::what: database dirty flag set (likely due to unclean shutdown) replay or resync required

adding --replay-blockchain solved it for me.

./nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --replay-blockchain

error was caused when I accidentally closed my subsystem instance of ubuntu while it was running on my windows 10 pc.

AaronFaltesek avatar May 19 '18 01:05 AaronFaltesek

Please update to Dawn-4.1 and repeat tests.

gleehokie avatar May 19 '18 04:05 gleehokie