'Failed to unlink socket file" error in MongoDB 3.0

后端 未结 8 1576
独厮守ぢ
独厮守ぢ 2020-11-28 05:14

I am new to MongoDB. I am trying to install MongoDb 3.0 on Ubuntu 13.0 LTS, which is a VM on Windows 7 Host. I have installed MongoDB successfully (packages etc.), but when

8条回答
  •  感动是毒
    2020-11-28 06:04

    Change the ownership mongodb-27017.sock file in /tmp directory and start the mongod again.

    cd /tmp
    
    
    sudo chown mongodb:mongodb mongodb-27017.sock
    
    sudo systemctl start mongod
    

提交回复
热议问题