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
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.