16 July,2024 by Rambler
Started getting alerts of on eof the MongoDB nodes being unavailable - after some server patching .
Checked the logs - and found this error message - Failed to unlink socket file: Operation not permitted
The easy fix was to delete the "/tmp/mongodb-27017.sock file" and then start mongod by doing sudo service mongod start.
If on Linux use :
rm /tmp/mongodb-27017.sock
The mongod will create new version of the "tmp/mongodb-27017.sock" file
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |