Operational Defect Database

BugZero found this defect 2527 days ago.

MongoDB | 367471

[SERVER-28471] mongod doesn't start after install v3.4

Last update date:

3/24/2017

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

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?

Top User Comments

thomas.schubert commented on Fri, 24 Mar 2017 02:01:37 +0000: Hi kindox I'm glad you resolved the issue. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group. Kind regards, Thomas kindox commented on Fri, 24 Mar 2017 01:46:23 +0000: Solved! I just create a new directory: /var/lib/mongodbnew, set the right permissions, then set up that directory as path in /etc/mongod.conf and viola! Thanks anyway. kindox commented on Fri, 24 Mar 2017 01:35:31 +0000: As you can see, I changed the port to 28017 and set journal to false just to try something else but I had no luck.

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...