Ошибка во время глобальной инициализации 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

Jaimin Patel