I had an unclean closure of MongoDB on Ubuntu 10.04 LTS. Now, when I log in as root and start Mongodb using the mongodb start service, I get below error-
Mon Dec 12 13:53:15 [initandlisten] ERROR: listen(): bind() failed errno:13 Permission denied for socket: /tmp/mongodb-27017.sock
When I run MongoDB manually as root, it works fine.
I can confirm that there is no file / tmp / mongodb -27017.sock
root@devbox:~
Where to start troubleshooting?
mongodb sockets file-permissions upstart
user837208 Dec 12 '11 at 18:58 2011-12-12 18:58
source share