HELP!!
Would anyone be kind enough to shed some light on how I might go about resolving this DB error.
I noticed whilst downloading the blockchain (output from moenrod) that we had stopped @ 20:57 / Block 1347628.
I decided to reboot as the server had completely crashed.
After I realised that the controller/hard disk had fallen over, I restarted but it refused 3 times on the trot.
I'm guessing that as the last entry in the log before that block of corrupt data (....±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ.....) is 20:56 / Block 1347408, that the data I saw from monerod (blocks 1347408 to 1347628) was the last amount of data the server had in memory before it simply couldn't write it to the hd.
I have pasted the relevant bits below. Any help would be greatly appreciated!
2018-02-22 20:56:28.076 [P2P6] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:1154 [1;33m[144.76.67.70:18080 OUT] Synced 1347368/1515381[0m
2018-02-22 20:56:29.720 [P2P6] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:1154 [1;33m[144.76.67.70:18080 OUT] Synced 1347388/1515381[0m
2018-02-22 20:56:31.987 [P2P6] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:1154 [1;33m[144.76.67.70:18080 OUT] Synced 1347408/1515381[0m
2018-02-22 20:56:34.927 [P2P6] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:1154 [1;33m[144.76.67.70:18080 OUT] Synced 134FÜýÕ§¡b#–¶óòüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦]Cê±ÏüÞ¶o@¬Æ¦2018-02-22 22:21:01.094 7f9f7b325740 INFO logging contrib/epee/src/mlog.cpp:148 New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO
2018-02-22 22:21:01.100 7f9f7b325740 INFO global src/daemon/main.cpp:279 Monero 'Helium Hydra' (v0.11.1.0-release)
2018-02-22 22:21:01.105 7f9f7b325740 INFO global src/daemon/protocol.h:55 Initializing cryptonote protocol...
2018-02-22 22:21:01.105 7f9f7b325740 INFO global src/daemon/protocol.h:60 Cryptonote protocol initialized OK
2018-02-22 22:21:01.129 7f9f7b325740 INFO global src/daemon/p2p.h:63 Initializing p2p server...
2018-02-22 22:21:12.343 7f9f7b325740 INFO global src/daemon/p2p.h:68 P2p server initialized OK
2018-02-22 22:21:12.362 7f9f7b325740 INFO global src/daemon/rpc.h:58 Initializing core rpc server...
2018-02-22 22:21:12.372 7f9f7b325740 INFO global contrib/epee/include/net/http_server_impl_base.h:70 Binding on 127.0.0.1:18081
2018-02-22 22:21:12.381 7f9f7b325740 INFO global src/daemon/rpc.h:63 Core rpc server initialized OK on port: 18081
2018-02-22 22:21:12.381 7f9f7b325740 INFO global src/daemon/core.h:73 Initializing core...
2018-02-22 22:21:12.445 7f9f7b325740 INFO global src/cryptonote_core/cryptonote_core.cpp:323 Loading blockchain from folder /home/toda/.bitmonero/lmdb ...
2018-02-22 22:21:12.517 7f9f7b325740 WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:72 Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2018-02-22 22:21:12.534 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:120 Exception: cryptonote::DB_ERROR
2018-02-22 22:21:12.534 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:121 Unwound call stack:
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [1] ./monerod:__wrap___cxa_throw+0x102 [0x8914e2]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [2] ./monerod() [0x7c8a24]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [3] ./monerod:cryptonote::BlockchainLMDB::open(std::__cxx11::basic_string
, std::allocator > const&, int)+0x1b26 [0x7f1df6]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [4] ./monerod:cryptonote::core::init(boost::program_options::variables_map const&, cryptonote::test_options const*)+0xc69 [0x8341a9]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [5] ./monerod:daemonize::t_daemon::run(bool)+0x1e0 [0x63cd10]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [6] ./monerod:daemonize::t_executor::run_interactive(boost::program_options::variables_map const&)+0x2a [0x73f91a]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [7] ./monerod:bool daemonizer::daemonize(int, char const**, daemonize::t_executor&&, boost::program_options::variables_map const&)+0x18c [0x741d4c]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [8] ./monerod:main+0x14b7 [0x611bc7]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [9] /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main+0xf0 [0x7f9f7a64a830]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [10] ./monerod:_start+0x29 [0x619389]
2018-02-22 22:21:12.645 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159
2018-02-22 22:21:12.672 7f9f7b325740 ERROR cn src/cryptonote_core/cryptonote_core.cpp:399 Error opening database: Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2018-02-22 22:21:12.673 7f9f7b325740 INFO global src/daemon/rpc.h:90 Deinitializing rpc server...
2018-02-22 22:21:12.678 7f9f7b325740 INFO global src/daemon/p2p.h:90 Deinitializing p2p...
2018-02-22 22:21:12.693 7f9f7b325740 INFO global src/daemon/core.h:89 Deinitializing core...
2018-02-22 22:21:12.703 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:120 Exception: cryptonote::DB_ERROR*
2018-02-22 22:21:12.703 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:121 Unwound call stack:
2018-02-22 22:21:12.764 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [1] ./monerod:__wrap___cxa_throw+0x102 [0x8914e2]
2018-02-22 22:21:12.764 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [2] ./monerod:cryptonote::Blockchain::deinit()+0x496 [0x7fe036]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [3] ./monerod:cryptonote::core::deinit()+0x25 [0x82af75]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [4] ./monerod:daemonize::t_core::~t_core()+0xcb [0x65a6eb]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [5] ./monerod:daemonize::t_daemon::~t_daemon()+0xf7 [0x63b7a7]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [6] ./monerod:daemonize::t_executor::run_interactive(boost::program_options::variables_map const&)+0x34 [0x73f924]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [7] ./monerod:bool daemonizer::daemonize(int, char const**, daemonize::t_executor&&, boost::program_options::variables_map const&)+0x18c [0x741d4c]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [8] ./monerod:main+0x14b7 [0x611bc7]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [9] /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main+0xf0 [0x7f9f7a64a830]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159 [10] ./monerod:_start+0x29 [0x619389]
2018-02-22 22:21:12.765 7f9f7b325740 INFO stacktrace src/common/stack_trace.cpp:159
2018-02-22 22:21:12.775 7f9f7b325740 ERROR daemon src/daemon/core.h:94 Failed to deinitialize core...
2018-02-22 22:21:12.775 7f9f7b325740 INFO global src/daemon/protocol.h:77 Stopping cryptonote protocol...
2018-02-22 22:21:12.775 7f9f7b325740 INFO global src/daemon/protocol.h:81 Cryptonote protocol stopped successfully
2018-02-22 22:21:34.238 7f4226e98740 INFO logging contrib/epee/src/mlog.cpp:148 New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO
2018-02-22 22:21:34.238 7f4226e98740 INFO global src/daemon/main.cpp:279 Monero 'Helium Hydra' (v0.11.1.0-release)
2018-02-22 22:21:34.238 7f4226e98740 INFO global src/daemon/protocol.h:55 Initializing cryptonote protocol...
2018-02-22 22:21:34.238 7f4226e98740 INFO global src/daemon/protocol.h:60 Cryptonote protocol initialized OK
2018-02-22 22:21:34.239 7f4226e98740 INFO global src/daemon/p2p.h:63 Initializing p2p server...
2018-02-22 22:21:45.930 7f4226e98740 INFO global src/daemon/p2p.h:68 P2p server initialized OK
2018-02-22 22:21:45.930 7f4226e98740 INFO global src/daemon/rpc.h:58 Initializing core rpc server...
2018-02-22 22:21:45.930 7f4226e98740 INFO global contrib/epee/include/net/http_server_impl_base.h:70 Binding on 127.0.0.1:18081
2018-02-22 22:21:45.930 7f4226e98740 INFO global src/daemon/rpc.h:63 Core rpc server initialized OK on port: 18081
2018-02-22 22:21:45.930 7f4226e98740 INFO global src/daemon/core.h:73 Initializing core...
2018-02-22 22:21:45.931 7f4226e98740 INFO global src/cryptonote_core/cryptonote_core.cpp:323 Loading blockchain from folder /home/toda/.bitmonero/lmdb ...
2018-02-22 22:21:45.931 7f4226e98740 WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:72 Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2018-02-22 22:21:45.931 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:120 Exception: cryptonote::DB_ERROR
2018-02-22 22:21:45.931 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:121 Unwound call stack:
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [1] ./monerod:__wrap___cxa_throw+0x102 [0x8914e2]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [2] ./monerod() [0x7c8a24]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [3] ./monerod:cryptonote::BlockchainLMDB::open(std::__cxx11::basic_string, std::allocator > const&, int)+0x1b26 [0x7f1df6]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [4] ./monerod:cryptonote::core::init(boost::program_options::variables_map const&, cryptonote::test_options const*)+0xc69 [0x8341a9]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [5] ./monerod:daemonize::t_daemon::run(bool)+0x1e0 [0x63cd10]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [6] ./monerod:daemonize::t_executor::run_interactive(boost::program_options::variables_map const&)+0x2a [0x73f91a]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [7] ./monerod:bool daemonizer::daemonize(int, char const**, daemonize::t_executor&&, boost::program_options::variables_map const&)+0x18c [0x741d4c]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [8] ./monerod:main+0x14b7 [0x611bc7]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [9] /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main+0xf0 [0x7f42261bd830]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [10] ./monerod:_start+0x29 [0x619389]
2018-02-22 22:21:45.935 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159
2018-02-22 22:21:45.935 7f4226e98740 ERROR cn src/cryptonote_core/cryptonote_core.cpp:399 Error opening database: Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2018-02-22 22:21:45.936 7f4226e98740 INFO global src/daemon/rpc.h:90 Deinitializing rpc server...
2018-02-22 22:21:45.936 7f4226e98740 INFO global src/daemon/p2p.h:90 Deinitializing p2p...
2018-02-22 22:21:45.941 7f4226e98740 INFO global src/daemon/core.h:89 Deinitializing core...
2018-02-22 22:21:45.941 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:120 Exception: cryptonote::DB_ERROR*
2018-02-22 22:21:45.941 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:121 Unwound call stack:
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [1] ./monerod:__wrap___cxa_throw+0x102 [0x8914e2]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [2] ./monerod:cryptonote::Blockchain::deinit()+0x496 [0x7fe036]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [3] ./monerod:cryptonote::core::deinit()+0x25 [0x82af75]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [4] ./monerod:daemonize::t_core::~t_core()+0xcb [0x65a6eb]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [5] ./monerod:daemonize::t_daemon::~t_daemon()+0xf7 [0x63b7a7]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [6] ./monerod:daemonize::t_executor::run_interactive(boost::program_options::variables_map const&)+0x34 [0x73f924]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [7] ./monerod:bool daemonizer::daemonize(int, char const**, daemonize::t_executor&&, boost::program_options::variables_map const&)+0x18c [0x741d4c]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [8] ./monerod:main+0x14b7 [0x611bc7]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [9] /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main+0xf0 [0x7f42261bd830]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159 [10] ./monerod:_start+0x29 [0x619389]
2018-02-22 22:21:45.945 7f4226e98740 INFO stacktrace src/common/stack_trace.cpp:159
2018-02-22 22:21:45.945 7f4226e98740 ERROR daemon src/daemon/core.h:94 Failed to deinitialize core...
2018-02-22 22:21:45.946 7f4226e98740 INFO global src/daemon/protocol.h:77 Stopping cryptonote protocol...
2018-02-22 22:21:45.946 7f4226e98740 INFO global src/daemon/protocol.h:81 Cryptonote protocol stopped successfully
2018-02-22 22:22:23.980 7f5241203740 INFO logging contrib/epee/src/mlog.cpp:148 New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO
2018-02-22 22:22:23.980 7f5241203740 INFO global src/daemon/main.cpp:279 Monero 'Helium Hydra' (v0.11.1.0-release)
2018-02-22 22:22:23.981 7f5241203740 INFO global src/daemon/protocol.h:55 Initializing cryptonote protocol...
2018-02-22 22:22:23.981 7f5241203740 INFO global src/daemon/protocol.h:60 Cryptonote protocol initialized OK
2018-02-22 22:22:23.981 7f5241203740 INFO global src/daemon/p2p.h:63 Initializing p2p server...
2018-02-22 22:22:30.244 7f5241203740 INFO global src/daemon/p2p.h:68 P2p server initialized OK
2018-02-22 22:22:30.244 7f5241203740 INFO global src/daemon/rpc.h:58 Initializing core rpc server...
2018-02-22 22:22:30.244 7f5241203740 INFO global contrib/epee/include/net/http_server_impl_base.h:70 Binding on 127.0.0.1:18081
2018-02-22 22:22:30.244 7f5241203740 INFO global src/daemon/rpc.h:63 Core rpc server initialized OK on port: 18081
2018-02-22 22:22:30.244 7f5241203740 INFO global src/daemon/core.h:73 Initializing core...
2018-02-22 22:22:30.245 7f5241203740 INFO global src/cryptonote_core/cryptonote_core.cpp:323 Loading blockchain from folder /home/toda/.bitmonero/lmdb ...
2018-02-22 22:22:30.245 7f5241203740 WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:72 Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2018-02-22 22:22:30.246 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:120 Exception: cryptonote::DB_ERROR
2018-02-22 22:22:30.246 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:121 Unwound call stack:
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [1] ./monerod:__wrap___cxa_throw+0x102 [0x8914e2]
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [2] ./monerod() [0x7c8a24]
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [3] ./monerod:cryptonote::BlockchainLMDB::open(std::__cxx11::basic_string, std::allocator > const&, int)+0x1b26 [0x7f1df6]
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [4] ./monerod:cryptonote::core::init(boost::program_options::variables_map const&, cryptonote::test_options const*)+0xc69 [0x8341a9]
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [5] ./monerod:daemonize::t_daemon::run(bool)+0x1e0 [0x63cd10]
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [6] ./monerod:daemonize::t_executor::run_interactive(boost::program_options::variables_map const&)+0x2a [0x73f91a]
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [7] ./monerod:bool daemonizer::daemonize(int, char const**, daemonize::t_executor&&, boost::program_options::variables_map const&)+0x18c [0x741d4c]
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [8] ./monerod:main+0x14b7 [0x611bc7]
2018-02-22 22:22:30.249 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [9] /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main+0xf0 [0x7f5240528830]
2018-02-22 22:22:30.250 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [10] ./monerod:_start+0x29 [0x619389]
2018-02-22 22:22:30.250 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159
2018-02-22 22:22:30.250 7f5241203740 ERROR cn src/cryptonote_core/cryptonote_core.cpp:399 Error opening database: Failed to query m_blocks: MDB_BAD_TXN: Transaction must abort, has a child, or is invalid
2018-02-22 22:22:30.250 7f5241203740 INFO global src/daemon/rpc.h:90 Deinitializing rpc server...
2018-02-22 22:22:30.250 7f5241203740 INFO global src/daemon/p2p.h:90 Deinitializing p2p...
2018-02-22 22:22:30.255 7f5241203740 INFO global src/daemon/core.h:89 Deinitializing core...
2018-02-22 22:22:30.255 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:120 Exception: cryptonote::DB_ERROR*
2018-02-22 22:22:30.255 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:121 Unwound call stack:
2018-02-22 22:22:30.258 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [1] ./monerod:__wrap___cxa_throw+0x102 [0x8914e2]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [2] ./monerod:cryptonote::Blockchain::deinit()+0x496 [0x7fe036]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [3] ./monerod:cryptonote::core::deinit()+0x25 [0x82af75]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [4] ./monerod:daemonize::t_core::~t_core()+0xcb [0x65a6eb]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [5] ./monerod:daemonize::t_daemon::~t_daemon()+0xf7 [0x63b7a7]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [6] ./monerod:daemonize::t_executor::run_interactive(boost::program_options::variables_map const&)+0x34 [0x73f924]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [7] ./monerod:bool daemonizer::daemonize(int, char const**, daemonize::t_executor&&, boost::program_options::variables_map const&)+0x18c [0x741d4c]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [8] ./monerod:main+0x14b7 [0x611bc7]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [9] /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main+0xf0 [0x7f5240528830]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159 [10] ./monerod:_start+0x29 [0x619389]
2018-02-22 22:22:30.259 7f5241203740 INFO stacktrace src/common/stack_trace.cpp:159
2018-02-22 22:22:30.259 7f5241203740 ERROR daemon src/daemon/core.h:94 Failed to deinitialize core...
2018-02-22 22:22:30.260 7f5241203740 INFO global src/daemon/protocol.h:77 Stopping cryptonote protocol...
2018-02-22 22:22:30.260 7f5241203740 INFO global src/daemon/protocol.h:81 Cryptonote protocol stopped successfully