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

My Mongo server stopped unexpectedly. i am not able to restart it

      My server got shutdown unexpectedly. And I am not able to restart my mongo service. its showing WiredtTiger error. can some one help in starting my server. i dont have a backup of the database also. i am listing the log file here 

       

       

      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] MongoDB starting : pid=20420 port=27017 dbpath=/var/lib/mongodb 64-bit host=ip-172-31-5-216
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] db version v3.6.3
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] allocator: tcmalloc
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] modules: none
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] build environment:
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] distarch: x86_64
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] target_arch: x86_64
      2021-03-12T08:31:05.266+0000 I CONTROL [initandlisten] options: { config: "/etc/mongodb.conf", net: { bindIp: "127.0.0.1", unixDomainSocket:

      { pathPrefix: "/run/mongodb" }

      }, storage: { dbPath: "/var/lib/mongodb", journal:

      { enabled: true }

      }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongodb.log" } }
      2021-03-12T08:31:05.268+0000 I - [initandlisten] Detected data files in /var/lib/mongodb created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2021-03-12T08:31:05.268+0000 I STORAGE [initandlisten]
      2021-03-12T08:31:05.268+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      2021-03-12T08:31:05.268+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
      2021-03-12T08:31:05.268+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1430M,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),statistics_log=(wait=0),verbose=(recovery_progress),
      2021-03-12T08:31:05.813+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1615537865:813422][20420:0x7f3c644860c0], txn-recover: unsupported WiredTiger file version: this build only supports versions up to 2, and the file is version 3: WT_ERROR: non-specific WiredTiger error
      2021-03-12T08:31:05.813+0000 E STORAGE [initandlisten] WiredTiger error (0) [1615537865:813475][20420:0x7f3c644860c0], txn-recover: WiredTiger is unable to read the recovery log.
      2021-03-12T08:31:05.813+0000 E STORAGE [initandlisten] WiredTiger error (0) [1615537865:813482][20420:0x7f3c644860c0], txn-recover: This may be due to the log files being encrypted, being from an older version or due to corruption on disk
      2021-03-12T08:31:05.813+0000 E STORAGE [initandlisten] WiredTiger error (0) [1615537865:813489][20420:0x7f3c644860c0], txn-recover: You should confirm that you have opened the database with the correct options including all encryption and compression options
      2021-03-12T08:31:05.813+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1615537865:813497][20420:0x7f3c644860c0], txn-recover: Recovery failed: WT_ERROR: non-specific WiredTiger error
      2021-03-12T08:31:05.816+0000 E - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 413
      2021-03-12T08:31:05.816+0000 I STORAGE [initandlisten] exception in initAndListen: Location28595: -31802: WT_ERROR: non-specific WiredTiger error, terminating
      2021-03-12T08:31:05.816+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets...
      2021-03-12T08:31:05.816+0000 I NETWORK [initandlisten] removing socket file: /run/mongodb/mongodb-27017.sock
      2021-03-12T08:31:05.816+0000 I CONTROL [initandlisten] now exiting
      2021-03-12T08:31:05.816+0000 I CONTROL [initandlisten] shutting down with code:100

        1. mongolog.tar.gz
          1.10 MB
          k srinivasan

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            ksrinivasan@xperiolabs.com k srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: