J'ai eu un arrêt non propre de MongoDB sur Ubuntu 10.04 LTS. Maintenant, quand je me connecte en tant que root et exécuter MongoDB via le service MongoDB commencer, je reçois ci-dessous ERROR-MongoDB - Autorisation refusée pour le socket: /tmp/mongodb-27017.sock
Mon Dec 12 13:53:15 [initandlisten] ERROR: listen(): bind() failed errno:13 Permission denied for socket: /tmp/mongodb-27017.sock
Quand je lance MongoDB manuellement via root, cela fonctionne très bien.
Je peux confirmer qu'il n'y a pas de fichier /tmp/mongodb-27017.sock
[email protected]:~# ll /tmp/
total 16
drwxr-xr-x 4 root root 4096 2011-12-12 13:53 ./
drwxr-xr-x 25 root root 4096 2011-12-11 13:06 ../
drwxrwxrwt 2 root root 4096 2011-12-12 13:01 .ICE-unix/
drwxrwxrwt 2 root root 4096 2011-12-12 13:01 .X11-unix/
Où dois-je commencer à résoudre?
Vous avez raison, après un arrêt non propre, ça a été chamboulé et/tmp n'était plus utilisable par l'utilisateur de MongoDb. – user837208
Génial. Content que nous vous ayons trouvé une réponse. –
Vous sauvez ma journée. Je vous remercie! –