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

file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.10
    • Component/s: WiredTiger
    • Environment:
      Docker Container
    • Linux

      Dear all,
      I met a mongo problem in docker container, this wrong message is as follows, someone help me solve? Thanks

      Error Message:
      MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=2dc35ebfdd81
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] db version v3.4.10
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] allocator: tcmalloc
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] modules: none
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] build environment:
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] distmod: debian81
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] distarch: x86_64
      db_1 | 2018-03-22T13:23:21.273+0000 I CONTROL [initandlisten] target_arch: x86_64
      db_1 | 2018-03-22T13:23:21.274+0000 I CONTROL [initandlisten] options: { storage: { mmapv1:

      { smallFiles: true }

      } }
      db_1 | 2018-03-22T13:23:21.274+0000 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
      db_1 | 2018-03-22T13:23:21.296+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      db_1 | 2018-03-22T13:23:21.296+0000 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
      db_1 | 2018-03-22T13:23:21.296+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1382M,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),
      db_1 | 2018-03-22T13:23:21.302+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1521725001:302961][1:0x7f7d375bed40], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
      db_1 | 2018-03-22T13:23:21.303+0000 E STORAGE [initandlisten] WiredTiger error (0) [1521725001:303007][1:0x7f7d375bed40], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
      db_1 | 2018-03-22T13:23:21.303+0000 E STORAGE [initandlisten] WiredTiger error (0) [1521725001:303016][1:0x7f7d375bed40], file:WiredTiger.wt, connection: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
      db_1 | 2018-03-22T13:23:21.303+0000 E STORAGE [initandlisten] WiredTiger error (0) [1521725001:303023][1:0x7f7d375bed40], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options
      db_1 | 2018-03-22T13:23:21.303+0000 I - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 276
      db_1 | 2018-03-22T13:23:21.304+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating
      db_1 | 2018-03-22T13:23:21.304+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets...
      db_1 | 2018-03-22T13:23:21.304+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
      db_1 | 2018-03-22T13:23:21.304+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog...
      db_1 | 2018-03-22T13:23:21.304+0000 I CONTROL [initandlisten] now exiting
      db_1 | 2018-03-22T13:23:21.304+0000 I CONTROL [initandlisten] shutting down with code:100

        1. WiredTiger.wt
          536 kB
        2. WiredTiger.wt
          536 kB
        3. WiredTiger.turtle
          1.0 kB
        4. WiredTiger.turtle
          1.0 kB
        5. repair_attempt.tar.gz
          27 kB

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            ht trendtao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: