【问题标题】:MongoDB - when start the mongodb its shutting down with code:62MongoDB - 当启动 mongodb 时,它使用代码关闭:62
【发布时间】:2019-09-14 22:14:30
【问题描述】:

我按照 MongoDB 文档在 ubuntu 18.04 中运行我的 MongoDB,

当我使用“sudo mongod --dbpath /home/ubuntu/appdb --logpath /home/ubuntu/appdb/mongodb.log --fork”启动 MongoDB 时,终端会收到此错误:

使用代码关闭:62enter image description here

【问题讨论】:

标签: mongodb mongodb-query


【解决方案1】:

删除目录

rmdir data

并创建新的:

mkdir data/db

【讨论】:

  • 所以您丢失了所有数据?糟糕的解决方案。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2019-06-19
  • 2017-06-23
  • 1970-01-01
  • 2017-05-16
  • 1970-01-01
  • 2011-06-26
相关资源
最近更新 更多