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 had the same problem in the past. In my case, I had insufficient free space for journal files. Freeing some space solved the problem.