centos7 启动 mongodb 报错
PHPz
PHPz 2017-05-02 09:21:01
0
2
1159

centos7 yum 安装 mongodb
执行 systemctl start mongod
日志:
mongod.service - SYSV: Mongo is a scalable, document-oriented database.
Loaded: loaded (/etc/rc.d/init.d/mongod)
Active: failed (Result: exit-code) since 四 2016-08-18 20:54:19 CST; 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 28344 ExecStop=/etc/rc.d/init.d/mongod stop (code=exited, status=0/SUCCESS)
Process: 28692 ExecStart=/etc/rc.d/init.d/mongod start (code=exited, status=1/FAILURE)
8月 18 20:54:19 localhost.localdomain systemd[1]: Starting SYSV: Mongo is a scalable, document-oriented database....
8月 18 20:54:19 localhost.localdomain runuser[28699]: pam_unix(runuser:session): session opened for user mongod by (uid=0)
8月 18 20:54:19 localhost.localdomain runuser[28699]: pam_unix(runuser:session): session closed for user mongod
8月 18 20:54:19 localhost.localdomain mongod[28692]: Starting mongod: [失败]
8月 18 20:54:19 localhost.localdomain systemd[1]: mongod.service: control process exited, code=exited status=1
8月 18 20:54:19 localhost.localdomain systemd[1]: Failed to start SYSV: Mongo is a scalable, document-oriented database..
8月 18 20:54:19 localhost.localdomain systemd[1]: Unit mongod.service entered failed state.
8月 18 20:54:19 localhost.localdomain systemd[1]: mongod.service failed.

PHPz
PHPz

学习是最好的投资!

membalas semua (2)
phpcn_u5693

Saya tidak dapat melihat sebab khusus untuk ini. Anda perlu pergi ke mongod.log untuk melihat sebab khusus Untuk paparan dan pengendalian ralat khusus, sila rujuk artikel ini:http://www.youyong.top/. artikel/115949eb7c3e8

    洪涛

    看看mongod启动的log,应该在/var/log/mongo/mongod.log

      Muat turun terkini
      Lagi>
      kesan web
      Kod sumber laman web
      Bahan laman web
      Templat hujung hadapan
      Tentang kita Penafian Sitemap
      Laman web PHP Cina:Latihan PHP dalam talian kebajikan awam,Bantu pelajar PHP berkembang dengan cepat!