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

mongo无法启动

    XMLWordPrintable

Details

    • Question
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.4.9
    • None
    • None
    • CentOS_7.2 vm

    Description

      启动时报以下错误,有没有遇到类似问题,谢谢!
      2019-05-31T02:00:02.027+0800 I CONTROL [initandlisten] MongoDB starting : pid=100849 port=27017 dbpath=/data01/shardsvr/data 64-bit host=dggphicpra01821
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] db version v3.4.9
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] git version: 876ebee8c7dd0e2d992f36a848ff4dc50ee6603e
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] allocator: tcmalloc
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] modules: none
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] build environment:
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] distmod: rhel70
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] distarch: x86_64
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] target_arch: x86_64
      2019-05-31T02:00:02.028+0800 I CONTROL [initandlisten] options: { net:

      { port: 27017 }

      , processManagement:

      { fork: true }

      , replication:

      { replSet: "shardsvrReplC" }

      , security:

      { keyFile: "/data01/mongo.key" }

      , sharding:

      { clusterRole: "shardsvr" }

      , storage:

      { dbPath: "/data01/shardsvr/data" }

      , systemLog:

      { destination: "file", path: "/data01/shardsvr/log/mongod.log" }

      }
      2019-05-31T02:00:02.028+0800 W - [initandlisten] Detected unclean shutdown - /data01/shardsvr/data/mongod.lock is not empty.
      2019-05-31T02:00:02.058+0800 I - [initandlisten] Detected data files in /data01/shardsvr/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2019-05-31T02:00:02.059+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
      2019-05-31T02:00:02.059+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7419M,session_max=20000,eviction=(threads_min=4,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),
      2019-05-31T02:00:11.469+0800 E STORAGE [initandlisten] WiredTiger error (0) [1559239211:469944][100849:0x7f8d5a0e6e40], file:index-70441-3718103833483666497.wt, WT_CURSOR.insert: read checksum error for 4096B block at offset 389120: block header checksum of 2995986505 doesn't match expected checksum of 3353248455
      2019-05-31T02:00:11.470+0800 E STORAGE [initandlisten] WiredTiger error (0) [1559239211:470134][100849:0x7f8d5a0e6e40], file:index-70441-3718103833483666497.wt, WT_CURSOR.insert: index-70441-3718103833483666497.wt: encountered an illegal file format or internal value
      2019-05-31T02:00:11.470+0800 E STORAGE [initandlisten] WiredTiger error (-31804) [1559239211:470183][100849:0x7f8d5a0e6e40], file:index-70441-3718103833483666497.wt, WT_CURSOR.insert: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2019-05-31T02:00:11.470+0800 I - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361
      2019-05-31T02:00:11.470+0800 I - [initandlisten]

      ***aborting after fassert() failure

      2019-05-31T02:00:11.491+0800 F - [initandlisten] Got signal: 6 (Aborted).

      0x5604d5a695e1 0x5604d5a687f9 0x5604d5a68cdd 0x7f8d58d57370 0x7f8d589bc1d7 0x7f8d589bd8c8 0x5604d4d0fa33 0x5604d577baf6 0x5604d4d19d42 0x5604d4d19f5e 0x5604d4d1a1b6 0x5604d6373be5 0x5604d638d96b 0x5604d6394ac5 0x5604d63b59b0 0x5604d63838d2 0x5604d63d27d4 0x5604d646324e 0x5604d63f9020 0x5604d6463f72 0x5604d63c8f07 0x5604d63c1122 0x5604d57608ba 0x5604d5759105 0x5604d564b627 0x5604d4cfbc0c 0x5604d4d1b56b 0x7f8d589a8b35 0x5604d4d7a4ff
      ----- BEGIN BACKTRACE -----

      Attachments

        Activity

          People

            eric.sedor@mongodb.com Eric Sedor
            wangxu1234 xu wang
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: