mongodb 无法启动 exception in initAndListen: 12596 old lock file, terminating

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

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

rm -rf /home/mongos/data/r1/mongod.lock

bin/mongod --repair --dbpath /home/mongos/data/r1

猜你喜欢

转载自yangchunhe.iteye.com/blog/1770736
今日推荐