Mongo error on I control hotfix

45,563

Solution 1

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.

Solution 2

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

Solution 3

In my case the problem was that I had a space in my data path: E:\Program Files\MongoDB\Data\

I ran dir /x within E:\ to get the short path for Program Files and used the short path instead: mongod.exe --dbpath E:\PROGRA~1\MongoDB\Data\

It worked. Shocking that spaces in paths are still an issue!

Solution 4

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.

Solution 5

This known issue is in Windows 7. In Windows 8 this problem haven't appeared yet.

Firstly I would recommend to change your mongo installation path to path with folders names without gaps. For example, default mongo installation path is C:\program files\bla-bla... to avoid a wasting of time for looking for solutions of this issue, change your path to C:\mongo.. and make sure that you haven't names with gaps in your path.

After that install this hot-fix.

Another thing I suggest you to do: Create folder data\db in disc C.

You could also change your mongo work path each time you use mongo shell, but it's overwork by my modest opinion. I've done these steps and my mongo has started to work.

Share:
45,563
Itsik Mauyhas
Author by

Itsik Mauyhas

Full-Stack developer at Siemens PLM.

Updated on November 09, 2020

Comments

  • Itsik Mauyhas
    Itsik Mauyhas over 3 years

    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-out files.
    

    I didnt find any update or what is I CONTROL, someone have encounter with the problem? Thank you.