1

我在 Centos 7.4 上新安装了 Mongo DB 3.2,以下是配置

# mongod.conf

# for documentation of all options, see:
#   http://docs.mongodb.org/manual/reference/configuration-options/

# where to write logging data.
systemLog:
  destination: file
  logAppend: true
  path: /var/log/mongodb/mongod.log

# Where and how to store data.
storage:
  dbPath: /var/lib/mongo
  journal:
    enabled: true
#  engine:

我取消了上面最后一行的注释engine: wiredTiger并使用命令重新启动了 mongodb service mongodb restart,但服务器没有启动并给出以下错误

[root@server ~]# service mongod stop
Stopping mongod (via systemctl):        [  OK  ]
[root@server ~]# service mongod start
Starting mongod (via systemctl):  Job for mongod.service failed because the 
control process exited with error code. See "systemctl status mongod.service" 
and "journalctl -xe" for details.
                                        [FAILED]

当我将更改恢复为原始配置时,服务器会重新启动。关于如何添加wiredTiger到配置的任何帮助?

相同的过程适用于另一台服务器,但不适用于该服务器

4

0 回答 0