https://my.oschina.net/chinaearl/blog/111077
1.刪除data目錄下的mongodb.lock
2.刪除logs目錄夏的mongodb.log
3.啟動monodb
sudo /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath=/usr/local/mongodb/logs/mongodb.log --fork
https://my.oschina.net/chinaearl/blog/111077
1.刪除data目錄下的mongodb.lock
2.刪除logs目錄夏的mongodb.log
3.啟動monodb
sudo /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath=/usr/local/mongodb/logs/mongodb.log --fork