Follow dba-ninja.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

dba-ninja.com Links

Dba_db2_button

Sqlserver_dba_button

Failed to unlink socket file: Operation not permitted

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

 

 


Author: Rambler (http://www.dba-ninja.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

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.

Working...

Post a comment on Failed to unlink socket file: Operation not permitted


dba-ninja.com