解析INI配置文件时出错:无法识别的选项'nohttpinterface'

时间:2017-12-29 09:40:34

标签: mongodb config ini

你们知道如何在mongo启动期间修复此错误吗?

Error parsing INI config file: unrecognised option 'nohttpinterface'

2 个答案:

答案 0 :(得分:0)

我不确切知道您正在运行哪个版本的MongoDB,但是从3.6开始删除了REST API和接口,以及您正在描述的配置选项。

您可以在此处阅读更多内容:https://docs.mongodb.com/manual/release-notes/3.6-compatibility/#http-interface-and-rest-api

答案 1 :(得分:0)

从mongodb.conf文件中删除rest = true行(选项)