Is it wrong to start mongodb?

1

I have already executed the mongod commands and then mongo, which are the ones that appear in the mongodb documentation, but I get those errors. I've also created the following directory C: \ data \ db

    
asked by FrEqDe 30.11.2016 в 21:20
source

2 answers

2

Using a 32-bit version, the problem is:

  

32-bit servers do not have journaling enabled by default

and it is resolved based on what the message you get when you start the daemon specifies:

> mongod.exe --storageEngine=mmapv1

Review this response which had a similar problem, I recommend you first try enabling the property journaling :

How to run correctly mongodb service (mongod.exe)?

    
answered by 30.11.2016 / 21:24
source
0

Delete the folder

C:\data\db, 

then re-create it, if your mongodb is not in path. Open your console and type

cd C:\Program Files\MongoDB\Server.2\bin,

later

mongod.exe --storageEngine=mmapv1

to find out if the problem is solved, use

mongodb

To be able to visualize your collections download the Robomongo Download

Set it as in the Image and you can visualize your collections

    
answered by 30.11.2016 в 22:59