Cannot start MongoDB: System error 1067 in Windows

前端 未结 7 1966
一个人的身影
一个人的身影 2021-02-12 11:24

After setting up MongoDB service on Windows Server 2008 R2 this error was raised.

C:\\mongodb\\bin>net start MongoDB
The Mongo DB service is starting.
The Mo         


        
相关标签:
7条回答
  • 2021-02-12 11:52

    The error came from an unclean shutdown detected.

    Please visit http://dochub.mongodb.org/core/repair for recovery instructions.

    a few steps will fix it (as it's written in the link above):

    1) remove the file /data/db/mongod.lock

    2) run mongod.exe --repair

    3) start the mongod service net start MongoDB

    0 讨论(0)
提交回复
热议问题