I installed mongodb following this tutorial here, no errors during the installation but when I try to start the mongod server using this command sudo systemctl start m
Recently i have solved the same issue. I was unable to find the solution on googled, but i get come clues to, how get figure it out. In my case this issue was related to mongodb-27017.sock file.
Failed to unlink socket file /tmp/mongodb-27017.sock errno:1 Operation not permitted
So i have changed the permission of /tmp/mongodb-27017.sock file to default mongodb
user.
sudo chown mongodb /tmp/mongodb-27017.sock
sudo chgrp mongodb /tmp/mongodb-27017.sock
After this sudo systemctl status mongodb
working fine and mongodb
is started.