Posts

Showing posts from June, 2020

Repair MongoDB service fail to start

Image
Repair MongoDB service fail to start  In certain time, MongoDB service fail to start due to certain reason like not enough storage space and MongoDB service force to shut down improperly. You have to repair Mongodb in order for it to start properly.  Here are steps to repair MongoDB: 1. Run windows command prompt with Administrator  2. In command prompt, go to mongodb path such as \MongoDB_Entreprise_for_Sage_Syracuse\MongoDB-2008R2Plus-x86_64-Enterprise-3.0.2\bin 3. Then enter command below and press Enter key mongod --dbpath D:\Sage\SafeX3\MongoDB_Entreprise_for_Sage_Syracuse\data –repair 4.  Once done, then you can try to start MongoDB service at service.msc