3
I installed mongodb as suggested on the official website(*), started the service, but when I tried to use the Mongo command on the terminal the following error was returned:
2014-09-17T10:22:29.328-0300 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
2014-09-17T10:22:29.329-0300 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146
exception: connect failed
Can someone help me with some solution?
Otto, I reviewed my last reply
– Alessandro Sales
Dear Otto, I appreciate the help. I was able to solve it with your help and the help of other posts. First I changed the dbpath to my folder /home/username/data/db, because my directory / was not enough space, then I gave chown to the mongodb user in the dbpath folder and I was able to start the service. I appreciate everyone’s help, problem solved.
– Alessandro Sales
opa se posso ajudar em algo já ótimo da um plus ai :D
– Otto