Unable to start Mongodb

mongodb

#1

This is the bizarre error:

./mongod --port 27017 --dbpath=./data --nojournal
Error parsing command line: Multiple occurrences of option “–dbpath”


#2

According to the setup instructions I was given, you have to create a directory for data which I did. So why doesn;t this command work?


#3

Just try running mongod --nojournal, or mongod --nojournal --smallfiles if your workspace does not have enough space.


#4

Can you post the contents of ./mongod?