MongoDB Service Will Not Start After Initial Setup

前端 未结 11 1765
夕颜
夕颜 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:16

    If you’re starting mongod as a service using:

    sudo service mongod start

    Make sure the directories defined for logpath, dbpath, and pidfilepath in your mongod.conf exist and are owned by mongod:mongod.

提交回复
热议问题