[SERVER-24870] Cannot start server with an unknown storage engine: InMemory, terminating Created: 01/Jul/16  Updated: 14/Jul/16  Resolved: 01/Jul/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 3.2.7
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Eric Dorothy Assignee: Kelsey Schubert
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-22056 Unknown storage engine in community b... Closed
Participants:

 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?



 Comments   
Comment by Eric Dorothy [ 01/Jul/16 ]

Awesome Thomas! Thank you for getting back to me so quickly.

Comment by Kelsey Schubert [ 01/Jul/16 ]

Hi dacke.geo,

It appears that you are running the community edition of MongoDB, please note that the InMemory storage engine is only supported in the enterprise edition.

For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group. See also our Technical Support page for additional support resources.

Kind regards,
Thomas

Generated at Thu Feb 08 04:07:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.