exception in initAndListen: 12596 old lock file, terminating
来源:互联网 发布:js base64 key 编辑:程序博客网 时间:2024/05/18 01:31
#mongd -f /etc/mongodb.conf时报错
monogdb.log日志分析
Unclean shutdown detected.
Please visit http://dochub.mongodb.org/core/repair for recovery instructions.*************
Wed Nov 5 04:14:35.951 [initandlisten] exception in initAndListen: 12596 old lock file, terminating
Wed Nov 5 04:14:35.951 dbexit:
Wed Nov 5 04:14:35.951 [initandlisten] shutdown: going to close listening sockets...
Wed Nov 5 04:14:35.951 [initandlisten] shutdown: going to flush diaglog...
Wed Nov 5 04:14:35.951 [initandlisten] shutdown: going to close sockets...
Wed Nov 5 04:14:35.951 [initandlisten] shutdown: waiting for fs preallocator...
Wed Nov 5 04:14:35.951 [initandlisten] shutdown: closing all files...
Wed Nov 5 04:14:35.951 [initandlisten] closeAllFiles() finishe
Wed Apr 1 04:14:35.951 dbexit: really exiting now
提示错误分析:存在一个久的mongod.lock文件
根本原因:云主机意外关机,导致数据库未正常关闭
解决办法:删除mongod.lock文件,再次重启数据库
#mv mongod.lock mongod.lock.bak
#mongd -f /etc/mongodb.conf
检查数据库有无异常
后续作业:如果有异常建议执行
>db.repairDatabase()
- mongodb exception in initAndListen: 12596 old lock file, terminating解决方法
- exception in initAndListen: 12596 old lock file, terminating
- exception in initAndListen: 12596 old lock file, terminating
- mongodb 错误代码 exception in initAndListen: 12596 old lock file, terminating
- mongo启动异常-mongodb exception in initAndListen: 7026old lock file, terminating
- [mongoDB]exception in initAndListen: 20 Attempted to create a lock file on a read-only directory:
- exception in initAndListen: 29 Data directory /data/db not found., terminating
- [initandlisten] exception in initAndListen: 28663 Cannot start server
- mongo启动异常-mongodb exception in initAndListen
- linux32位mongodb启动报错【exception in initAndListen 】
- MongoDB在windows下出现old lock file
- Java异常:Exception in thread "main" java.lang.ArithmeticException: Non-terminating decimal expansion;
- Java异常:Exception in thread "main" java.lang.ArithmeticException: Non-terminating decimal expansion;
- Exception in thread "main" java.lang.ArithmeticException: Non-terminating decimal expansion; no exac
- file lock in the Linux system
- Java Exception: Non-terminating decimal expansion
- Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation'
- Terminating app due to uncaught exception 'NSUnknownKeyException'
- C#客户端日志记录
- Maven学习
- 图解CodeSmith使用和实用教程一 - 入门和生成MIS项目实体层代码
- Settings-battery
- 静态方法和实例方法的区别
- exception in initAndListen: 12596 old lock file, terminating
- iOS开发之数据以及对象归档与解归档
- OpenLayers 3 之 使用地理数据传输格式GeoJSON
- poj1661 并查集简单运用
- 斐波那契数列计算时间复杂度之彻底分析
- IOS8 消息推送
- MyBatis一对多和多对一
- IO复习
- 围巾的纠结(并查集之非完整集合的子集合是否连成圈的问题)