install mongoDB (child process failed, exited with error number 100)

后端 未结 9 1390
梦谈多话
梦谈多话 2020-12-08 10:21

I tried to install mongoDB on my macbook air.

I\'ve downloaded zipped file from official website and extract that file and move to root directory. After that, under

9条回答
  •  庸人自扰
    2020-12-08 11:09

    I had the same error on linux (Centos) and this worked for me

    1. Remove mongod.lock from the dbpath

      $ rm /var/lib/mongo/mongod.lock

    2. Repair the mongod process

      $ mongod --repair

    3. Run mongod config

      $ mongod --config /etc/mongod.conf

提交回复
热议问题