Mongo error on I control hotfix

后端 未结 17 2002
陌清茗
陌清茗 2020-12-23 11:45

I have tried to start mongod.exe from my 2008 R2 server and im getting this error:

I CONTROL Hotfix kb2731284 or a later update is not installed, will zero-o         


        
相关标签:
17条回答
  • 2020-12-23 12:30

    I got the similar error

    I CONTROL Hotfix kb2731284 or a later update is installed, will zero-out files.
    

    Notice the message says later update is installed not later update is not installed in my case. But It was not starting the server.

    Creating a different folder structure for the db Drive\<mongo-db-folder>\<yourdb>and providing it with --dbpath flag while running the mongod worked for me. The short name for Program Files PROGRA~1 didn't work for me. Maybe this has something to do with the rights managment.

    0 讨论(0)
  • 2020-12-23 12:31

    Well, I just faced the same issue. I installed the fix, but saw nothing but same error. So that's how I got over it: just create a folder structure in your C catalog like this one: C:\data\db. So it worked for me perfectly. I use Windows 7 x64.

    0 讨论(0)
  • 2020-12-23 12:33

    You can do fix [initandlisten] exception in initAndListen: 29 Data directory /data/db not found., terminating by following given two steps.

    1. You can create the D:\data\db\ directory and restart the MongoDB server.

    2. You can create the data folder as per your choice and run the server with the path of your data folder and restart the MongoDB server

    i.e. D:\MongoDB\Server\3.0\bin>mongod.exe --dbpath D:\MongoDB\Server\data​

    0 讨论(0)
  • 2020-12-23 12:34

    Getting started on mongodb was not that difficult. Well I have been facing similar error on mongodb to start. I have getting error


    Services

    Windows could not start the MongoDB on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 100.

    OK

    very simple way to overcome.

    Solution is the Mongodb service has not been started

    to do so. Open CMD in admin mode and type NET START "Mongodb" > This will start the service.

    Inspite of this if services is not getting started or mongo.exe is not starting. It is coz your mongodb has locked the file. Mongodb is shared file system and it gets locked. You need to for mongo.lock file in your created dir. Delete the file and start the service. You should be able to start now.

    Cheers

    0 讨论(0)
  • 2020-12-23 12:35

    you need to have mongod.exe running in one cmd window. then use another cmd window, write mongo and hit enter

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