Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15082

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

    • Type: Icon: Task Task
    • Resolution: Declined
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: tools
    • Labels:
      None

      Engineering Description

      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".

            Assignee:
            Unassigned Unassigned
            Reporter:
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 12 weeks, 1 day ago