[SERVER-27374] repair mongodb fail and not start up mongodb Created: 12/Dec/16  Updated: 12/Dec/16  Resolved: 12/Dec/16

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

Type: Bug Priority: Critical - P2
Reporter: Do Thanh Tung Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File mongod.log    
Issue Links:
Duplicate
duplicates SERVER-27376 repair mongodb fail and not start up ... Closed
Operating System: ALL
Steps To Reproduce:

step 1:

mongod --repair --dbpath /var/lib/mongo/ --storageEngine wiredTiger

and server still repair then show error

Participants:

 Description   

Dear All

I hava problem with repair mongod

2016-12-12T18:22:00.348+0700 I CONTROL [initandlisten] options: { config: "/etc/mongod.conf", net:

{ bindIp: "0.0.0.0", port: 27017 }

, processManagement:

{ fork: true, pidFilePath: "/var/run/mongodb/mongod.pid" }

, storage: { dbPath: "/var/lib/mongo", journal:

{ enabled: true }

}, systemLog:

{ destination: "file", logAppend: true, path: "/var/log/mongodb/mongod.log" }

}
2016-12-12T18:22:00.385+0700 I - [initandlisten] Detected data files in /var/lib/mongo created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2016-12-12T18:22:00.385+0700 W - [initandlisten] Detected unclean shutdown - /var/lib/mongo/mongod.lock is not empty.
2016-12-12T18:22:00.385+0700 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2016-12-12T18:22:00.386+0700 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=75G,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),
2016-12-12T18:22:18.346+0700 I STORAGE [initandlisten] dropping unused ident: index-2002-1079967399702764901
2016-12-12T18:22:18.346+0700 I STORAGE [initandlisten] dropping unused ident: index-2003-1079967399702764901
2016-12-12T18:22:18.346+0700 I STORAGE [initandlisten] dropping unused ident: index-2004-1079967399702764901
2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2005-1079967399702764901
2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2006-1079967399702764901
2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2007-1079967399702764901
2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2008-1079967399702764901
2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2009-1079967399702764901
2016-12-12T18:22:18.348+0700 I STORAGE [initandlisten] dropping unused ident: index-2010-1079967399702764901
2016-12-12T18:22:18.348+0700 I STORAGE [initandlisten] dropping unused ident: index-2011-1079967399702764901
2016-12-12T18:22:18.348+0700 I STORAGE [initandlisten] dropping unused ident: index-2012-1079967399702764901
2016-12-12T18:22:18.348+0700 I STORAGE [initandlisten] dropping unused ident: index-2013-1079967399702764901
2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten]
2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten]
2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten]
2016-12-12T18:22:18.687+0700 I INDEX [initandlisten] found 2 index(es) that wasn't finished before shutdown
2016-12-12T18:22:18.687+0700 I - [initandlisten] Fatal assertion 28579 UnsupportedFormat: Unable to find metadata for table:index-2002-6955404491159956217 Index:

{name: _id_, ns: ungdichvu.s0999}

- version too new for this mongod. See http://dochub.mongodb.org/core/3.4-index-downgrade for detailed instructions on how to handle this error.
2016-12-12T18:22:18.687+0700 I - [initandlisten]

***aborting after fassert() failure

Please solution fix it.
This agent and thanks for your support


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