Skip to content

Instantly share code, notes, and snippets.

@lovebdsobuj
Last active August 11, 2016 18:51
Show Gist options
  • Save lovebdsobuj/da1887749342cf6bc4e4e8525c697c87 to your computer and use it in GitHub Desktop.
Save lovebdsobuj/da1887749342cf6bc4e4e8525c697c87 to your computer and use it in GitHub Desktop.
WPN-XM MongoDB Can't start
2016-08-04T18:03:17.750+0600 D -        [main] tcmallocPoolSize: 1073741824
2016-08-04T18:03:17.755+0600 D -        [initandlisten] User Assertion: 28663:Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine explicitly, e.g. --storageEngine=mmapv1.
2016-08-04T18:03:17.755+0600 I STORAGE  [initandlisten] exception in initAndListen: 28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine explicitly, e.g. --storageEngine=mmapv1., terminating
2016-08-04T18:03:17.755+0600 I CONTROL  [initandlisten] dbexit:  rc: 100

WPN-XM v0.8.5+0a7e025 Windows 10 (32 bit)

@lovebdsobuj
Copy link
Author

Solution

Add storageEngine=mmapv1 in bin\mongodb\mongodb.conf

#
# Configuration file for MongoDB.
#

#
# MongoDB : File Based Configuration
# http://api.mongodb.org/wiki/current/File%20Based%20Configuration.html
#

# Location of the database files
dbpath = /data/db
storageEngine=mmapv1

# IP and Port that mongod will listen on
bind_ip = 127.0.0.1
port = 27017

noauth = true
rest = true
verbose = true

# path to where log messages will be written
#logpath =  /logs/mongodb.log
# Whether the log file will be appended to or over-written (default) at start-up
#logappend = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment