我試圖在CentOS 6.2上安裝MongoDB,但是當我嘗試啓動它時,它一直崩潰。我收到以下錯誤:MongoDB在啓動時崩潰(用信號6中止)CentOS 6.2 - Azure
mongod --dbpath /mnt/datadrive/data --logpath /mnt/datadrive/data/mongod.log
Tue May 7 14:47:46.913 terminate() called, printing stack (if implemented for platform):
0xdcf361 0x6ce59e 0x3b14ebcbe6 0x3b14ebcc13 0x3b14ebcd0e 0x3b14e61ce7 0x3b14ebaa04 0x3b14e663bc 0x3b14e67226 0xdecc8f 0xded5db 0xdea280 0x9e846f 0x6dc742 0x6de4d9 0x3b11a1ecdd 0x6ce389
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdcf361]
mongod(_ZN5mongo11myterminateEv+0x3e) [0x6ce59e]
/usr/lib64/libstdc++.so.6() [0x3b14ebcbe6]
/usr/lib64/libstdc++.so.6() [0x3b14ebcc13]
/usr/lib64/libstdc++.so.6() [0x3b14ebcd0e]
/usr/lib64/libstdc++.so.6(_ZSt21__throw_runtime_errorPKc+0x67) [0x3b14e61ce7]
/usr/lib64/libstdc++.so.6() [0x3b14ebaa04]
/usr/lib64/libstdc++.so.6(_ZNSt6locale5_ImplC2EPKcm+0x4c) [0x3b14e663bc]
/usr/lib64/libstdc++.so.6(_ZNSt6localeC2EPKc+0x5f6) [0x3b14e67226]
mongod(_ZN5boost11filesystem34path21wchar_t_codecvt_facetEv+0x4f) [0xdecc8f]
mongod(_ZNK5boost11filesystem34path14root_directoryEv+0xbb) [0xded5db]
mongod(_ZN5boost11filesystem38absoluteERKNS0_4pathES3_+0x40) [0xdea280]
mongod(_ZN5mongo27initializeServerGlobalStateEb+0x15f) [0x9e846f]
mongod() [0x6dc742]
mongod(main+0x9) [0x6de4d9]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x3b11a1ecdd]
mongod(__gxx_personality_v0+0x499) [0x6ce389]
Tue May 7 14:47:46.918 Got signal: 6 (Aborted).
Tue May 7 14:47:46.922 Backtrace:
0xdcf361 0x6cf729 0x3b11a32920 0x3b11a328a5 0x3b11a34085 0x6ce5a3 0x3b14ebcbe6 0x3b14ebcc13 0x3b14ebcd0e 0x3b14e61ce7 0x3b14ebaa04 0x3b14e663bc 0x3b14e67226 0xdecc8f 0xded5db 0xdea280 0x9e846f 0x6dc742 0x6de4d9 0x3b11a1ecdd
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdcf361]
mongod(_ZN5mongo10abruptQuitEi+0x399) [0x6cf729]
/lib64/libc.so.6() [0x3b11a32920]
/lib64/libc.so.6(gsignal+0x35) [0x3b11a328a5]
/lib64/libc.so.6(abort+0x175) [0x3b11a34085]
mongod(_ZN5mongo11myterminateEv+0x43) [0x6ce5a3]
/usr/lib64/libstdc++.so.6() [0x3b14ebcbe6]
/usr/lib64/libstdc++.so.6() [0x3b14ebcc13]
/usr/lib64/libstdc++.so.6() [0x3b14ebcd0e]
/usr/lib64/libstdc++.so.6(_ZSt21__throw_runtime_errorPKc+0x67) [0x3b14e61ce7]
/usr/lib64/libstdc++.so.6() [0x3b14ebaa04]
/usr/lib64/libstdc++.so.6(_ZNSt6locale5_ImplC2EPKcm+0x4c) [0x3b14e663bc]
/usr/lib64/libstdc++.so.6(_ZNSt6localeC2EPKc+0x5f6) [0x3b14e67226]
mongod(_ZN5boost11filesystem34path21wchar_t_codecvt_facetEv+0x4f) [0xdecc8f]
mongod(_ZNK5boost11filesystem34path14root_directoryEv+0xbb) [0xded5db]
mongod(_ZN5boost11filesystem38absoluteERKNS0_4pathES3_+0x40) [0xdea280]
mongod(_ZN5mongo27initializeServerGlobalStateEb+0x15f) [0x9e846f]
mongod() [0x6dc742]
mongod(main+0x9) [0x6de4d9]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x3b11a1ecdd]
我一直在關注教程here。 有關如何解決此問題的任何建議?
嘗試在開始之前將您的語言環境設置爲不同的內容。 請參閱[JIRA SERVER門票](https://jira.mongodb.org/browse/SERVER-9032) – 2013-05-07 15:38:47