Answers for "error during global initialization mongodb"

0

error during global initialization mongodb

==> check /var/log/mongodb and /var/lib/mongodb for mongondb with (user==>mongodb) and the permissions.

sudo chown mongodb:mongodb /var/log/mongodb/mongod.log
sudo chown mongodb:mongodb /var/lib/mongodb/*

==> then start/restart the mongod service

sudo service mongod start
sudo service mongod restart
Posted by: Guest on July-27-2021

Code answers related to "error during global initialization mongodb"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language