赞
踩
数据库版本:3.4.15
错误描述:
无法启动,错误日志显示:
[initandlisten] WiredTiger error (-31802) [1565933984:78859][31235:0x7f4ace0cad00], txn-recover: unsupported WiredTiger file version: this build only supports major/minor versions up to 1/0, and the file is version 2/0: WT_ERROR: non-specific WiredTiger error
查找资料后,有了解决方案:
- cd /data/db //进入数据文件夹
- rm -r journal
- rm -r mongod.lock
- rm -r WiredTiger.lock
然后重启服务,就解决了。
错误起因暂时不清楚。
参考: https://dba.stackexchange.com/questions/216513/how-to-restore-mongo-db-tar-gz-archive
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。