Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41449

WiredTiger error (-31804)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.6.3
    • None
    • WiredTiger
    • ALL

    Description

      Hi! My mongoDB can not  start after my computer suddenly loses power, and I have no idea how to fix it, when I tried to restart it, the error appears:

      2019-06-01T14:26:02.393+0800 I CONTROL [main] ***** SERVER RESTARTED *****
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] MongoDB starting : pid=3768 port=27017 dbpath=D:\MongoDB\data 64-bit host=zzq-PC
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] db version v3.6.3
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1u-fips 22 Sep 2016
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] allocator: tcmalloc
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] modules: none
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] build environment:
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] distmod: 2008plus-ssl
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] distarch: x86_64
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] target_arch: x86_64
      2019-06-01T14:26:04.250+0800 I CONTROL [initandlisten] options: { config: "C:\Program Files\MongoDB\Server\3.6\config\mongod.cfg", net:

      { bindIp: "0.0.0.0", port: 27017 }

      , processManagement: { windowsService:

      { description: "Hahahaaa,MongoDB!", displayName: "MongoDB Service", serviceName: "MongoDB" }

      }, storage: { dbPath: "D:\MongoDB\data", directoryPerDB: true, wiredTiger: { engineConfig:

      { cacheSizeGB: 4.0 }

      } }, systemLog: { destination: "file", logAppend: true, path: "D:\MongoDB\logs\mongo.log" } }
      2019-06-01T14:26:04.251+0800 W - [initandlisten] Detected unclean shutdown - D:\MongoDB\data\mongod.lock is not empty.
      2019-06-01T14:26:04.251+0800 I - [initandlisten] Detected data files in D:\MongoDB\data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2019-06-01T14:26:04.251+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
      2019-06-01T14:26:04.252+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=4096M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
      2019-06-01T14:26:04.265+0800 E STORAGE [initandlisten] WiredTiger error (0) [1559370364:265216][3768:2001878752], file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value: (__wt_turtle_read, 291)
      2019-06-01T14:26:04.265+0800 E STORAGE [initandlisten] WiredTiger error (-31804) [1559370364:265216][3768:2001878752], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2019-06-01T14:26:04.265+0800 F - [initandlisten] Fatal Assertion 28558 at src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp 361
      2019-06-01T14:26:04.265+0800 F - [initandlisten]

      ***aborting after fassert() failure

      2019-06-01T14:26:04.588+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\util\stacktrace_windows.cpp(244) mongo::printStackTrace+0x67x
      2019-06-01T14:26:04.589+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\util\signal_handlers_synchronous.cpp(182) mongo::`anonymous namespace'::printSignalAndBacktrace+0x116x
      2019-06-01T14:26:04.589+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\util\signal_handlers_synchronous.cpp(238) mongo::`anonymous namespace'::abruptQuit+0x133x
      2019-06-01T14:26:04.589+0800 I CONTROL [initandlisten] ucrtbase.DLL raise+0x488x
      2019-06-01T14:26:04.591+0800 I CONTROL [initandlisten] ucrtbase.DLL abort+0x49x
      2019-06-01T14:26:04.591+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\util\assert_util.cpp(148) mongo::fassertFailedWithLocation+0x385x
      2019-06-01T14:26:04.591+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp(361) mongo::`anonymous namespace'::mdb_handle_error+0x332x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\support\err.c(277) __eventv+0x897x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\support\err.c(330) __wt_err+0x50x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\support\err.c(578) __wt_illegal_value_func+0x126x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\meta\meta_turtle.c(291) __wt_turtle_read+0x719x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\meta\meta_table.c(281) __wt_metadata_search+0x663x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\conn\conn_dhandle.c(48) __conn_dhandle_config_set+0x34x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\conn\conn_dhandle.c(437) __wt_conn_dhandle_open+0x117x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_dhandle.c(546) __wt_session_get_dhandle+0x278x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_dhandle.c(538) __wt_session_get_dhandle+0x475x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_dhandle.c(351) __wt_session_get_btree_ckpt+0x196x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\cursor\cur_file.c(692) __wt_curfile_open+0x441x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_api.c(389) __session_open_cursor_int+0x759x
      2019-06-01T14:26:04.592+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_api.c(444) __wt_open_cursor+0x27x
      2019-06-01T14:26:04.593+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\meta\meta_table.c(92) __wt_metadata_cursor+0x153x
      2019-06-01T14:26:04.593+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\conn\conn_api.c(2676) wiredtiger_open+0x3050x
      2019-06-01T14:26:04.593+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\storage\wiredtiger\wiredtiger_kv_engine.cpp(409) mongo::WiredTigerKVEngine::WiredTigerKVEngine+0x2490x
      2019-06-01T14:26:04.593+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\storage\wiredtiger\wiredtiger_init.cpp(91) mongo::`anonymous namespace'::WiredTigerFactory::create+0x296x
      2019-06-01T14:26:04.593+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\service_context_d.cpp(202) mongo::ServiceContextMongoD::initializeGlobalStorageEngine+0x1362x
      2019-06-01T14:26:04.593+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(745) mongo::`anonymous namespace'::_initAndListen+0x1716x
      2019-06-01T14:26:04.593+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(1051) mongo::`anonymous namespace'::initAndListen+0x39x
      2019-06-01T14:26:04.593+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(1404) mongo::mongoDbMain+0x414x
      2019-06-01T14:26:04.594+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\dbmain.cpp(45) wmain+0x53x
      2019-06-01T14:26:04.594+0800 I CONTROL [initandlisten] mongod.exe f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(253) __scrt_common_main_seh+0x285x
      2019-06-01T14:26:04.594+0800 I CONTROL [initandlisten] kernel32.dll BaseThreadInitThunk+0x13x
      2019-06-01T14:26:04.594+0800 F - [initandlisten] Got signal: 22 (SIGABRT).
      2019-06-01T14:26:04.594+0800 I CONTROL [initandlisten] *** unhandled exception 0x0000000E at 0x000007FEFD7FA49D, terminating
      2019-06-01T14:26:04.594+0800 I CONTROL [initandlisten] *** stack trace for unhandled exception:
      2019-06-01T14:26:04.629+0800 I CONTROL [initandlisten] KERNELBASE.dll RaiseException+0x61x
      2019-06-01T14:26:04.629+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\util\signal_handlers_synchronous.cpp(239) mongo::`anonymous namespace'::abruptQuit+0x157x
      2019-06-01T14:26:04.629+0800 I CONTROL [initandlisten] ucrtbase.DLL raise+0x488x
      2019-06-01T14:26:04.629+0800 I CONTROL [initandlisten] ucrtbase.DLL abort+0x49x
      2019-06-01T14:26:04.629+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\util\assert_util.cpp(148) mongo::fassertFailedWithLocation+0x385x
      2019-06-01T14:26:04.629+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp(361) mongo::`anonymous namespace'::mdb_handle_error+0x332x
      2019-06-01T14:26:04.629+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\support\err.c(277) __eventv+0x897x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\support\err.c(330) __wt_err+0x50x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\support\err.c(578) __wt_illegal_value_func+0x126x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\meta\meta_turtle.c(291) __wt_turtle_read+0x719x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\meta\meta_table.c(281) __wt_metadata_search+0x663x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\conn\conn_dhandle.c(48) __conn_dhandle_config_set+0x34x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\conn\conn_dhandle.c(437) __wt_conn_dhandle_open+0x117x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_dhandle.c(546) __wt_session_get_dhandle+0x278x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_dhandle.c(538) __wt_session_get_dhandle+0x475x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_dhandle.c(351) __wt_session_get_btree_ckpt+0x196x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\cursor\cur_file.c(692) __wt_curfile_open+0x441x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_api.c(389) __session_open_cursor_int+0x759x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\session\session_api.c(444) __wt_open_cursor+0x27x
      2019-06-01T14:26:04.630+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\meta\meta_table.c(92) __wt_metadata_cursor+0x153x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe ...\src\third_party\wiredtiger\src\conn\conn_api.c(2676) wiredtiger_open+0x3050x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\storage\wiredtiger\wiredtiger_kv_engine.cpp(409) mongo::WiredTigerKVEngine::WiredTigerKVEngine+0x2490x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\storage\wiredtiger\wiredtiger_init.cpp(91) mongo::`anonymous namespace'::WiredTigerFactory::create+0x296x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\service_context_d.cpp(202) mongo::ServiceContextMongoD::initializeGlobalStorageEngine+0x1362x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(745) mongo::`anonymous namespace'::_initAndListen+0x1716x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(1051) mongo::`anonymous namespace'::initAndListen+0x39x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(1404) mongo::mongoDbMain+0x414x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe ...\src\mongo\db\dbmain.cpp(45) wmain+0x53x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] mongod.exe f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(253) __scrt_common_main_seh+0x285x
      2019-06-01T14:26:04.631+0800 I CONTROL [initandlisten] kernel32.dll BaseThreadInitThunk+0x13x
      2019-06-01T14:26:04.631+0800 I - [initandlisten]
      2019-06-01T14:26:04.632+0800 I CONTROL [initandlisten] failed to open minidump file C:\Program Files\MongoDB\Server\3.2019-06-01T06-26-04.mdmp : 拒绝访问。
      2019-06-01T14:26:04.632+0800 I CONTROL [initandlisten] *** immediate exit due to unhandled exception

       I have uploaded the WiredTiger related files in attachment.

       

      Attachments

        1. mongo.log
          56.06 MB
        2. SERVER-41449_repair_attempt.tgz
          3.64 MB
        3. WiredTiger.turtle
          1 kB
        4. WiredTiger.wt
          65.05 MB

        Activity

          People

            eric.sedor@mongodb.com Eric Sedor
            zzqxztc Zhu Zi Qing
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: