Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3036

My MongoDB not working properly: WT_ERROR: non-specific WiredTiger error

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.8
    • Component/s: None
    • Environment:
      Linux+Nginx+MinIO+PM2+MongoDB
    • Needed

      Problem Statement/Rationale

      My mongodb failed to start normally after I restarted the server, and prompted me that there was an error on something called wiredtiger. My project is built on PM2. This project is very urgent, so I hope someone can help me fix this problem.

       

       

      Additional Notes

      1|mongodb | 2022-01-31T14:44:47.416+0800 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      1|mongodb | 2022-01-31T14:44:47.416+0800 I STORAGE [initandlisten]
      1|mongodb | 2022-01-31T14:44:47.416+0800 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      1|mongodb | 2022-01-31T14:44:47.416+0800 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
      1|mongodb | 2022-01-31T14:44:47.416+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3212M,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),
      1|mongodb | 2022-01-31T14:44:47.929+0800 E STORAGE [initandlisten] WiredTiger error (-31802) [1643611487:929417][176701:0x7f29f063cf40], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
      1|mongodb | 2022-01-31T14:44:47.929+0800 E STORAGE [initandlisten] WiredTiger error (0) [1643611487:929483][176701:0x7f29f063cf40], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
      1|mongodb | 2022-01-31T14:44:47.929+0800 E STORAGE [initandlisten] WiredTiger error (0) [1643611487:929491][176701:0x7f29f063cf40], 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
      1|mongodb | 2022-01-31T14:44:47.929+0800 E STORAGE [initandlisten] WiredTiger error (0) [1643611487:929498][176701:0x7f29f063cf40], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options
      1|mongodb | 2022-01-31T14:44:47.930+0800 E - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 421
      1|mongodb | 2022-01-31T14:44:47.930+0800 I STORAGE [initandlisten] exception in initAndListen: Location28595: -31802: WT_ERROR: non-specific WiredTiger error, terminating
      1|mongodb | 2022-01-31T14:44:47.930+0800 I NETWORK [initandlisten] shutdown: going to close listening sockets...
      1|mongodb | 2022-01-31T14:44:47.930+0800 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
      1|mongodb | 2022-01-31T14:44:47.930+0800 I CONTROL [initandlisten] now exiting
      1|mongodb | 2022-01-31T14:44:47.930+0800 I CONTROL [initandlisten] shutting down with code:100

      I put the other important documents in the "attachment".

        1. WT_ERROR.tar.gz
          15 kB
          时雨 宋

            Assignee:
            Unassigned Unassigned
            Reporter:
            3214765396@qq.com 时雨 宋
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: