小编Yya*_*a09的帖子

Mongodb没有在Ubuntu 16.04上工作

在这里按照本教程安装了mongodb ,在安装过程中没有错误,但是当我尝试使用此命令启动mongod服务器时,sudo systemctl start mongodb如教程所述,当我尝试使用此命令检查它是否正在运行时,我收到此错误sudo systemctl status mongodb.

? mongodb.service - High-performance, schema-free document-oriented 

database
   Loaded: loaded (/etc/systemd/system/mongodb.service; enabled; vendor preset: 
   Active: failed (Result: exit-code) since Rab 2016-06-01 18:04:20 MYT; 4s ago
  Process: 8241 ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf (cod
 Main PID: 8241 (code=exited, status=14)

Jun 01 18:04:20 yasinya systemd[1]: Started High-performance, schema-free docume
Jun 01 18:04:20 yasinya systemd[1]: mongodb.service: Main process exited, code=e
Jun 01 18:04:20 yasinya systemd[1]: mongodb.service: Unit entered failed state.
Jun …
Run Code Online (Sandbox Code Playgroud)

ubuntu mongodb

17
推荐指数
6
解决办法
4万
查看次数

标签 统计

mongodb ×1

ubuntu ×1