mongodb 没法启动 exception in initAndListen: 12596 old lock file, terminating
mongodb 没法启动 exception in initAndListen: 12596 old lock file, terminating
www.MyException.Cn,网友分享于:2013-01-24 浏览:124次
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
bin/mongod --repair --dbpath /home/mongos/data/r1