I can\'t connect to MongoDB. In Ubuntu it works, but I\'m working in CentOS now. This is the error message:
MongoDB shell version: 2.4.2 connecting
I faced the same problem. Running mongod inside bin (where you have your mongodb installed) worked for me. I also had insufficient space.