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

Mongodb can't restart,the error is Assertion: 28595:5: Input/output error

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ***** SERVER RESTARTED *****
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten] MongoDB starting : pid=6848 port=27017 dbpath=/home/mongo 64-bit host=kg04
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten] db version v3.4.2
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten] git version: 3f76e40c105fc223b3e5aac3e20dcd026b83b38b
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten] allocator: tcmalloc
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten] modules: none
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten] build environment:
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten]     distmod: rhel70
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten]     distarch: x86_64
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten]     target_arch: x86_64
      2017-09-25T17:06:08.861+0800 I CONTROL  [initandlisten] options: { config: "/etc/mongod.conf", net: { bindIp: "127.0.0.1", port: 27017 }, processManagement: { fork: true, pidFilePath: "/var/run/mongodb/mongod.pid" }, storage: { dbPath: "/home/mongo", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongod.log" } }
      2017-09-25T17:06:08.893+0800 I -        [initandlisten] Detected data files in /home/mongo created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2017-09-25T17:06:08.893+0800 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=31621M,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),
      2017-09-25T17:06:08.901+0800 E STORAGE  [initandlisten] WiredTiger error (5) [1506330368:901052][6848:0x7f6acce6ddc0], file:WiredTiger.wt, connection: /home/mongo/WiredTiger.wt: handle-read: pread: failed to read 4096 bytes at offset 0: Input/output error
      2017-09-25T17:34:17.035+0800 I -        [initandlisten] Assertion: 28595:5: Input/output error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 267
      2017-09-25T17:34:17.035+0800 I STORAGE  [initandlisten] exception in initAndListen: 28595 5: Input/output error, terminating
      2017-09-25T17:34:17.035+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
      2017-09-25T17:34:17.035+0800 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
      2017-09-25T17:34:17.035+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
      2017-09-25T17:34:17.035+0800 I CONTROL  [initandlisten] now exiting
      2017-09-25T17:34:17.035+0800 I CONTROL  [initandlisten] shutting down with code:100
      

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            wanghaiwin wanghai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None