MongoDB is not working
I installed mongodb from this below help
https://www.linode.com/docs/databases/mongodb/install-mongodb-on-ubuntu-16-04/ .
But when i checked status , it is inactive http://prntscr.com/kf9k2j .
I used below commands to make it active . but changed
$ systemctl daemon-reload
$ sudo systemctl enable mongodb
$ sudo systemctl start mongodb
How i can make it functional ? Please help
3 Replies
Here is the entire output http://prntscr.com/kfl38p
Hey there.
So I did a little bit of research, you might also want to check your mongodb logs for more information as well with tail -n 30 /var/log/mongodb/mongod.log
. That might give you a little more information about specifically what is happening.
It's likely what you are seeing is a permissions error. This Stack Overflow Answer might help point you in the right direction.