MongoDB Error: about to fork child process, waiting until server is ready for connections.

I tried to install MongoDB to CentOS 6.4 64Bit and found the error while I launch mongodb like this:

numactl --interleave=all /usr/bin/mongod -f /etc/mongod.conf

Here are the error code.

about to fork child process, waiting until server is ready for connections.
forked process: 9713
Wed Oct 16 02:00:00.640 terminate() called, printing stack (if implemented for platform):
0xdddd81 0x6cfbae 0x35d60203be6 0x35d60203c13 0x35d60203d0e 0x35d601a8ce7 0x35d60201a04 0x35d601ad3bc 0x35d601ae226 0xdfb5df 0xdfbf2b 0xdf8bd0 0x9ed4df 0x6dde80 0x6dfc29 0x35d5f938cdd 0x6cf999
/usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdddd81]
/usr/bin/mongod(_ZN5mongo11myterminateEv+0x3e) [0x6cfbae]
/usr/lib64/libstdc++.so.6(+0xbcbe6) [0x35d60203be6]
/usr/lib64/libstdc++.so.6(+0xbcc13) [0x35d60203c13]
/usr/lib64/libstdc++.so.6(+0xbcd0e) [0x35d60203d0e]
/usr/lib64/libstdc++.so.6(_ZSt21__throw_runtime_errorPKc+0x67) [0x35d601a8ce7]
/usr/lib64/libstdc++.so.6(+0xbaa04) [0x35d60201a04]
/usr/lib64/libstdc++.so.6(_ZNSt6locale5_ImplC2EPKcm+0x4c) [0x35d601ad3bc]
/usr/lib64/libstdc++.so.6(_ZNSt6localeC2EPKc+0x5f6) [0x35d601ae226]
/usr/bin/mongod(_ZN5boost11filesystem34path21wchar_t_codecvt_facetEv+0x4f) [0xdfb5df]
/usr/bin/mongod(_ZNK5boost11filesystem34path14root_directoryEv+0xbb) [0xdfbf2b]
/usr/bin/mongod(_ZN5boost11filesystem38absoluteERKNS0_4pathES3_+0x40) [0xdf8bd0]
/usr/bin/mongod(_ZN5mongo27initializeServerGlobalStateEb+0x15f) [0x9ed4df]
/usr/bin/mongod() [0x6dde80]
/usr/bin/mongod(main+0x9) [0x6dfc29]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x35d5f938cdd]
/usr/bin/mongod() [0x6cf999]
Wed Oct 16 02:00:00.645 Got signal: 6 (Aborted).

Wed Oct 16 02:00:00.649 Backtrace:
0xdddd81 0x6d0d29 0x35d5f94c960 0x35d5f94c8e5 0x35d5f94e0c5 0x6cfbb3 0x35d60203be6 0x35d60203c13 0x35d60203d0e 0x35d601a8ce7 0x35d60201a04 0x35d601ad3bc 0x35d601ae226 0xdfb5df 0xdfbf2b 0xdf8bd0 0x9ed4df 0x6dde80 0x6dfc29 0x35d5f938cdd
/usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdddd81]
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x6d0d29]
/lib64/libc.so.6(+0x32960) [0x35d5f94c960]
/lib64/libc.so.6(gsignal+0x35) [0x35d5f94c8e5]
/lib64/libc.so.6(abort+0x175) [0x35d5f94e0c5]
/usr/bin/mongod(_ZN5mongo11myterminateEv+0x43) [0x6cfbb3]
/usr/lib64/libstdc++.so.6(+0xbcbe6) [0x35d60203be6]
/usr/lib64/libstdc++.so.6(+0xbcc13) [0x35d60203c13]
/usr/lib64/libstdc++.so.6(+0xbcd0e) [0x35d60203d0e]
/usr/lib64/libstdc++.so.6(_ZSt21__throw_runtime_errorPKc+0x67) [0x35d601a8ce7]
/usr/lib64/libstdc++.so.6(+0xbaa04) [0x35d60201a04]
/usr/lib64/libstdc++.so.6(_ZNSt6locale5_ImplC2EPKcm+0x4c) [0x35d601ad3bc]
/usr/lib64/libstdc++.so.6(_ZNSt6localeC2EPKc+0x5f6) [0x35d601ae226]
/usr/bin/mongod(_ZN5boost11filesystem34path21wchar_t_codecvt_facetEv+0x4f) [0xdfb5df]
/usr/bin/mongod(_ZNK5boost11filesystem34path14root_directoryEv+0xbb) [0xdfbf2b]
/usr/bin/mongod(_ZN5boost11filesystem38absoluteERKNS0_4pathES3_+0x40) [0xdf8bd0]
/usr/bin/mongod(_ZN5mongo27initializeServerGlobalStateEb+0x15f) [0x9ed4df]
/usr/bin/mongod() [0x6dde80]
/usr/bin/mongod(main+0x9) [0x6dfc29]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x35d5f938cdd]

ERROR: child process failed, exited with error number 14

Solved

The way i use to solve the problem by this.

# export LANGUAGE=en_US.UTF-8
# export LANG=en_US.UTF-8
# export LC_ALL=en_US.UTF-8
#
# numactl --interleave=all /usr/bin/mongod -f /etc/mongod.conf
about to fork child process, waiting until server is ready for connections.
forked process: 9821
all output going to: /var/log/mongo/mongod.log
child process started successfully, parent exiting

Tags:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.