Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

MongoDB service fail after restart, but system running well Reply

lucky@mitra.com

Level 1

MongoDB service fail after restart, but system running well
8371 2 2017-12-8 00:11:22
Original
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

0 2017-12-10 16:05:59 View all replies
what is youe linux system, have you downloaded the system suggested in the installation guide ?

0 2017-12-12 16:08:12 View all replies
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.

Related Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd