MongoDB -- Failed global initialization: Failed to open "var/log/mongodb/mongod.log"
You may need to change the permissions for the parents directory /var/log/ as the user running the mongod instance might not have access to it. The below code should do it

sudo chmod 755 /var/log