MongoDb shuts down with Code 100

567    Asked by AngelaBaker in Python , Asked on Jun 2, 2021

I followed the MongoDb Docs to set up my first MongoDB,

When I start MongoDB using the command

C:Program FilesMongoDBServer3.4binmongod.exe

I getting mongodb “shutting down with code 100” error



If getting the error “mongoDB shutting down with Code 100”

In this case, MongoDB needs a folder to store the database.

Create a C:datadb directory:
mkdir C:datadb
and then start MongoDB:
C:Program FilesMongoDBServer.4inmongod.exe

Note:

MongoDB exit code 100 error occurs due to incorrect file permissions and missing database directories.



Your Answer

Interviews

Parent Categories