启动信息如下:
Mon Nov 18 09:12:32 Trying to start Windows service 'MongoDB'
Mon Nov 18 09:12:33 Service running
Mon Nov 18 09:12:33 [initandlisten] MongoDB starting : pid=4664 port=2333 dbpath=d:\mongodb\db 64-bit host=ssgascom-PC
Mon Nov 18 09:12:33 [initandlisten] db version v2.2.4, pdfile version 4.5
Mon Nov 18 09:12:33 [initandlisten] git version: a2880030d3cec10c850c6850efa7a51b628b8822
Mon Nov 18 09:12:33 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
Mon Nov 18 09:12:33 [initandlisten] options: { dbpath: "d:\mongodb\db", logpath: "d:\mongodb\log\log.txt", port: 2333, rest: true, service: true }
Mon Nov 18 09:12:33 [initandlisten] journal dir=d:/mongodb/db/journal
Mon Nov 18 09:12:33 [initandlisten] recover begin
Mon Nov 18 09:12:33 [initandlisten] info no lsn file in journal/ directory
Mon Nov 18 09:12:33 [initandlisten] recover lsn: 0
Mon Nov 18 09:12:33 [initandlisten] recover d:/mongodb/db/journal/j._0
Mon Nov 18 09:12:33 [initandlisten] dbexception during recovery: 13537 journal file header invalid. This could indicate corruption in a journal file, or perhaps a crash where sectors in file header were in flight written out of order at time of crash (unlikely but possible).
Mon Nov 18 09:12:33 [initandlisten] exception in initAndListen: 13537 journal file header invalid. This could indicate corruption in a journal file, or perhaps a crash where sectors in file header were in flight written out of order at time of crash (unlikely but possible)., terminating
Mon Nov 18 09:12:33 dbexit:
Mon Nov 18 09:12:33 [initandlisten] shutdown: going to close listening sockets...
Mon Nov 18 09:12:33 [initandlisten] shutdown: going to flush diaglog...
Mon Nov 18 09:12:33 [initandlisten] shutdown: going to close sockets...
Mon Nov 18 09:12:33 [initandlisten] shutdown: waiting for fs preallocator...
Mon Nov 18 09:12:33 [initandlisten] shutdown: lock for final commit...
Mon Nov 18 09:12:33 [initandlisten] shutdown: final commit...
Mon Nov 18 09:12:33 [initandlisten] shutdown: closing all files...
Mon Nov 18 09:12:33 [initandlisten] closeAllFiles() finished
Mon Nov 18 09:12:33 [initandlisten] shutdown: removing fs lock...
Mon Nov 18 09:12:33 dbexit: really exiting now
journal 其实就是数据下边的一个文件夹,系统自动生成,用以记录数据库日志,此处提示是此文件头无效,因此,删除此文件夹即可.有关journal的资料见http://f.dataguru.cn/thread-139560-1-1.html
联系客服