[SERVER-21342] Database not starting due to missing files Created: 07/Nov/15  Updated: 07/Nov/15  Resolved: 07/Nov/15

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ratanraj Ravuri Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

2015-11-07T16:47:24.793+0000 E STORAGE  [initandlisten] WiredTiger (2) [1446914844:793472][7424:0x7eff4beacbc0], file:local/collection-0--1185200414706781163.wt, session.verify: /mnt/mongodata/local/collection-0--1185200414706781163.wt: No such file or directory
2015-11-07T16:47:24.793+0000 I STORAGE  [initandlisten] Verify failed on uri table:local/collection-0--1185200414706781163. Running a salvage operation.
2015-11-07T16:47:24.793+0000 E STORAGE  [initandlisten] WiredTiger (2) [1446914844:793769][7424:0x7eff4beacbc0], file:local/collection-0--1185200414706781163.wt, session.salvage: /mnt/mongodata/local/collection-0--1185200414706781163.wt: No such file or directory
2015-11-07T16:47:24.793+0000 I -        [initandlisten] Invariant failure rs.get() src/mongo/db/catalog/database.cpp 176
2015-11-07T16:47:24.798+0000 I CONTROL  [initandlisten] 
 0xf5bfc9 0xefaea1 0xedf9c2 0x91c811 0x91e6c3 0x921230 0xbf77f0 0x808dfc 0x7d6b19 0x7eff4a470ec5 0x8065d7
----- BEGIN BACKTRACE -----
{"backtrace":[{"b":"400000","o":"B5BFC9"},{"b":"400000","o":"AFAEA1"},{"b":"400000","o":"ADF9C2"},{"b":"400000","o":"51C811"},{"b":"400000","o":"51E6C3"},{"b":"400000","o":"521230"},{"b":"400000","o":"7F77F0"},{"b":"400000","o":"408DFC"},{"b":"400000","o":"3D6B19"},{"b":"7EFF4A44F000","o":"21EC5"},{"b":"400000","o":"4065D7"}],"processInfo":{ "mongodbVersion" : "3.0.6", "gitVersion" : "1ef45a23a4c5e3480ac919b28afcba3c615488f2", "uname" : { "sysname" : "Linux", "release" : "3.13.0-48-generic", "version" : "#80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "BF5AC37B50D416FD8D6D427E561426ED60291032" }, { "b" : "7FFF9FA04000", "elfType" : 3, "buildId" : "341443CC258F9F27709CAA36C8CB321E4BBFFF95" }, { "b" : "7EFF4BA7A000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "9318E8AF0BFBE444731BB0461202EF57F7C39542" }, { "b" : "7EFF4B81B000", "path" : "/lib/x86_64-linux-gnu/libssl.so.1.0.0", "elfType" : 3, "buildId" : "A20EFFEC993A8441FA17F2079F923CBD04079E19" }, { "b" : "7EFF4B440000", "path" : "/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", "elfType" : 3, "buildId" : "F000D29917E9B6E94A35A8F02E5C62846E5916BC" }, { "b" : "7EFF4B238000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "92FCF41EFE012D6186E31A59AD05BDBB487769AB" }, { "b" : "7EFF4B034000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "C1AE4CB7195D337A77A3C689051DABAA3980CA0C" }, { "b" : "7EFF4AD30000", "path" : "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", "elfType" : 3, "buildId" : "4BF6F7ADD8244AD86008E6BF40D90F8873892197" }, { "b" : "7EFF4AA2A000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "1D76B71E905CB867B27CEF230FCB20F01A3178F5" }, { "b" : "7EFF4A814000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "8D0AA71411580EE6C08809695C3984769F25725B" }, { "b" : "7EFF4A44F000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "30C94DC66A1FE95180C3D68D2B89E576D5AE213C" }, { "b" : "7EFF4BC98000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "9F00581AB3C73E3AEA35995A0C50D24D59A01D47" } ] }}
 mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf5bfc9]
 mongod(_ZN5mongo10logContextEPKc+0xE1) [0xefaea1]
 mongod(_ZN5mongo15invariantFailedEPKcS1_j+0xB2) [0xedf9c2]
 mongod(_ZN5mongo8Database30_getOrCreateCollectionInstanceEPNS_16OperationContextERKNS_10StringDataE+0xE1) [0x91c811]
 mongod(_ZN5mongo8DatabaseC1EPNS_16OperationContextERKNS_10StringDataEPNS_20DatabaseCatalogEntryE+0x1E3) [0x91e6c3]
 mongod(_ZN5mongo14DatabaseHolder6openDbEPNS_16OperationContextERKNS_10StringDataEPb+0x150) [0x921230]
 mongod(_ZN5mongo14repairDatabaseEPNS_16OperationContextEPNS_13StorageEngineERKSsbb+0x730) [0xbf77f0]
 mongod(_ZN5mongo13initAndListenEi+0xA5C) [0x808dfc]
 mongod(main+0x139) [0x7d6b19]
 libc.so.6(__libc_start_main+0xF5) [0x7eff4a470ec5]
 mongod(+0x4065D7) [0x8065d7]
-----  END BACKTRACE  -----
2015-11-07T16:47:24.798+0000 I -        [initandlisten] 
 
***aborting after invariant() failure



 Comments   
Comment by Ramon Fernandez Marina [ 07/Nov/15 ]

ratanraj, the error messages above indicate that a file is missing altogether (not corrupted), which makes mongod unable to start. Perhaps the filesystem containing your dbpath was not mounted? Please check that /mnt/mongodata/local/collection-0--1185200414706781163.wt exists.

Note also that the 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, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources.

Regards,
Ramón.

Generated at Thu Feb 08 03:57:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.