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

后端 未结 9 1382
梦谈多话
梦谈多话 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:17

    There was the same problem on my machine. In the log file was:

    Mon Jul 29 09:57:13.689 [initandlisten] ERROR: Insufficient free space for journal file
    Mon Jul 29 09:57:13.689 [initandlisten] Please make at least 3379MB available in /var/mongoexp/rs2/journal or use --smallfiles

    It was solved by using mongod --smallfiles. Or if you start mongod with --config option than in a configuration file disable write-ahead journaling by nojournal=true (remove the beginning #). Some more disk space would also solve the above problem.

提交回复
热议问题