【问题标题】:Error parsing INI config file: unrecognised option 'nohttpinterface'解析 INI 配置文件时出错:无法识别的选项 'nohttpinterface'
【发布时间】:2017-12-29 09:40:33
【问题描述】:

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

Error parsing INI config file: unrecognised option 'nohttpinterface'

【问题讨论】:

    标签: mongodb config ini


    【解决方案1】:

    我不知道您运行的是哪个版本的 MongoDB,但自 3.6 起,REST API 和接口以及您描述的配置选项已被删除。

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

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        猜你喜欢
        • 2018-06-07
        • 2016-07-21
        • 1970-01-01
        • 2023-03-29
        • 1970-01-01
        • 2021-06-16
        • 2016-02-07
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多