mongodb 没法启动 exception in initAndListen: 12596 old
时间:2022-03-14 03:39
mongodb 无法启动 exception in initAndListen: 12596 old lock file, terminating
我当前的mongodb数据库保存目录 /data/
执行一下命令问题即可解决:
rm -rf /data/mongod.lock
bin/mongod --repair --dbpath data