Hello. For some reason, mongod will only work properly when I run it as root. When I run the command 'mongod --config /etc/mongod.conf' it tells me 'all output going to: /var/log/mongodb/mongod.log'. But then when I go to run 'mongo', it will say 'MongoDB shell version: 2.4.9
connecting to: test
Sun Jun 22 13:43:09.939 Error: couldn't connect to server
127.0.0.1:27017 at src/mongo/shell/mongo.js:145
exception: connect failed'
If I run the first command as root, then the 'mongo' command works perfect and I cannot to the shell. Does anyone know what might be wrong?