search

Home  >  Q&A  >  body text

mongodb - 安裝3.0時啟動儲存引擎wiredTiger失敗

有人有一樣的問題嗎?
我是根據數據為王的教程操作的
更新 /etc/mongod.conf
增加 storageEngine=wiredTiger
同时修改 dbpath=/var/lib/mongo-wiredTiger

卻在修改後無法啟用mongoDB,把設置改回去又可以使用了
難道只能使用默認的mmapv1?

曾经蜡笔没有小新曾经蜡笔没有小新2788 days ago575

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-25 09:05:18

    Is it unable to start or does it hang after running for a while? If the latter situation is the case, it may be caused by too small memory.

    reply
    0
  • 滿天的星座

    滿天的星座2017-04-25 09:05:18

    If you use wiredTiger... the format of the configuration file is different... you need to use YAML format...
    Please refer to this article
    http://www.mongoing.com/config_3_0

    reply
    0
  • Cancelreply