MongoDB Service Will Not Start After Initial Setup

前端 未结 11 1775
夕颜
夕颜 2021-01-31 12:11

I am running Fedora 20 and installed MongoDB per the Red Hat installation guide on the official documentation. I was able to run the mongod daemon as a service with

11条回答
  •  一个人的身影
    2021-01-31 12:15

    i met the same issue,when i modify my mongod.conf as follow and problem resolved~

    port=27017
    dbpath=/usr/local/mongodb/data/db/
    logpath=/usr/local/mongodb/logs
    fork = true
    

    tips: logpath is the logfile not a folder.

提交回复
热议问题