无法在没有访问控制的情况下启动mongodb

问题描述 投票:0回答:1

我正在使用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

请提出建议

mongodb amazon-web-services amazon-ec2 ubuntu-16.04
1个回答
0
投票

尝试:

© www.soinside.com 2019 - 2024. All rights reserved.