[initandlisten] exception in initAndListen: 28663 Cannot start server
来源:互联网 发布:海信液晶电视网络升级 编辑:程序博客网 时间:2024/05/17 07:23
问题
在32位的windows上安装MongoDB,之后执行 mongod 启动服务器出现:
2016-03-22T11:02:51.226+0800 I CONTROL [main]2016-03-22T11:02:51.227+0800 W CONTROL [main] 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.2016-03-22T11:02:51.227+0800 I CONTROL [main]2016-03-22T11:02:51.231+0800 I CONTROL [main] Hotfix KB2731284 or later updateis not installed, will zero-out data files2016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] MongoDB starting : pid=6324 port=27017 dbpath=C:\data\db\ 32-bit host=XX-PC2016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] targetMinOS: Windows Vista/Windows Server 20082016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] db version v3.2.42016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] git version: e2ee9ffcf9f5a94fad76802e28cc978718bb7a302016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] allocator: tcmalloc2016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] modules: none2016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] build environment:2016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] distarch: i3862016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] target_arch: i3862016-03-22T11:02:51.235+0800 I CONTROL [initandlisten] options: {}2016-03-22T11:02:51.237+0800 I STORAGE [initandlisten] exception in initAndListen: 28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine explicitly, e.g. --storageEngine=mmapv1., terminating2016-03-22T11:02:51.238+0800 I CONTROL [initandlisten] dbexit: rc: 100
解决方法
按照它的指示:“The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine explicitly, e.g. --storageEngine=mmapv1”,换一个storage engine。
执行:
mongod --dbpath=H:\mongodb\test --storageEngine=mmapv1
4 0
- [initandlisten] exception in initAndListen: 28663 Cannot start server
- mongo启动异常-mongodb exception in initAndListen
- 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
- linux32位mongodb启动报错【exception in initAndListen 】
- mongo启动异常-mongodb exception in initAndListen: 7026old lock file, terminating
- exception in initAndListen: 29 Data directory /data/db not found., terminating
- [mongoDB]exception in initAndListen: 20 Attempted to create a lock file on a read-only directory:
- exception in initAndList en: 28663 Cannot start server.
- I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
- eclipse不能启动Exception in AdtPlugin.start()
- Cannot start server. Server instance is not configured.
- Tomcat启动:Cannot start server. Server instance is not configured.
- I cannot start the X server 问题的解决
- SSIS 之 Exception "Cannot insert duplicate key in object..."
- Cannot find SERVER hostname in network database
- Eclipse使用Maven创建Web时错误:Could not resolve archetype
- <编程之美>数组分割问题
- C++ 内存池 -- C++ Memory Pool
- 在ubuntu14.04上使用Android SDK创建模拟失败
- 【杭电oj】1787 - GCD Again(欧拉函数)
- [initandlisten] exception in initAndListen: 28663 Cannot start server
- Android日志工具类
- 查看代码运行时间
- File upload error - unable to create a temporary file
- 银联常用8583报文域说明--个人整理20160322
- 使用Volley异步加载网络图片
- __cplusplus
- 怎么为PDF文档添加和删除页面
- 用eclipse打包apk和遇到的问题