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

mongod doesn't start after install v3.4

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

      I am using Ubuntu 14.04. I recently uninstalled MongoDB 3.2 then I installed 3.4 version but now mongod doesn't start

      From syslog

      Mar 23 21:06:49 len-del kernel: [ 2193.146170] init: mongod main process (9131) killed by ABRT signal
      

      From /var/log/mongodb/mongod.log

      2017-03-23T21:24:47.410-0400 I CONTROL  [main] ***** SERVER RESTARTED *****
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten] MongoDB starting : pid=9857 port=28017 dbpath=/var/lib/mongodb 64-bit host=len-del
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten] db version v3.4.2
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten] git version: 3f76e40c105fc223b3e5aac3e20dcd026b83b38b
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten] allocator: tcmalloc
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten] modules: none
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten] build environment:
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten]     distmod: ubuntu1404
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten]     distarch: x86_64
      2017-03-23T21:24:47.418-0400 I CONTROL  [initandlisten]     target_arch: x86_64
      2017-03-23T21:24:47.419-0400 I CONTROL  [initandlisten] options: { config: "/etc/mongod.conf", net: { bindIp: "127.0.0.1", port: 28017 }, storage: { dbPath: "/var/lib/mongodb", journal: { enabled: false } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongod.log" } }
      2017-03-23T21:24:47.440-0400 I STORAGE  [initandlisten] 
      2017-03-23T21:24:47.440-0400 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      2017-03-23T21:24:47.440-0400 I STORAGE  [initandlisten] **          See http://dochub.mongodb.org/core/prodnotes-filesystem
      2017-03-23T21:24:47.440-0400 I STORAGE  [initandlisten] Detected WT journal files.  Running recovery from last checkpoint.
      2017-03-23T21:24:47.440-0400 I STORAGE  [initandlisten] journal to nojournal transition config: create,cache_size=2941M,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),
      2017-03-23T21:24:47.483-0400 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=2941M,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),,log=(enabled=false),
      2017-03-23T21:24:47.513-0400 E STORAGE  [initandlisten] WiredTiger error (2) [1490318687:513873][9857:0x7f7a2b1f0d00], file:sizeStorer.wt, WT_SESSION.open_cursor: /var/lib/mongodb/sizeStorer.wt: handle-open: open: No such file or directory
      2017-03-23T21:24:47.514-0400 E STORAGE  [initandlisten] WiredTiger error (2) [1490318687:514594][9857:0x7f7a2b1f0d00], file:sizeStorer.wt, WT_SESSION.open_cursor: /var/lib/mongodb/sizeStorer.wt: handle-open: open: No such file or directory
      2017-03-23T21:24:47.514-0400 I -        [initandlisten] Invariant failure: ret resulted in status UnknownError: 2: No such file or directory at src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.cpp 69
      2017-03-23T21:24:47.514-0400 I -        [initandlisten] 
      
      ***aborting after invariant() failure
      
      
      2017-03-23T21:24:47.529-0400 F -        [initandlisten] Got signal: 6 (Aborted).
      
       0x55ebd1a87c71 0x55ebd1a86d69 0x55ebd1a8724d 0x7f7a29e85330 0x7f7a29ae3c37 0x7f7a29ae7028 0x55ebd0d0fad9 0x55ebd17915df 0x55ebd1779f16 0x55ebd1772795 0x55ebd1660ed7 0x55ebd0cfb4b9 0x55ebd0d1b634 0x7f7a29acef45 0x55ebd0d792ff
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"55EBD04FE000","o":"1589C71","s":"_ZN5mongo15printStackTraceERSo"},{"b":"55EBD04FE000","o":"1588D69"},{"b":"55EBD04FE000","o":"158924D"},{"b":"7F7A29E75000","o":"10330"},{"b":"7F7A29AAD000","o":"36C37","s":"gsignal"},{"b":"7F7A29AAD000","o":"3A028","s":"abort"},{"b":"55EBD04FE000","o":"811AD9","s":"_ZN5mongo25fassertFailedWithLocationEiPKcj"},{"b":"55EBD04FE000","o":"12935DF","s":"_ZN5mongo20WiredTigerSizeStorerC1EP15__wt_connectionRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"},{"b":"55EBD04FE000","o":"127BF16","s":"_ZN5mongo18WiredTigerKVEngineC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_11ClockSourceES8_mbbbb"},{"b":"55EBD04FE000","o":"1274795"},{"b":"55EBD04FE000","o":"1162ED7","s":"_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv"},{"b":"55EBD04FE000","o":"7FD4B9"},{"b":"55EBD04FE000","o":"81D634","s":"main"},{"b":"7F7A29AAD000","o":"21F45","s":"__libc_start_main"},{"b":"55EBD04FE000","o":"87B2FF"}],"processInfo":{ "mongodbVersion" : "3.4.2", "gitVersion" : "3f76e40c105fc223b3e5aac3e20dcd026b83b38b", "compiledModules" : [], "uname" : { "sysname" : "Linux", "release" : "4.4.0-66-generic", "version" : "#87~14.04.1-Ubuntu SMP Fri Mar 3 17:32:36 UTC 2017", "machine" : "x86_64" }, "somap" : [ { "b" : "55EBD04FE000", "elfType" : 3, "buildId" : "E552640C972C875823DA5B65EF04F4A73944B57C" }, { "b" : "7FFFC6BAC000", "elfType" : 3, "buildId" : "197F6C12C6716166BA048BA77663B802540EBF92" }, { "b" : "7F7A2AD97000", "path" : "/lib/x86_64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "48A664AE6B0B4918A3EB0156C6364C4F084232FD" }, { "b" : "7F7A2A9BB000", "path" : "/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "6B8997EA892A7FF37AC8CAA8F239D595251889BB" }, { "b" : "7F7A2A7B3000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "1EEBA762A6A2C8884D56033EE8CCE79B95CD974D" }, { "b" : "7F7A2A5AF000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "D0F881E59FF88BE4F29A228C8657376B3C325C2C" }, { "b" : "7F7A2A2A9000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "1654CB13B1D24ED03F4BDCB51FC7524B9181A771" }, { "b" : "7F7A2A093000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "36311B4457710AE5578C4BF00791DED7359DBB92" }, { "b" : "7F7A29E75000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "22F9078CFA529CCE1A814A4A1A1C018F169D5652" }, { "b" : "7F7A29AAD000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "CA5C6CFE528AF541C3C2C15CEE4B3C74DA4E2FB4" }, { "b" : "7F7A2AFF6000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "237E22E5AAC2DDFCD06518F63FD720FE758E6E5B" } ] }}
       mongod(_ZN5mongo15printStackTraceERSo+0x41) [0x55ebd1a87c71]
       mongod(+0x1588D69) [0x55ebd1a86d69]
       mongod(+0x158924D) [0x55ebd1a8724d]
       libpthread.so.0(+0x10330) [0x7f7a29e85330]
       libc.so.6(gsignal+0x37) [0x7f7a29ae3c37]
       libc.so.6(abort+0x148) [0x7f7a29ae7028]
       mongod(_ZN5mongo25fassertFailedWithLocationEiPKcj+0x0) [0x55ebd0d0fad9]
       mongod(_ZN5mongo20WiredTigerSizeStorerC1EP15__wt_connectionRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x1CF) [0x55ebd17915df]
       mongod(_ZN5mongo18WiredTigerKVEngineC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_11ClockSourceES8_mbbbb+0x1076) [0x55ebd1779f16]
       mongod(+0x1274795) [0x55ebd1772795]
       mongod(_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv+0x6B7) [0x55ebd1660ed7]
       mongod(+0x7FD4B9) [0x55ebd0cfb4b9]
       mongod(main+0x964) [0x55ebd0d1b634]
       libc.so.6(__libc_start_main+0xF5) [0x7f7a29acef45]
       mongod(+0x87B2FF) [0x55ebd0d792ff]
      -----  END BACKTRACE  -----
      

      Any advice?

            Assignee:
            Unassigned Unassigned
            Reporter:
            kindox Kindox
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: