I had an unclean shutdown of MongoDB on Ubuntu 10.04 LTS. Now when I login as root and run Mongodb via service mongodb start, I get below error-
Mon Dec 12
we use mac and install mongodb, usually do not need mongodb.conf, so, try this:
sudo chown -R your-username /tmp/
ps:your-username is your username in mac os, not root.if you don't know what is your username,there's a command:
whoami