【发布时间】:2020-04-28 22:18:08
【问题描述】:
我正在使用 EC2(适用于 Ubuntu 16.04)并且我已经安装了 mongodb 3.6 但是当我使用以下命令启动它时
mongod --port 27017 --dbpath /data/db
出现以下错误
An unsupported journal format detected - If you are trying to rollback from version 4.0 to 3.6, please re-start a 4.0 binary and cleanly shut it down so that the journal format will be downgraded.
Assertion: 28595:13: Permission denied src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 488
exception in initAndListen: Location28595: 13: Permission denied, terminating
Invariant failure globalStorageEngine src/mongo/db/service_context_d.cpp 272
请推荐
【问题讨论】:
-
也许看看docs.mongodb.com/manual/release-notes 并检查升级/降级程序
-
但是什么命令,我没有找到合适的命令来替换二进制文件
标签: mongodb amazon-web-services amazon-ec2 ubuntu-16.04