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

mongodb start failed,encountered an illegal file format or internal value.



    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.6.8
    • None
    • WiredTiger
    • Cent OS 6
    • ALL


      Hi,My MongoDB can't start, I tried to fix it with this solution: https://superuser.com/questions/914215/mongod-start-failed-monogdb-3-0-2-database-storageengine-wiredtiger, but still failed.

      2019-05-31T12:04:16.689+0800 I CONTROL [initandlisten] MongoDB starting : pid=2225 port=27017 dbpath=/var/lib/mongo 64-bit host=
      2019-05-31T12:04:16.689+0800 I CONTROL [initandlisten] db version v3.6.8
      2019-05-31T12:04:16.690+0800 I CONTROL [initandlisten] git version: 6bc9ed599c3fa164703346a22bad17e33fa913e4
      2019-05-31T12:04:16.690+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
      2019-05-31T12:04:16.690+0800 I CONTROL [initandlisten] allocator: tcmalloc
      2019-05-31T12:04:16.690+0800 I CONTROL [initandlisten] modules: none
      2019-05-31T12:04:16.690+0800 I CONTROL [initandlisten] build environment:
      2019-05-31T12:04:16.690+0800 I CONTROL [initandlisten] distmod: rhel62
      2019-05-31T12:04:16.691+0800 I CONTROL [initandlisten] distarch: x86_64
      2019-05-31T12:04:16.691+0800 I CONTROL [initandlisten] target_arch: x86_64
      2019-05-31T12:04:16.691+0800 I CONTROL [initandlisten] options: \{ repair: true, storage: { dbPath: "/var/lib/mongo", engine: "wiredTiger" } }
      2019-05-31T12:04:16.691+0800 W - [initandlisten] Detected unclean shutdown - /var/lib/mongo/mongod.lock is not empty.
      2019-05-31T12:04:16.692+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
      2019-05-31T12:04:16.692+0800 I STORAGE [initandlisten] 
      2019-05-31T12:04:16.692+0800 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      2019-05-31T12:04:16.692+0800 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
      2019-05-31T12:04:16.693+0800 I STORAGE [initandlisten] Detected WT journal files. Running recovery from last checkpoint.
      2019-05-31T12:04:16.693+0800 I STORAGE [initandlisten] journal to nojournal transition config: create,cache_size=256M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),cache_cursors=false,compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
      2019-05-31T12:04:17.468+0800 E STORAGE [initandlisten] WiredTiger error (0) [1559275457:468398][2225:0x7f02b81ada80], file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value: (__wt_turtle_read, 333)
      2019-05-31T12:04:17.468+0800 E STORAGE [initandlisten] WiredTiger error (-31804) [1559275457:468767][2225:0x7f02b81ada80], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2019-05-31T12:04:17.468+0800 F - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 366
      2019-05-31T12:04:17.469+0800 F - [initandlisten]
      ***aborting after fassert() failure

      I attached the wiredtiger files.

      If some could help me I would be extremely grateful.
      Thank you.


        1. _mdb_catalog.wt
          36 kB
        2. mongod.log
          10 kB
        3. SERVER-41415_repair_attempt.tgz
          10 kB
        4. WiredTiger
          0.0 kB
        5. WiredTiger.lock
          0.0 kB
        6. WiredTiger.turtle
          1 kB
        7. WiredTiger.wt
          184 kB
        8. WiredTigerLAS.wt
          4 kB



            eric.sedor@mongodb.com Eric Sedor
            lyshwut lyswhut
            0 Vote for this issue
            6 Start watching this issue