1

When I try to start my MongoDB service I keep getting the following message:

Windows could not start the MongoDB service on Local Computer
Error: 1067: The process terminated unexpectedly

MongoDB version: 2.6

5
  • Try running mongod.exe from elevated command line and see if you get more details.
    – Alex S
    Feb 1, 2019 at 21:39
  • 1
    Check if you have enough space on your hard drive. MongoDB usually requires 3-5GB of free space.
    – Marek Musielak
    Feb 1, 2019 at 21:43
  • The docker image for Mongo is very easy to use, have you thought about using this rather than installing mongo?
    – Gravypower
    Feb 1, 2019 at 21:55
  • 1
    Check the log files in Mongo directory. Usually provide a good idea. The windows logs provide zero idea.
    – Chris Auer
    Feb 2, 2019 at 0:42
  • Thanks @MarekMusielak and Chris, that's what I found on my logs: "ERROR: Insufficient free space for journal files". Marek, please convert your comment into an answer and I'll gladly accept it :) Feb 2, 2019 at 11:29

1 Answer 1

3

I had same issue and the reason was that I didn't have enough free space on the hard drive.

MongoDB usually requires 3-5GB of free space.

If there is not enough space, the service will not start and you will see message:

Windows could not start the MongoDB service on Local Computer

Error: 1067: The process terminated unexpectedly

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.