打开mongodb的日志文件发现:exception in initAndListen: 12596 old lock file, terminating
解决方法:
1、删除.../db下的.lock文件 db是数据库存放位置
2、进入mongodb的bin目录输入命令 mongod --repair
3、重启mongoDB
打开mongodb的日志文件发现:exception in initAndListen: 12596 old lock file, terminating
解决方法: