Ruijie Community

Title: MongoDB service fail after restart, but system running well [Print this page]

Author: lucky@mitra.com    Time: 2017-12-8 00:11
Title: MongoDB service fail after restart, but system running well
Hello, there,

I've just install MACC Base on our server. After running ./install.sh script, I find that MongoDB service is running well.
  1. [root@macc]# service mongod status
  2. ● mongod.service - SYSV: Mongo is a scalable, document-oriented database.
  3.    Loaded: loaded (/etc/rc.d/init.d/mongod; bad; vendor preset: disabled)
  4.    Active: inactive (dead)
  5.      Docs: man:systemd-sysv-generator(8)
However, after I reboot the server, MongoDB service fail to start eventhough the system seems running as expected (can login, can do setting etc). These are the message shown on my screen.
  1. [root@macc SSL]# service mongod status
  2. ● mongod.service - SYSV: Mongo is a scalable, document-oriented database.
  3.    Loaded: loaded (/etc/rc.d/init.d/mongod; bad; vendor preset: disabled)
  4.    Active: failed (Result: exit-code) since Thu 2017-12-07 22:37:06 CST; 32min ago
  5.      Docs: man:systemd-sysv-generator(8)
  6.   Process: 1519 ExecStart=/etc/rc.d/init.d/mongod start (code=exited, status=1/FAILURE)
  7. Dec 07 22:37:06 macc-base-server systemd[1]: Starting SYSV: Mongo is a scalable, document.....
  8. Dec 07 22:37:06 macc-base-server runuser[1530]: pam_unix(runuser:session): session opened...0)
  9. Dec 07 22:37:06 macc-base-server mongod[1519]: Starting mongod: [FAILED]
  10. Dec 07 22:37:06 macc-base-server systemd[1]: mongod.service: control process exited, code...=1
  11. Dec 07 22:37:06 macc-base-server systemd[1]: Failed to start SYSV: Mongo is a scalable, d.....
  12. Dec 07 22:37:06 macc-base-server systemd[1]: Unit mongod.service entered failed state.
  13. Dec 07 22:37:06 macc-base-server systemd[1]: mongod.service failed.
  14. Hint: Some lines were ellipsized, use -l to show in full.
I have tried to bring the service up by executing this but still cannot get the service to run.
  1. [root@macc SSL]# service mongod start
Can anyone advice, what should I do? Thank you in advance for your suggestion.

-Lucky I. Ismail


Author: Levy    Time: 2017-12-10 16:05
what is youe linux system, have you downloaded the system suggested in the installation guide ?

Author: lucky@mitra.com    Time: 2017-12-12 16:08
Levy replied at 2017-12-10 15:05
what is youe linux system, have you downloaded the system suggested in the installation guide ?

I use Centos 7.2.1511 and MACC Base 3.1.24655_Build20171030.




Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2