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

mongod is no longer running, "terminate called()" error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.6
    • Component/s: Performance
    • Environment:
      Mongo installed on a Unix machine, I'm accessing it from a windows computer via putty/ssh
    • Linux

      Never had issues with mongo before. I'd recently installed it on a cluster at my University because there were several .bson files I needed to analyze there, and I've been working with it from my laptop. Was able to restore all the files, make queries successfully, etc. Yesterday when I started mongo and typed "show dbs" I got some error and found a lock file in data/db (sorry I don't have the specific error anymore), but searching online indicated that the databases may have been corrupted due to not exiting mongo properly (very likely, I didn't realize being careless with this would cause problems. Lesson learned.) I couldn't find a way to fix this, so I simply removed everything from data/db, the goal being to just restore them all. However, then when I started mongod, the following error occurred. I tried removing and reinstalling mongo, but I still get this error. Please help!

      ./mongod --dbpath='/home/user1/data/db'

      Thu Jun 28 21:38:08 terminate() called, printing stack:
      0xa957de 0x34cecbce16 0x34cecbce43 0x34cecbcf2a 0xaabbf1 0x57338c 0xa9cfaf 0x34c9c1d994 0x501b89
      ./mongod(_ZN5mongo11myterminateEv+0x5e) [0xa957de]
      /usr/lib64/libstdc++.so.6 [0x34cecbce16]
      /usr/lib64/libstdc++.so.6 [0x34cecbce43]
      /usr/lib64/libstdc++.so.6 [0x34cecbcf2a]
      ./mongod(_ZN5boost6thread12start_threadEv+0xf1) [0xaabbf1]
      ./mongod(_ZN5mongo13BackgroundJob2goEv+0x18c) [0x57338c]
      ./mongod(main+0x694f) [0xa9cfaf]
      /lib64/libc.so.6(__libc_start_main+0xf4) [0x34c9c1d994]
      ./mongod(__gxx_personality_v0+0x3e9) [0x501b89]
      Thu Jun 28 21:38:08 Got signal: 6 (Aborted).

      Thu Jun 28 21:38:08 Backtrace:
      0xa95ce9 0x34c9c302d0 0x34c9c30265 0x34c9c31d10 0xa958ab 0x34cecbce16 0x34cecbce43 0x34cecbcf2a 0xaabbf1 0x57338c 0xa9cfaf 0x34c9c1d994 0x501b89
      ./mongod(_ZN5mongo10abruptQuitEi+0x3a9) [0xa95ce9]
      /lib64/libc.so.6 [0x34c9c302d0]
      /lib64/libc.so.6(gsignal+0x35) [0x34c9c30265]
      /lib64/libc.so.6(abort+0x110) [0x34c9c31d10]
      ./mongod(_ZN5mongo11myterminateEv+0x12b) [0xa958ab]
      /usr/lib64/libstdc++.so.6 [0x34cecbce16]
      /usr/lib64/libstdc++.so.6 [0x34cecbce43]
      /usr/lib64/libstdc++.so.6 [0x34cecbcf2a]
      ./mongod(_ZN5boost6thread12start_threadEv+0xf1) [0xaabbf1]
      ./mongod(_ZN5mongo13BackgroundJob2goEv+0x18c) [0x57338c]
      ./mongod(main+0x694f) [0xa9cfaf]
      /lib64/libc.so.6(__libc_start_main+0xf4) [0x34c9c1d994]
      ./mongod(__gxx_personality_v0+0x3e9) [0x501b89]

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            mel23 Melanie Galloway
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: