CNode

linux系统安装mongodb报错

问答
MMyNodeJs__legacy_5588c0ab01d3ce0d73d69098发布于10 年前最后回复10 年前1 回复4197 浏览0 收藏

执行的命令是./mongod 错误是 2016-08-08T14:55:38.763+0800 I CONTROL [main] 2016-08-08T14:55:38.763+0800 W CONTROL [main] 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability. 2016-08-08T14:55:38.763+0800 I CONTROL [main] 2016-08-08T14:55:38.767+0800 I CONTROL [initandlisten] MongoDB starting : pid=3451 port=27017 dbpath=/data/db 32-bit host=user-virtual-machine 2016-08-08T14:55:38.767+0800 I CONTROL [initandlisten] db version v3.2.8 2016-08-08T14:55:38.768+0800 I CONTROL [initandlisten] git version: ed70e33130c977bda0024c125b56d159573dbaf0 2016-08-08T14:55:38.768+0800 I CONTROL [initandlisten] allocator: tcmalloc 2016-08-08T14:55:38.768+0800 I CONTROL [initandlisten] modules: none 2016-08-08T14:55:38.768+0800 I CONTROL [initandlisten] build environment: 2016-08-08T14:55:38.768+0800 I CONTROL [initandlisten] distarch: i686 2016-08-08T14:55:38.768+0800 I CONTROL [initandlisten] target_arch: i386 2016-08-08T14:55:38.768+0800 I CONTROL [initandlisten] options: {} 2016-08-08T14:55:38.808+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., terminating 2016-08-08T14:55:38.808+0800 I CONTROL [initandlisten] dbexit: rc: 100 怎么解决?

查看回复

回复 (1)

K
kelvv#1·10 年前

你用docker来装,方便很多

参与回复
登录后即可参与回复。登录