本文介绍了MongoDB无法启动服务器:默认存储引擎"wiredTiger"不适用于此版本的mongod的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MongoDB服务器无法启动,并显示以下错误:

MongoDB server failing to start with the following error:

initAndListen:28663无法启动服务器.默认存储引擎 此版本的mongod无法使用"wiredTiger".请 明确指定其他存储引擎,例如 --storageEngine = mmapv1.,终止 2015-12-13T00:49:12.195 + 0600 I CONTROL [initandlisten] dbexit:rc:100

initAndListen: 28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine explicitly, e.g. --storageEngine=mmapv1., terminating 2015-12-13T00:49:12.195+0600 I CONTROL [initandlisten] dbexit: rc: 100

推荐答案

嗯...似乎存在版本冲突:您可能正在运行32位版本的Mongo.照他们说的做,然后实际使用其他默认存储引擎:

Well... There appears to be a version conflict: you are probably running a 32bit version of Mongo. Just do as they say and actually use the other default storage engine:

在您的Mongo/bin目录中编写以下命令:

Write the command as follows in your Mongo/bin directory:

mongod --storageEngine=mmapv1 --dbpath [your-path]

应该解决问题.我想您不太介意使用旧的mmapv1而不是wiredTiger吗?

Should solve the problem. I guess you don't quite mind about using the good old mmapv1 instead of wiredTiger do you?

这篇关于MongoDB无法启动服务器:默认存储引擎"wiredTiger"不适用于此版本的mongod的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 06:04