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

Cannot start server with an unknown storage engine: InMemory, terminating

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.2.7
    • Storage
    • None

    Description

      I've created a temporary folder called C:\Temporary\MongoDbTemp and verified that the exists. I then installed version 3.2.7 on my Window 10 computer and issued the following and I get an error stating that it has an unknown storage engine.

      C:\Program Files\MongoDB\Server\3.2\bin>mongod --storageEngine InMemory -dbpath C:\Temporary\MongoDbTemp
      2016-07-01T09:34:53.733-0500 I CONTROL [initandlisten] MongoDB starting : pid=8516 port=27017 dbpath=C:\Temporary\MongoDbTemp 64-bit host=Chronos
      2016-07-01T09:34:53.734-0500 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
      2016-07-01T09:34:53.735-0500 I CONTROL [initandlisten] db version v3.2.7
      2016-07-01T09:34:53.735-0500 I CONTROL [initandlisten] git version: 4249c1d2b5999ebbf1fdf3bc0e0e3b3ff5c0aaf2
      2016-07-01T09:34:53.736-0500 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1p-fips 9 Jul 2015
      2016-07-01T09:34:53.737-0500 I CONTROL [initandlisten] allocator: tcmalloc
      2016-07-01T09:34:53.737-0500 I CONTROL [initandlisten] modules: none
      2016-07-01T09:34:53.738-0500 I CONTROL [initandlisten] build environment:
      2016-07-01T09:34:53.738-0500 I CONTROL [initandlisten] distmod: 2008plus-ssl
      2016-07-01T09:34:53.739-0500 I CONTROL [initandlisten] distarch: x86_64
      2016-07-01T09:34:53.740-0500 I CONTROL [initandlisten] target_arch: x86_64
      2016-07-01T09:34:53.740-0500 I CONTROL [initandlisten] options: { storage:

      { dbPath: "C:\Temporary\MongoDbTemp", engine: "InMemory" }

      }
      2016-07-01T09:34:53.741-0500 I STORAGE [initandlisten] exception in initAndListen: 18656 Cannot start server with an unknown storage engine: InMemory, terminating
      2016-07-01T09:34:53.742-0500 I CONTROL [initandlisten] dbexit: rc: 100

      I practically copied the command line from your documentation on page https://docs.mongodb.com/manual/core/inmemory/#specify-in-memory-storage-engine

      What did I do incorrectly?

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            dacke.geo Eric Dorothy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: