The default storage engine’wiredTiger’


Win7 32 bit system encountered problems when installing mongodb database.

2016-01-05T17:44:48.381+0800 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

According to the error prompt, the reason is that the current database engine does not support 32 system.

The solution to this problem is simple, as long as you switch off the default database engine of MongoDB, of course, it is better to upgrade to 64-bit system, after all, there is no 2GB limit and the performance of the new engine has greatly improved.

$ mongod -dbpath "d:\mongodb\data" -storageEngine=mmapv1

Recommended Today

Detailed explanation of sshd service and service management command under Linux

sshd SSH is the abbreviation of secure shell, which is the security protocol of application layer. SSH is a reliable protocol which provides security for remote login session and other network services. SSH protocol can effectively prevent information leakage in the process of remote management. openssh-server Function: enable remote hosts to access the sshd service […]