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

repair mongodb fail and not start up mongodb

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 3.2.9
    • Component/s: Storage
    • Labels:
      None
    • ALL
    • Hide

      step 1:

      mongod --repair --dbpath /var/lib/mongo/ --storageEngine wiredTiger

      and server still repair then show error

      Show
      step 1: mongod --repair --dbpath /var/lib/mongo/ --storageEngine wiredTiger and server still repair then show error

      Dear All

      I hava problem with repair mongod

      2016-12-12T18:22:00.348+0700 I CONTROL [initandlisten] options: { config: "/etc/mongod.conf", net:

      { bindIp: "0.0.0.0", port: 27017 }

      , processManagement:

      { fork: true, pidFilePath: "/var/run/mongodb/mongod.pid" }

      , storage: { dbPath: "/var/lib/mongo", journal:

      { enabled: true }

      }, systemLog:

      { destination: "file", logAppend: true, path: "/var/log/mongodb/mongod.log" }

      }
      2016-12-12T18:22:00.385+0700 I - [initandlisten] Detected data files in /var/lib/mongo created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2016-12-12T18:22:00.385+0700 W - [initandlisten] Detected unclean shutdown - /var/lib/mongo/mongod.lock is not empty.
      2016-12-12T18:22:00.385+0700 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
      2016-12-12T18:22:00.386+0700 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=75G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
      2016-12-12T18:22:18.346+0700 I STORAGE [initandlisten] dropping unused ident: index-2002-1079967399702764901
      2016-12-12T18:22:18.346+0700 I STORAGE [initandlisten] dropping unused ident: index-2003-1079967399702764901
      2016-12-12T18:22:18.346+0700 I STORAGE [initandlisten] dropping unused ident: index-2004-1079967399702764901
      2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2005-1079967399702764901
      2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2006-1079967399702764901
      2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2007-1079967399702764901
      2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2008-1079967399702764901
      2016-12-12T18:22:18.347+0700 I STORAGE [initandlisten] dropping unused ident: index-2009-1079967399702764901
      2016-12-12T18:22:18.348+0700 I STORAGE [initandlisten] dropping unused ident: index-2010-1079967399702764901
      2016-12-12T18:22:18.348+0700 I STORAGE [initandlisten] dropping unused ident: index-2011-1079967399702764901
      2016-12-12T18:22:18.348+0700 I STORAGE [initandlisten] dropping unused ident: index-2012-1079967399702764901
      2016-12-12T18:22:18.348+0700 I STORAGE [initandlisten] dropping unused ident: index-2013-1079967399702764901
      2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten]
      2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
      2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten] ** We suggest setting it to 'never'
      2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten]
      2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
      2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten] ** We suggest setting it to 'never'
      2016-12-12T18:22:18.365+0700 I CONTROL [initandlisten]
      2016-12-12T18:22:18.687+0700 I INDEX [initandlisten] found 2 index(es) that wasn't finished before shutdown
      2016-12-12T18:22:18.687+0700 I - [initandlisten] Fatal assertion 28579 UnsupportedFormat: Unable to find metadata for table:index-2002-6955404491159956217 Index:

      {name: _id_, ns: ungdichvu.s0999}

      - version too new for this mongod. See http://dochub.mongodb.org/core/3.4-index-downgrade for detailed instructions on how to handle this error.
      2016-12-12T18:22:18.687+0700 I - [initandlisten]

      ***aborting after fassert() failure

      Please solution fix it.
      This agent and thanks for your support

            Assignee:
            Unassigned Unassigned
            Reporter:
            dotung Do Thanh Tung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: