【问题标题】:Unable to start mongodb without access control没有访问控制无法启动mongodb
【发布时间】: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

请推荐

【问题讨论】:

标签: mongodb amazon-web-services amazon-ec2 ubuntu-16.04


【解决方案1】:

试试:

sudo service mongod restart
sudo service mongod status

sudo service mongod stop
sudo service mongod status

然后也许你要遵循的命令

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-02-05
    • 2019-06-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-05-23
    • 1970-01-01
    相关资源
    最近更新 更多