[SERVER-18860] Assertion failure isOk() src/mongo/db/storage/extent.h 80 Created: 08/Jun/15  Updated: 10/Jun/15  Resolved: 10/Jun/15

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

Type: Bug Priority: Major - P3
Reporter: Krzysztof Rosi?ski Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Hi, After a few days of operation mongod failed and now when I try to run mongod it fails with the following error:

root@edison:/media/sdcard/mongodb-linux-i686-2.6.10/bin# ./mongod
./mongod --help for help and startup options
2015-06-08T09:23:02.221+0000
2015-06-08T09:23:02.229+0000 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
2015-06-08T09:23:02.231+0000
2015-06-08T09:23:02.316+0000 [initandlisten] MongoDB starting : pid=6664 port=27017 dbpath=/data/db 32-bit host=edisontest
2015-06-08T09:23:02.317+0000 [initandlisten]
2015-06-08T09:23:02.318+0000 [initandlisten] ** NOTE: This is a 32 bit MongoDB binary.
2015-06-08T09:23:02.319+0000 [initandlisten] **       32 bit builds are limited to less than 2GB of data (or less with --journal).
2015-06-08T09:23:02.320+0000 [initandlisten] **       Note that journaling defaults to off for 32 bit and is currently off.
2015-06-08T09:23:02.321+0000 [initandlisten] **       See http://dochub.mongodb.org/core/32bit
2015-06-08T09:23:02.321+0000 [initandlisten]
2015-06-08T09:23:02.322+0000 [initandlisten] db version v2.6.10
2015-06-08T09:23:02.327+0000 [initandlisten] git version: 5901dbfb49d16eaef6f2c2c50fba534d23ac7f6c
2015-06-08T09:23:02.327+0000 [initandlisten] build info: Linux ip-10-16-142-20 2.6.18-194.el5xen #1 SMP Tue Mar 16 22:08:06 EDT 2010 i686 BOOST_LIB_VERSION=1_49
2015-06-08T09:23:02.328+0000 [initandlisten] allocator: system
2015-06-08T09:23:02.329+0000 [initandlisten] options: {}
2015-06-08T09:23:02.376+0000 [initandlisten] remote-transceiver-dev Assertion failure isOk() src/mongo/db/storage/extent.h 80
2015-06-08T09:23:02.465+0000 [initandlisten] remote-transceiver-dev 0x8e624dd 0x8dfa856 0x8ddc260 0x8b301ca 0x8b34aa4 0x8b309c1 0x8b741ee 0x86a113f 0x8998b4a 0x8966ab2 0x834c607 0x834e685 0x834f448 0x834fa79 0x834fd5c 0x42a23687 0x83457a1
 ./mongod(_ZN5mongo15printStackTraceERSo+0x2d) [0x8e624dd]
 ./mongod(_ZN5mongo10logContextEPKc+0x166) [0x8dfa856]
 ./mongod(_ZN5mongo12verifyFailedEPKcS1_j+0x190) [0x8ddc260]
 ./mongod(_ZNK5mongo13ExtentManager9getExtentERKNS_7DiskLocEb+0x7a) [0x8b301ca]
 ./mongod(_ZNK5mongo7DiskLoc3extEv+0x54) [0x8b34aa4]
 ./mongod(_ZNK5mongo13ExtentManager13getNextRecordERKNS_7DiskLocE+0x81) [0x8b309c1]
 ./mongod(_ZN5mongo12FlatIterator7getNextEv+0x9e) [0x8b741ee]
 ./mongod(_ZN5mongo14CollectionScan4workEPj+0xef) [0x86a113f]
 ./mongod(_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_7DiskLocE+0x6a) [0x8998b4a]
 ./mongod(_ZN5mongo14InternalRunner7getNextEPNS_7BSONObjEPNS_7DiskLocE+0x32) [0x8966ab2]
 ./mongod() [0x834c607]
 ./mongod(_ZN5mongo14_initAndListenEi+0x7a5) [0x834e685]
 ./mongod(_ZN5mongo13initAndListenEi+0x28) [0x834f448]
 ./mongod() [0x834fa79]
 ./mongod(main+0x3c) [0x834fd5c]
 /lib/libc.so.6(__libc_start_main+0xe7) [0x42a23687]
 ./mongod() [0x83457a1]
2015-06-08T09:23:02.477+0000 [initandlisten] exception in initAndListen: 0 assertion src/mongo/db/storage/extent.h:80, terminating
2015-06-08T09:23:02.478+0000 [initandlisten] dbexit:
2015-06-08T09:23:02.479+0000 [initandlisten] shutdown: going to close listening sockets...
2015-06-08T09:23:02.479+0000 [initandlisten] shutdown: going to flush diaglog...
2015-06-08T09:23:02.480+0000 [initandlisten] shutdown: going to close sockets...
2015-06-08T09:23:02.481+0000 [initandlisten] shutdown: waiting for fs preallocator...
2015-06-08T09:23:02.481+0000 [initandlisten] shutdown: closing all files...
2015-06-08T09:23:02.483+0000 [initandlisten] closeAllFiles() finished
2015-06-08T09:23:02.487+0000 [initandlisten] shutdown: removing fs lock...
2015-06-08T09:23:02.488+0000 [initandlisten] dbexit: really exiting now



 Comments   
Comment by Sam Kleinman (Inactive) [ 10/Jun/15 ]

It looks like you're running a 32-Bit version of mongod without the --journal option to enable journaling. Journaling is only enabled by default on 64-bit builds of MongoDB. Because of the way that the MMAP storage engine (i.e. the only storage system in 2.6 and all previous versions of MongoDB) persists data to disk, if journaling is not enabled and the mongod terminates unexpectedly, you must assume that the data files are invalid. See the Journal Documentation for more information. To recover in this situation, see the Recover Data documentation.

Sorry that you've encountered this, and I hope this helps clarify the situation. I'm going to go ahead and close this ticket now, but if you have additional questions feel free to address them to one of our support channels.

Regards,
sam

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