【问题标题】:mongodb on VMPlayer ubuntuVMPlayer ubuntu 上的 mongodb
【发布时间】:2012-05-22 04:15:38
【问题描述】:

我已经在 windows7 上运行的 VMplayer 中的 ubuntu 上安装了 mongoDB。

我已经编辑了主机文件

机器名 192.168.1.12.

我安装了所有软件包并尝试启动 mongod。 这是我得到的错误:

ubuntu:/etc/init.d$ start mongodb start: 拒绝发送消息,1 匹配规则; type="method_call", sender=":1.128" (uid=1000 pid=9669 comm="启动 mongodb") 接口="com.ubuntu.Upstart0_6.Job" member="开始" 错误名称="(未设置)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")

您能告诉我可能是什么问题吗?
我能够在 ubuntu 中成功安装。

【问题讨论】:

    标签: mongodb


    【解决方案1】:

    这是权限错误,你需要sudo,即运行以下,你会没事的-

    sudo 启动 mongodb

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-12-02
      • 1970-01-01
      • 1970-01-01
      • 2012-07-10
      • 2022-08-14
      • 2013-03-29
      • 2016-09-23
      • 2016-08-29
      相关资源
      最近更新 更多