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