MongoDB failed to start Assertion failure isOk() src/mongo/db/storage/extent.h 80

MongoDB failed to start with this error in log file:

2015-08-28T01:24:17.062+0000 [initandlisten] build info: Linux build5.nj1.10gen. cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49
2015-08-28T01:24:17.062+0000 [initandlisten] allocator: tcmalloc
2015-08-28T01:24:17.062+0000 [initandlisten] options: { config: “/etc/mongod.conf”, net: { port: 27017 }, processManagement: { pidFilePath: “/var/run/mongodb/mongod.pid” }, security: { authorization: “disabled” }, storage: { dbPath: “/var/lib/mongo”, journal: { enabled: false } }, systemLog: { destination: “file”, logAppend: true, path: “/var/lib/mongo/mongod.log”, quiet: true } }
2015-08-28T01:24:17.164+0000 [initandlisten] test Assertion failure isOk() src/mongo/db/storage/extent.h 80
2015-08-28T01:24:17.170+0000 [initandlisten] test 0x1205431 0x11a7229 0x118b53e 0xf04360 0xf436a3 0x8b779f 0xaa2ca0 0xd8237f 0x8cd367 0x76c32d 0x76e247 0x76ee7b 0x76f4b5 0x76f759 0x7f96a8516d5d 0x766329
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0x1205431]
mongod(_ZN5mongo10logContextEPKc+0x159) [0x11a7229]
mongod(_ZN5mongo12verifyFailedEPKcS1_j+0x17e) [0x118b53e]
mongod(_ZNK5mongo13ExtentManager9getExtentERKNS_7DiskLocEb+0x60) [0xf04360]
mongod(_ZN5mongo12FlatIteratorC1EPKNS_10CollectionERKNS_7DiskLocERKNS_20CollectionScanParams9DirectionE+0xd3) [0xf436a3]
mongod(_ZNK5mongo10Collection11getIteratorERKNS_7DiskLocEbRKNS_20CollectionScanParams9DirectionE+0x9f) [0x8b779f]
mongod(_ZN5mongo14CollectionScan4workEPm+0x350) [0xaa2ca0]
mongod(_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_7DiskLocE+0xef) [0xd8237f]
mongod(_ZN5mongo8Database19clearTmpCollectionsEv+0x147) [0x8cd367]
mongod() [0x76c32d]
mongod(_ZN5mongo14_initAndListenEi+0x637) [0x76e247]
mongod(_ZN5mongo13initAndListenEi+0x1b) [0x76ee7b]
mongod() [0x76f4b5]
mongod(main+0x9) [0x76f759]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f96a8516d5d]
mongod() [0x766329]
2015-08-28T01:24:17.172+0000 [initandlisten] exception in initAndListen: 0 assertion src/mongo/db/storage/extent.h:80, terminating

Cause: Your DB files are corrupted. Use

mongod –repair

command to fix:

mongod –repair

MongoDB failed to start Assertion failure isOk() src/mongo/db/storage/extent.h 80