我正在尝试在我的新笔记本电脑上设置 Mongo,一开始我只是将我的 Mongo 文件夹复制到新机器上。然后我尝试使用和不使用新的 Mongo 下载,但--dbpath
我一直收到同样的错误。
有谁知道解决这个问题?
Mongo 文档没有提到这个问题,或者至少我没有找到它。
旧:Windows 7 专业版 64 位 新版:Windows 8 专业版 64 位
D:\Dropbox\Git\mongodb\bin>mongod.exe --rest --dbpath "D:\Dropbox\Git\mongoDATA"
Sun May 26 16:56:45.565 [initandlisten] MongoDB starting : pid=9780 port=27017 d
bpath=D:\Dropbox\Git\mongoDATA 64-bit host=onion
Sun May 26 16:56:45.566 [initandlisten] db version v2.4.1
Sun May 26 16:56:45.566 [initandlisten] git version: 1560959e9ce11a693be8b4d0d16
0d633eee75110
Sun May 26 16:56:45.566 [initandlisten] build info: windows sys.getwindowsversio
n(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST
_LIB_VERSION=1_49
Sun May 26 16:56:45.566 [initandlisten] allocator: system
Sun May 26 16:56:45.566 [initandlisten] options: { dbpath: "D:\Dropbox\Git\mongo
DATA", rest: true }
Sun May 26 16:56:45.574 [initandlisten] journal dir=D:\Dropbox\Git\mongoDATA\jou
rnal
Sun May 26 16:56:45.574 [initandlisten] recover : no journal files present, no r
ecovery needed
Sun May 26 16:56:45.598 [initandlisten] course Assertion failure isOk() d:\slav
e\windows_64bit_v2.4.1\mongo\src\mongo\db\pdfile.h 394
Sun May 26 16:56:45.959 [initandlisten] mongod.exe ...\src\mongo\util\stacktr
ace.cpp(189) mongo::printStackTrace+0x3e
Sun May 26 16:56:45.959 [initandlisten] mongod.exe ...\src\mongo\util\assert_
util.cpp(114) mongo::verifyFailed+0xdc
Sun May 26 16:56:45.959 [initandlisten] mongod.exe ...\src\mongo\db\pdfile.h(
649) mongo::DataFileMgr::getExtent+0xcd
Sun May 26 16:56:45.960 [initandlisten] mongod.exe ...\src\mongo\db\pdfile.cp
p(852) mongo::DataFileMgr::findAll+0x7b
Sun May 26 16:56:45.960 [initandlisten] mongod.exe ...\src\mongo\db\database.
cpp(245) mongo::Database::clearTmpCollections+0xf3
Sun May 26 16:56:45.960 [initandlisten] mongod.exe ...\src\mongo\db\database.
cpp(497) mongo::DatabaseHolder::getOrCreate+0x461
Sun May 26 16:56:45.962 [initandlisten] mongod.exe ...\src\mongo\db\client.cp
p(317) mongo::Client::Context::_finishInit+0xa3
Sun May 26 16:56:45.962 [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(33
1) mongo::repairDatabasesAndCheckVersion+0x2ce
Sun May 26 16:56:45.962 [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(64
9) mongo::_initAndListen+0x9fb
Sun May 26 16:56:45.963 [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(68
5) mongo::initAndListen+0x21
Sun May 26 16:56:45.963 [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(12
98) mongoDbMain+0x165
Sun May 26 16:56:45.963 [initandlisten] mongod.exe ...\src\mongo\db\db.cpp(73
0) main+0x9
Sun May 26 16:56:45.965 [initandlisten] mongod.exe f:\dd\vctools\crt_bld\self
_64_amd64\crt\src\crt0.c(278) __tmainCRTStartup+0x13b
Sun May 26 16:56:45.965 [initandlisten] KERNEL32.DLL
BaseThreadInitThunk+0x1a
Sun May 26 16:56:45.965 [initandlisten] exception in initAndListen: 0 assertion
d:\slave\windows_64bit_v2.4.1\mongo\src\mongo\db\pdfile.h:394, terminating
Sun May 26 16:56:45.966 dbexit:
Sun May 26 16:56:45.966 [initandlisten] shutdown: going to close listening socke
ts...
Sun May 26 16:56:45.967 [initandlisten] shutdown: going to flush diaglog...
Sun May 26 16:56:45.968 [initandlisten] shutdown: going to close sockets...
Sun May 26 16:56:45.968 [initandlisten] shutdown: waiting for fs preallocator...
Sun May 26 16:56:45.968 [initandlisten] shutdown: lock for final commit...
Sun May 26 16:56:45.968 [initandlisten] shutdown: final commit...
Sun May 26 16:56:45.975 [initandlisten] shutdown: closing all files...
Sun May 26 16:56:45.975 [initandlisten] closeAllFiles() finished
Sun May 26 16:56:45.975 [initandlisten] journalCleanup...
Sun May 26 16:56:45.975 [initandlisten] removeJournalFiles
Sun May 26 16:56:45.976 [initandlisten] shutdown: removing fs lock...
Sun May 26 16:56:45.977 dbexit: really exiting now