mongodb 没法启动 exception in initAndListen: 12596 old

时间:2014-12-10 12:44:49   收藏:0   阅读:205
mongodb 无法启动 exception in initAndListen: 12596 old lock file, terminating

我当前的mongodb数据库保存目录 /data/

 

执行一下命令问题即可解决:

 

rm -rf /data/mongod.lock

bin/mongod --repair --dbpath data

 

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!