This error will be show if you have insufficient permission.

If experiencing this problem check the rights of 


If they are incorrect, the mongodb user will not be able to write to this location and that can cause the server to fail to start

sudo chown mongodb /var/log/mongodb

can be run to correct this problem but also do check to see what actions may have been taken in the project to cause this change

Did this answer your question?