Unable to start Mongodb



This is the bizarre error:

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


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?


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


Can you post the contents of ./mongod?