您好我有問題,當我運行錯誤與MAC許可的MongoDB否認
mongod
這是我得到
2016-02-09T21:54:40.631-0700 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2016-02-09T21:54:40.633-0700 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
2016-02-09T21:54:40.633-0700 I CONTROL [initandlisten] dbexit: rc: 100
我嘗試一切卸載蒙戈。安裝與釀造。使用brew等進行卸載更改我的數據文件夾的權限並始終出現相同的問題。
我試圖找到,如果另一個實例正在運行,但沒有發現什麼 – EQuimper
好了 - 所以解除鎖定文件並嘗試啓動mongo。 –
完成和相同的東西寫在控制檯上 – EQuimper