Starting mongod: about to fork child process, waiting until server is ready for connections.
ERROR: child process failed, exited with error number 100
Error log shows :
ERROR: Insufficient free space for journal files
Solution :[root@ip-172-31-45-60 ~]# service mongod restart
Stopping mongod: [FAILED]
Starting mongod: about to fork child process, waiting until server is ready for connections.
forked process: 14602
all output going to: /var/log/mongo/mongod.log
ERROR: child process failed, exited with error number 100
[FAILED]
[root@ip-172-31-45-60 ~]#
First run
mongod --smallfiles
Add or uncommentvi /etc/mongod.conf
Save and restart mongodbnojournal = true
[root@ip-172-31-45-60 ~]# service mongod restart
Stopping mongod: [FAILED]
Starting mongod: about to fork child process, waiting until server is ready for connections.
forked process: 15098
all output going to: /var/log/mongo/mongod.log
child process started successfully, parent exiting
[ OK ]
[root@ip-172-31-45-60 ~]#