打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
MongoDB启动不了,提示dbexception during recovery: 13537 journal file header invalid.

启动信息如下:

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

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
主流NOSQL数据库之MongoDB快速入门
linux下Mongodb安装配置全过程
Linux平台安装MongoDB | 菜鸟教程
【教程】野心勃勃的NoSQL新贵 MongoDB应用实战(3) — Windows版本服务器安装
MongoDB1.8安装、分布式自动分片
【数据库】Linux下MongoDB的安装和配置
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服