VMPlayer ubuntu上的mongodb

VMPlayer ubuntu上的mongodb,mongodb,Mongodb,我已经在windows7上运行的VMplayer中的ubuntu上安装了mongoDB 我已经编辑了hosts文件,以便 机械名称192.168.1.12 我安装了所有的软件包并试图启动mongod。 这就是我得到的错误: ubuntu:/etc/init.d$start mongodb start:拒绝发送消息,1 匹配规则;type=“方法调用”,sender=“:1.128”(uid=1000 pid=9669 comm=“start mongodb”)interface=“com.ubu

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

我已经编辑了hosts文件,以便

机械名称192.168.1.12

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

ubuntu:/etc/init.d$start mongodb start:拒绝发送消息,1 匹配规则;type=“方法调用”,sender=“:1.128”(uid=1000 pid=9669 comm=“start mongodb”)interface=“com.ubuntu.Upstart0\u 6.Job” member=“Start”error name=“(unset)”请求的\u reply=“0” destination=“com.ubuntu.Upstart”(uid=0 pid=1 comm=“/sbin/init”)

您能告诉我有什么问题吗?

我能够在ubuntu中成功地安装到pevious中。

这是一个权限错误,您需要sudo,即运行以下命令,您就可以了-

sudo启动mongodb