[main] 32-bit servers don't have journaling enabled by default. Please use --journal if you want dur
2017-03-21 16:16
811 查看
安装mongodb进行部署的时候执行指令E:\Program Files\MongoDB\bin>mongod.exe --dbpath E:\Program Files\MongoDB\data\db
总会遇到如下问题:
[main] 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
[main]
[main] Hotfix KB2731284 or later update is installed, no need to zero-out data files
根据其提示在指令后面加上--journal 仍然不行,如下
把这个两个文件放在放在f盘里面,然后在执行E:\Program Files\MongoDB\bin>mongod.exe --dbpath F:\data\db,仍会报错 如下:
根据其提示执行E:\Program Files\MongoDB\bin>mongod.exe --dbpath F:\data\db --journal
仍然有问题,
根据其提示 在指令中增加 --storageEngine=mmapv1,执行E:\Program Files\MongoDB\bin>mongod.exe --dbpath F:\data\db --journal --storageEngine=mmapv1 则安装成功。原因是:wiredTiger是数据库引擎,当前版本默认的数据库引擎,它不支持32位系统,命令--storageEngine=mmapv1,将wiredTiger引擎切换成mmapv1引擎
后来发现执行 E:\Program Files\MongoDB\bin>mongod -dbpath
"E:\Program Files\MongoDB\Data\db"
-journal --storageEngine=mmapv1 也可以成功。即对路径加引号,前面把data文件放在安装目录下时候执行该指令时候未加引号就不会成功。
总会遇到如下问题:
[main] 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
[main]
[main] Hotfix KB2731284 or later update is installed, no need to zero-out data files
根据其提示在指令后面加上--journal 仍然不行,如下
把这个两个文件放在放在f盘里面,然后在执行E:\Program Files\MongoDB\bin>mongod.exe --dbpath F:\data\db,仍会报错 如下:
根据其提示执行E:\Program Files\MongoDB\bin>mongod.exe --dbpath F:\data\db --journal
仍然有问题,
根据其提示 在指令中增加 --storageEngine=mmapv1,执行E:\Program Files\MongoDB\bin>mongod.exe --dbpath F:\data\db --journal --storageEngine=mmapv1 则安装成功。原因是:wiredTiger是数据库引擎,当前版本默认的数据库引擎,它不支持32位系统,命令--storageEngine=mmapv1,将wiredTiger引擎切换成mmapv1引擎
后来发现执行 E:\Program Files\MongoDB\bin>mongod -dbpath
"E:\Program Files\MongoDB\Data\db"
-journal --storageEngine=mmapv1 也可以成功。即对路径加引号,前面把data文件放在安装目录下时候执行该指令时候未加引号就不会成功。
相关文章推荐
- 安装配置MongoDb报32-bit servers don't have journaling enabled by default. Please use --journal if you wan
- MongoDB错误32-bit servers don't have journaling enabled by default解决方法
- 遭遇开机自检问题:If you want to install linux default partition RAID driver,please do not use OPROM creation oporation
- Recover a file even if it was not committed but it has to have been added when you use git reset head by mistake.
- xampp is currently only availably as 32 bit application please use a 32 bit compatibility library fo
- eclipse创建Adnroid虚拟机提示:XXXX目录.avd is in the way. Use --force if you want to overwrite.
- requests模块报错:Use body.encode('utf-8') if you want to send it encoded in UTF-8.
- If you want to follow your dreams, you have to say no to all the alternatives
- xcode 7 错误:CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG
- If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
- build/core/main.mk:77: You are attempting to build on a 32-bit system. Only 64-bit build environment
- iOS报错 - If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variabl
- You don’t have to use WeakReference to avoid memory leaks
- 【iOS】CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable
- Fedora 24 Will Use Wayland By Default, Fedora 24 Server Drops 32 Bit Support
- install fms in linux: error: if you have warned ERROR: Your distribution, unknown, is not supported by this
- How to tell if you’re running the 32 bit or 64 bit kernel in Mac OS X Snow Leopard
- npm ERR! Please check if you have git installed and in your PATH.
- 请关闭 "use auto layout" for your nibs if you want to match ios < 6
- CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.