Board index MISCELLANEOUS Errors in Terminal

Mongodb wont start ERROR: child process failed, exited with

Postby a24uall » Sat Nov 30, 2013 4:35 pm

After installation mongodb wont start and the error I receive is :
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

[[email protected] ~]# 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]
[[email protected] ~]#


Solution :

First run
mongod --smallfiles

vi /etc/mongod.conf

Add or uncomment
nojournal = true

Save and restart mongodb

[[email protected] ~]# 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 ]
[[email protected] ~]#
Arun
WebhostingDevelopment.com
a24uall
Site Admin
 
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Return to Errors in Terminal

Who is online

Users browsing this forum: No registered users and 2 guests


cron