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

Not able to Start or Repair Mongo Server



    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.4.9
    • None
    • WiredTiger
    • Windows
    • Hide

      mongod --repair --dbpath c:\data\db

      mongod --repair --dbpath c:\data\db


      Hello, i have a problem trying to run the mongo server, or even trying to repair, the issue was originated by a power failure, i hope you can help me

      2018-07-17T12:03:20.008-0500 I CONTROL [main] Trying to start Windows service 'MongoDB'
      2018-07-17T12:03:20.009-0500 I CONTROL [initandlisten] MongoDB starting : pid=460 port=27017 dbpath=c:/data/db 64-bit host=BasculaPTSLP
      2018-07-17T12:03:20.009-0500 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
      2018-07-17T12:03:20.009-0500 I CONTROL [initandlisten] db version v3.4.9
      2018-07-17T12:03:20.009-0500 I CONTROL [initandlisten] git version: 876ebee8c7dd0e2d992f36a848ff4dc50ee6603e
      2018-07-17T12:03:20.010-0500 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1u-fips 22 Sep 2016
      2018-07-17T12:03:20.010-0500 I CONTROL [initandlisten] allocator: tcmalloc
      2018-07-17T12:03:20.010-0500 I CONTROL [initandlisten] modules: enterprise
      2018-07-17T12:03:20.010-0500 I CONTROL [initandlisten] build environment:
      2018-07-17T12:03:20.010-0500 I CONTROL [initandlisten] distmod: windows-64
      2018-07-17T12:03:20.010-0500 I CONTROL [initandlisten] distarch: x86_64
      2018-07-17T12:03:20.010-0500 I CONTROL [initandlisten] target_arch: x86_64
      2018-07-17T12:03:20.010-0500 I CONTROL [initandlisten] options: { service: true, storage:

      { dbPath: "c:/data/db" }

      , systemLog: { destination: "file", path: "c:/data/logs/log.txt" } }
      2018-07-17T12:03:20.011-0500 I - [initandlisten] Detected data files in c:/data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2018-07-17T12:03:20.012-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1480M,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),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
      2018-07-17T12:03:21.181-0500 E STORAGE [initandlisten] WiredTiger error (0) [1531847001:181658][460:2002465664], file:WiredTiger.wt, WT_CURSOR.next: read checksum error for 20480B block at offset 81920: block header checksum of 1936024125 doesn't match expected checksum of 1413986004
      2018-07-17T12:03:21.181-0500 E STORAGE [initandlisten] WiredTiger error (0) [1531847001:181658][460:2002465664], file:WiredTiger.wt, WT_CURSOR.next: WiredTiger.wt: encountered an illegal file format or internal value
      2018-07-17T12:03:21.181-0500 E STORAGE [initandlisten] WiredTiger error (-31804) [1531847001:181658][460:2002465664], file:WiredTiger.wt, WT_CURSOR.next: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2018-07-17T12:03:21.181-0500 I - [initandlisten] Fatal Assertion 28558 at src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp 361
      2018-07-17T12:03:21.181-0500 I - [initandlisten]

      ***aborting after fassert() failure


        1. repair-attempt.tar.gz
          4 kB
        2. WiredTiger
          0.0 kB
        3. WiredTiger.turtle
          1.0 kB
        4. WiredTiger.wt
          100 kB



            nick.brewer Nick Brewer
            j_velazqueza Jorge Luis Velazquez
            0 Vote for this issue
            4 Start watching this issue