Whether you should fail to start a mongod service on Linux and see in the database logs an error message like the following:
Failed to unlink socket file /tmp/mongodb-27017.sock errno:1 Operation not permitted
Its root cause is a permission issue: the previous restart/stop as root user didn't complete properly, so the temporary .sock file couldn't be deleted. Delete the file manually as root before restarting the service and the sun will shine again.
Failed to unlink socket file /tmp/mongodb-27017.sock errno:1 Operation not permitted
Its root cause is a permission issue: the previous restart/stop as root user didn't complete properly, so the temporary .sock file couldn't be deleted. Delete the file manually as root before restarting the service and the sun will shine again.
Comments
Post a Comment