ERROR: Cannot write pid file to /var/run/mongodb/mongod.pid: No such file or directory inf fedora 20

后端 未结 5 1436
故里飘歌
故里飘歌 2020-12-31 18:04

MongoDB is not starting. I have installed mongo and mongo was running but after reboot it is not running.

ERROR: Cannot write pid file to /var/run/mon

5条回答
  •  暖寄归人
    2020-12-31 18:49

    The MongoDB packages contain a "bug" which prevents them from starting properly on the newer RedHat based systems. Please see SERVER-14679 for details.

    As a workaround until 2.6.5 is released, please edit the init script according to https://github.com/mongodb/mongo/commit/50ca596ace0b1390482408f1b19ffb1f9170cab6

提交回复
热议问题