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

SIGABRT Restoring Mongo Dump on Ubuntu 14.04 LTS with MongoDB 2.6.10

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.10
    • Component/s: Tools
    • Labels:
      None
    • ALL

      I used mongodump on 2.6.10 from a Debian Linux system to export my entire MongoDB dataset. After a fresh installation on Ubuntu 14.04 LTS on x86_64 from the official 10gen repository, I tried to restore the data on the new Ubuntu server using mongorestore. Following an authentication failure, mongorestore died with a SIGABRT.

      root@ip-10-123-0-209:~# gdb mongorestore --args mongorestore --username mongo --password XXXX dump/
      GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
      Copyright (C) 2014 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "x86_64-linux-gnu".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>.
      Find the GDB manual and other documentation resources online at:
      <http://www.gnu.org/software/gdb/documentation/>.
      For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from mongorestore...(no debugging symbols found)...done.
      (gdb) r
      Starting program: /usr/bin/mongorestore --username mongo --password projectpol dump/
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      Traceback (most recent call last):
        File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
          from libstdcxx.v6.printers import register_libstdcxx_printers
      ImportError: No module named 'libstdcxx'
      [New Thread 0x7ffff6dce700 (LWP 3560)]
      connected to: 127.0.0.1
      [Thread 0x7ffff6dce700 (LWP 3560) exited]
      2015-06-23T01:15:44.201+0000 	going into namespace [admin.system.version]
      Restoring to admin.system.version without dropping. Restored data will be inserted without raising errors; check your server log
      1 objects found
      2015-06-23T01:15:44.201+0000 	Creating index: { key: { _id: 1 }, name: "_id_", ns: "admin.system.version" }
      Error creating index admin.system.version: 13 err: "not authorized to create index on admin.system.version"
      
      Program received signal SIGABRT, Aborted.
      0x00007ffff6e05cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      (gdb)
      

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            wbuckner Will Buckner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: