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

No such file or directory src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 267



    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.4.1
    • None
    • None
    • Linux


      After a disk problem the server has shutdown and cannot be restart.

      When I try to start I get the following logs:

      2018-06-14T20:03:18.179+0000 I CONTROL [initandlisten] MongoDB starting : pid=6 port=27017 dbpath=/data/db 64-bit host=6aa3f69ecb52
      2018-06-14T20:03:18.180+0000 I CONTROL [initandlisten] db version v3.4.1
      2018-06-14T20:03:18.180+0000 I CONTROL [initandlisten] git version: 5e103c4f5583e2566a45d740225dc250baacfbd7
      2018-06-14T20:03:18.180+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016
      2018-06-14T20:03:18.180+0000 I CONTROL [initandlisten] allocator: tcmalloc
      2018-06-14T20:03:18.181+0000 I CONTROL [initandlisten] modules: none
      2018-06-14T20:03:18.181+0000 I CONTROL [initandlisten] build environment:
      2018-06-14T20:03:18.181+0000 I CONTROL [initandlisten] distmod: debian81
      2018-06-14T20:03:18.181+0000 I CONTROL [initandlisten] distarch: x86_64
      2018-06-14T20:03:18.181+0000 I CONTROL [initandlisten] target_arch: x86_64
      2018-06-14T20:03:18.181+0000 I CONTROL [initandlisten] options: {}
      2018-06-14T20:03:18.397+0000 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
      2018-06-14T20:03:18.434+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2018-06-14T20:03:18.440+0000 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
      2018-06-14T20:03:18.458+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3477M,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),
      2018-06-14T20:03:18.573+0000 I - [initandlisten] Assertion: 28595:2: No such file or directory src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 267
      2018-06-14T20:03:18.581+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 2: No such file or directory, terminating
      2018-06-14T20:03:18.581+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets...
      2018-06-14T20:03:18.581+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
      2018-06-14T20:03:18.581+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog...
      2018-06-14T20:03:18.581+0000 I CONTROL [initandlisten] now exiting
      2018-06-14T20:03:18.582+0000 I CONTROL [initandlisten] shutting down with code:100




            nick.brewer Nick Brewer
            damien.pereira Damien Pereira
            0 Vote for this issue
            6 Start watching this issue