mongodb 没法启动 exception in initAndListen: 12596 old lock file, terminating
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
页:
[1]