新手教程 nodeos 退出重新启动时出现异常

carry · August 13, 2018 · Last by wangheok replied at August 05, 2019 · 9382 hits

nodeos 退出重新启动时出现异常,打开 stderr.txt 显示: 2018-08-13T05:55:56.461 thread-0 chain_plugin.cpp:271 plugin_initialize ] initializing chain plugin 2018-08-13T05:55:56.462 thread-0 chain_plugin.cpp:580 plugin_initialize ] 13 St13runtime_error: database dirty flag set rethrow database dirty flag set: {"what":"database dirty flag set"} thread-0 chain_plugin.cpp:580 plugin_initialize 2018-08-13T05:55:56.462 thread-0 main.cpp:118 main ] database dirty flag set (likely due to unclean shutdown): replay required

不想用:./start.sh --delete-all-blocks --genesis-json genesis.json,对以前的数据进行清空。我还想保留以前运行的数据该怎么启动?

1Floor has deleted

只有第一次用 nodeos --delete-all-blocks --genesis-json genesis.json

第二次 直接 nodeos 就好了

--hard-replay-blockchain 也只是遇到问题了再用.

这个方法 nodeos 进程时启动了, 但./cleos.sh get info 提示:Failed to connect to nodeos at http://127.0.0.1:8888; is nodeos running? 这该怎么解决呢?

5Floor has deleted
carry 回复

replay 结束才能用 get info 看到

eoshily 回复

谢谢!

Failed to connect to nodeos at http://127.0.0.1:8888/; is nodeos running?我的./cleos.sh get info 提示这个,是该怎么办

你的 replay 结束指的什么,小白一个,望解答

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up