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

repair mongodb fail and not start up mongodbdaba

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.9
    • Component/s: Admin
    • Labels:
      None
    • ALL
    • Hide

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

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

      2016-12-12T09:11:48.303+0700 I CONTROL  [main] ***** SERVER RESTARTED *****
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten] MongoDB starting : pid=18768 port=27017 dbpath=/var/lib/mongo 64-bit host=localhost.localdomain
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten] db version v3.2.9
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten] git version: 22ec9e93b40c85fc7cae7d56e7d6a02fd811088c
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten] allocator: tcmalloc
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten] modules: none
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten] build environment:
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten]     distmod: rhel62
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten]     distarch: x86_64
      2016-12-12T09:11:48.318+0700 I CONTROL  [initandlisten]     target_arch: x86_64
      2016-12-12T09:11:48.318+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-12T09:11:48.360+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-12T09:11:48.360+0700 W -        [initandlisten] Detected unclean shutdown - /var/lib/mongo/mongod.lock is not empty.
      2016-12-12T09:11:48.360+0700 W STORAGE  [initandlisten] Recovering data from the last clean checkpoint.
      2016-12-12T09:11:48.360+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-12T09:12:07.099+0700 I STORAGE  [initandlisten] dropping unused ident: index-1996--4952926493820669755
      2016-12-12T09:12:07.100+0700 I STORAGE  [initandlisten] dropping unused ident: index-1997--4952926493820669755
      2016-12-12T09:12:07.100+0700 I STORAGE  [initandlisten] dropping unused ident: index-1998--4952926493820669755
      2016-12-12T09:12:07.100+0700 I STORAGE  [initandlisten] dropping unused ident: index-1999--4952926493820669755
      2016-12-12T09:12:07.100+0700 I STORAGE  [initandlisten] dropping unused ident: index-2000--4952926493820669755
      2016-12-12T09:12:07.100+0700 I STORAGE  [initandlisten] dropping unused ident: index-2001--4952926493820669755
      2016-12-12T09:12:07.101+0700 I STORAGE  [initandlisten] dropping unused ident: index-2002--4952926493820669755
      2016-12-12T09:12:07.102+0700 I STORAGE  [initandlisten] dropping unused ident: index-2003--4952926493820669755
      2016-12-12T09:12:07.102+0700 I STORAGE  [initandlisten] dropping unused ident: index-2004--4952926493820669755
      2016-12-12T09:12:07.102+0700 I STORAGE  [initandlisten] dropping unused ident: index-2005--4952926493820669755
      2016-12-12T09:12:07.102+0700 I STORAGE  [initandlisten] dropping unused ident: index-2006--4952926493820669755
      2016-12-12T09:12:07.102+0700 I STORAGE  [initandlisten] dropping unused ident: index-2007--4952926493820669755
      2016-12-12T09:12:07.102+0700 I STORAGE  [initandlisten] dropping unused ident: index-2008--4952926493820669755
      2016-12-12T09:12:07.103+0700 I STORAGE  [initandlisten] dropping unused ident: index-2009--4952926493820669755
      2016-12-12T09:12:07.103+0700 I STORAGE  [initandlisten] dropping unused ident: index-2010--4952926493820669755
      2016-12-12T09:12:07.103+0700 I STORAGE  [initandlisten] dropping unused ident: index-2011--4952926493820669755
      2016-12-12T09:12:07.103+0700 I STORAGE  [initandlisten] dropping unused ident: index-2012--4952926493820669755
      2016-12-12T09:12:07.104+0700 I STORAGE  [initandlisten] dropping unused ident: index-2013--4952926493820669755
      2016-12-12T09:12:07.131+0700 I CONTROL  [initandlisten] 
      2016-12-12T09:12:07.131+0700 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
      2016-12-12T09:12:07.131+0700 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
      2016-12-12T09:12:07.131+0700 I CONTROL  [initandlisten] 
      2016-12-12T09:12:07.131+0700 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
      2016-12-12T09:12:07.131+0700 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
      2016-12-12T09:12:07.131+0700 I CONTROL  [initandlisten] 
      2016-12-12T09:12:07.453+0700 I INDEX    [initandlisten] found 2 index(es) that wasn't finished before shutdown
      2016-12-12T09:12:07.453+0700 I -        [initandlisten] Fatal assertion 28579 UnsupportedFormat: Unable to find metadata for table:index-1998--5723870115755711383 Index: {name: _id_, ns: ungdichvu.s0996} - 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-12T09:12:07.453+0700 I -        [initandlisten] 
      
      ***aborting after fassert() failure
      

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            dotung Do Thanh Tung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: