Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11909

Stacktrace at start of mongod with replset option enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: 2.4.8
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
    • Environment:
      Ubuntu Server 12.04
    • Operating System:
      Linux

      Description

      Hello
      I have a mongodb server running on a production server and I want to active the ReplicaSet option to ensure none of our data is lost.
      When I add the replSet option on the config file, mongod refuse to start and print a stacktrace.

      Sun Dec  1 14:14:37.028 terminate() called, printing stack (if implemented for platform):
      0xde05e1 0x6cf3de 0x7f94fe0ad846 0x7f94fe0ad873 0x7f94fe0ad96e 0x7f94fe05aa07 0x7f94fe06a284 0x7f94fe05ea74 0x7f94fe05fb6b 0xdfde3f 0xdfe78b 0xdfb430 0x9ee8ff 0x6dd6b0 0x6df459 0x7f94fd74876d 0x6cf1c9 
       /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xde05e1]
       /usr/bin/mongod(_ZN5mongo11myterminateEv+0x3e) [0x6cf3de]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5846) [0x7f94fe0ad846]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5873) [0x7f94fe0ad873]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb596e) [0x7f94fe0ad96e]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt21__throw_runtime_errorPKc+0x57) [0x7f94fe05aa07]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x72284) [0x7f94fe06a284]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt6locale5_ImplC1EPKcm+0x44) [0x7f94fe05ea74]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt6localeC1EPKc+0x73b) [0x7f94fe05fb6b]
       /usr/bin/mongod(_ZN5boost11filesystem34path21wchar_t_codecvt_facetEv+0x4f) [0xdfde3f]
       /usr/bin/mongod(_ZNK5boost11filesystem34path14root_directoryEv+0xbb) [0xdfe78b]
       /usr/bin/mongod(_ZN5boost11filesystem38absoluteERKNS0_4pathES3_+0x40) [0xdfb430]
       /usr/bin/mongod(_ZN5mongo27initializeServerGlobalStateEb+0x15f) [0x9ee8ff]
       /usr/bin/mongod() [0x6dd6b0]
       /usr/bin/mongod(main+0x9) [0x6df459]
       /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f94fd74876d]
       /usr/bin/mongod(__gxx_personality_v0+0x499) [0x6cf1c9]
      Sun Dec  1 14:14:37.031 Got signal: 6 (Aborted).
       
      Sun Dec  1 14:14:37.033 Backtrace:
      0xde05e1 0x6d0559 0x7f94fd75d4a0 0x7f94fd75d425 0x7f94fd760b8b 0x6cf3e3 0x7f94fe0ad846 0x7f94fe0ad873 0x7f94fe0ad96e 0x7f94fe05aa07 0x7f94fe06a284 0x7f94fe05ea74 0x7f94fe05fb6b 0xdfde3f 0xdfe78b 0xdfb430 0x9ee8ff 0x6dd6b0 0x6df459 0x7f94fd74876d 
       /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xde05e1]
       /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x6d0559]
       /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f94fd75d4a0]
       /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f94fd75d425]
       /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f94fd760b8b]
       /usr/bin/mongod(_ZN5mongo11myterminateEv+0x43) [0x6cf3e3]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5846) [0x7f94fe0ad846]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5873) [0x7f94fe0ad873]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb596e) [0x7f94fe0ad96e]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt21__throw_runtime_errorPKc+0x57) [0x7f94fe05aa07]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x72284) [0x7f94fe06a284]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt6locale5_ImplC1EPKcm+0x44) [0x7f94fe05ea74]
       /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt6localeC1EPKc+0x73b) [0x7f94fe05fb6b]
       /usr/bin/mongod(_ZN5boost11filesystem34path21wchar_t_codecvt_facetEv+0x4f) [0xdfde3f]
       /usr/bin/mongod(_ZNK5boost11filesystem34path14root_directoryEv+0xbb) [0xdfe78b]
       /usr/bin/mongod(_ZN5boost11filesystem38absoluteERKNS0_4pathES3_+0x40) [0xdfb430]
       /usr/bin/mongod(_ZN5mongo27initializeServerGlobalStateEb+0x15f) [0x9ee8ff]
       /usr/bin/mongod() [0x6dd6b0]
       /usr/bin/mongod(main+0x9) [0x6df459]
       /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f94fd74876d]

      Here is the config file:

      dbpath=/var/lib/mongodb
      logpath=/var/log/mongodb/mongodb.log
      logappend=true
      port = 27017
      replSet = dmoprod

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: