Reading Time: < 1 minute

Hi All, this document deals with how to fix Failed to set up listener: SocketException: Permission denied error.
This issue is related to permission issues where MongoDB is not able to start the service.


Check the permission of tmp location

ls -ld /tmp

Change the permission and ownership of temp folder.

chown root:root /tmp
chmod 1777 /tmp

Now start the MongoDB service.

service mongod start

© 2019, Techrunnr. All rights reserved.

#1
#2
#3
Questions Answered
Articles Written
Overall Points

Prabhin Prabharkaran

He is Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!!

0 Comments

Leave a Reply