the original link not directing a start: the child process failed, exited with the error number 100
http://f.dataguru.cn/thread-107361-1-1.html (reference: refined into gold)
p>
today when I was at the start the mongo, find don’t come, since an error: child process failed, exited with the error number 100 strong> and then go to/var/log/mongo/mongod log view startup log, found: p>
**************
Unclean shutdown detected.
Please visit
http://dochub.mongodb.org/core/repair for recovery instructions.
*************
Sat Apr 20 09:40:31.286 [initandlisten] exception in initandlisten: 12596 old lock file, terminating
seems to be caused by not closing mongodb properly. Take a look at the link and launch it as a fix.
first delete the mongod. Lock under /var/lib/mongo
and then start in repair mode:
and then again at startup
you can now see that the mongod process exists and is working properly
then how to close mongodb normally?
can go to the official documents:
http://docs.mongodb.org/manual/tutorial/manage-mongodb-processes/
connect to the server through shell first:
mongo
use admin
db.shutdownServer()
or kill -15 < pid> , note that kill -9 can cause data file corruption
Read More:
- Mongodb start error: child process failed, exited with error number 1
- Error: child process failed, exited with error number 1
- MongoDB Error: Failed to start mongod.service: Unit mongodb.service is masked
- The mongoDB service failed to start (exception: connect failed)
- Error: (serious: a child container failed during start) (server component failed to start so Tomcat is unable)
- Nginx start error: job for nginx.service failed because the control process exited with error code
- systemctl start docker Job for docker.service failed because the control process exited with error
- Solve the error in Ubuntu 18.04: called “net usershare info” but it failed: failed to execute child process “net”
- Mongodb — startup exception, error report ERROR:NUMBER 100
- Net start mongodb failed to start: system error 5 has occurred. Access is denied
- NPM compilation failed: can’t resolve ‘child_ process’
- Git bash here running error: failed to fork child process
- A child container failed during start
- Job for network.service Failed because the control process exited with error code. See “SystemC
- MongoDB Error: Failed to start mongod.service: Unit mongod.service is not loaded properly
- Job for docker.service failed because the control process exited with error code. See systemctl sta
- A child container failed during start Tomcat error prompt
- Idea start error: java.lang.IllegalStateException : failed to create a child event loop
- Linux virtual machine network “job for” network.service failed because the control process exited with error code”
- Caused by: org.apache.catalina.LifecycleException: A child container failed during start