Mongo error on I control hotfix

后端 未结 17 2000
陌清茗
陌清茗 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:08

    I had to run the command in following format & it worked for me:

    C:\mongodb\bin\mongod.exe --dbpath d:\test\mongodb\data
    

    Ref: Original documentation link

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

    As for what "I CONTROL" means, the "I" is for "Information" (we have W for warning and E for error) and CONTROL is the component writing that log/message (we have also NETWORK, WRITE, QUERY and COMMAND components).

    So you could get also I COMMAND ..., I QUERY ..., I WRITE ... :)

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

    If you had got the below error message::

    2015-05-29T05:05:54.207+0530 I CONTROL Hotfix KB2731284 or later update is not installed, will zero-out data files 2015-05-29T05:05:54.219+0530 I STORAGE [initandlisten] exception in initAndLis en: 29 Data directory D:\data\db\ not found., terminating 2015-05-29T05:05:54.219+0530 I CONTROL [initandlisten] dbexit: rc: 100

    then just create a directory "D:\data\db\""

    then restart the mongod

    it should work fine

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

    Similiar to above, but I had a typo in my mongodb.cfg file which meant that Mongo couldn't find the data directory on startup. Fixed the typo and Mongo starts. Given the previous response I suspect that the failure to start is more of an issue over finding the data directory than the Hotfix message

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

    1 : Download and install the fix from here : http://hotfixv4.microsoft.com/Windows%207/Windows%20Server2008%20R2%20SP1/sp2/Fix405791/7600/free/451413_intl_x64_zip.exe them reboot windows

    2 : this you should make a folder called "data" and within it another one called "db"

    c:/data/db ;

    I would start with the second step , it's most likely to solve The problem .

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

    You need to create the C:\Data\Db directory if you don't specify an existing directory when you run mongod.exe. This directory is the default one.

    http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/

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