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

Not able restart MongoDB service after stopped

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.12
    • Component/s: WiredTiger
    • None
    • ALL

      We tried to re-start mongo db service and it is not restarting which seems like the WiredTiger.wt file got corrupted which we are not able to recover. Below is the error stack;

       

      root@ip-172-31-26-92:/data# mongod
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] MongoDB starting : pid=23951 port=27017 dbpath=/data/db 64-bit host=ip-172-31-26-92
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] db version v3.2.12
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] git version: ef3e1bc78e997f0d9f22f45aeb1d8e3b6ac14a14
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] allocator: tcmalloc
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] modules: none
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] build environment:
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] distmod: ubuntu1604
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] distarch: x86_64
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] target_arch: x86_64
      2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] options: {}
      2018-10-23T10:31:07.800+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2018-10-23T10:31:07.800+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1G,session_max=20000,eviction=(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),
      2018-10-23T10:31:07.806+0000 E STORAGE [initandlisten] WiredTiger (-31802) [1540290667:806369][23951:0x7faaa92bdc80], file:WiredTiger.wt, connection: /data/db/WiredTiger.wt: handle-read: pread: failed to read 4096 bytes at offset 45056: WT_ERROR: non-specific WiredTiger error
      2018-10-23T10:31:07.806+0000 I - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error
      2018-10-23T10:31:07.806+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating
      2018-10-23T10:31:07.806+0000 I CONTROL [initandlisten] dbexit: rc: 100

        1. WiredTiger
          0.0 kB
        2. WiredTiger.lock
          0.0 kB
        3. WiredTiger.turtle
          1.0 kB
        4. log.txt
          2 kB
        5. storage.bson
          0.1 kB
        6. WiredTiger.wt
          44 kB
        7. WiredTiger.wt.1
          148 kB
        8. WiredTigerLAS.wt
          4 kB
        9. sizeStorer.wt
          36 kB
        10. wiredtiger.tar
          2 kB

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            waqashq Waqas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: