I run MongoDB on Mac:
Shave:mongodb_simple Logan$ ./bin/mongod -f conf/mongod.conf
about to fork child process, waiting until server is ready for connections
You started and probably shutdown mongo in the wrong way.
1. TO START MONGODB
To start mongo in the background type: mongod --dbpath /data/db --fork --logpath /dev/null.
/data/db is the location of the db. If you haven't created one yet => type: mkdir /data/db --fork means you want to start mongo in the background - deamon. --logpath /dev/null means you don't want to log - you can change that by replacing /dev/null to a path like /var/log/mongo.log2. TO SHUTDOWN MONGODB
Connect to your mongo by typing: mongo and then use admin and db.shutdownServer(). Like explain in mongoDB
If this technique doesn't work for some reason you can always kill the process.
PID by typing: lsof -i:27017 assuming your mongodb is running on port 27017kill , replace by the value you found the previous command.