Mongo DB无法在Ubuntu0.16.04.2中运行

时间:2016-08-13 11:19:38

标签: mongodb ubuntu ubuntu-16.04

我刚刚按照here上的说明安装了mongodb。

当我尝试使用命令

启动mongodb时
  sudo systemctl status mongodb

它转到下一个命令行,之后我运行命令

 sudo systemctl status mongodb

我收到以下消息

   mongodb.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/etc/systemd/system/mongodb.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2016-08-13 16:37:29 IST; 2min 50s ago
   Process: 10572 ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf (code=exited, status=14)
   Main PID: 10572 (code=exited, status=14)
   Aug 13 16:37:28 nagainfo-Lenovo-G50-70 systemd[1]: Started High-performance, schema-free document-oriented database.
   Aug 13 16:37:29 nagainfo-Lenovo-G50-70 systemd[1]: mongodb.service: Main process exited, code=exited, status=14/n/a
   Aug 13 16:37:29 nagainfo-Lenovo-G50-70 systemd[1]: mongodb.service: Unit entered failed state.
   Aug 13 16:37:29 nagainfo-Lenovo-G50-70 systemd[1]: mongodb.service: Failed with result 'exit-code'.

请帮我解决这个问题。我尝试了很多东西,比如给予log和lib fies的许可。但对我来说没什么用。

提前致谢:)

0 个答案:

没有答案