Error: mongod.exe has stopped working

2,663 views
Skip to first unread message

rajplayster

unread,
Sep 23, 2015, 7:54:54 AM9/23/15
to mongodb-user
Hi,
I downloaded and installed the latest exe file: mongodb-win32-x86_64-enterprise-windows-64-3.0.6-signed on Windows 7 Professional edition.
I also installed the Windows hotfix: 451413_intl_x64_zip.exe.
When I double clicked mongod.exe it gave the error. 
Image attached.
Please help.
mongo.png

Wan Bachtiar

unread,
Sep 23, 2015, 11:13:24 PM9/23/15
to mongodb-user

Hi Rajplayster,

I’ve tested this by downloading and installing mongodb-win32-x86_64-enterprise-windows-64-3.0.6-signed.msi on Windows 10 Professional edition.

Then I followed the instruction to Run MongoDB for Windows to start mongod.exe, and it ran successfully.

If you double-clicked the mongod.exe right away after the installation, you may not have the \data\db\ directory yet. You can confirm this by running mongodb on PowerShell which would show you an error message :

PS C:\Program Files\MongoDB\Server\3.0\bin> .\mongod.exe
2015-09-23T17:00:19.535-0700 I STORAGE  [initandlisten] exception in initAndListen: 29 Data directory C:\data\db\ not found., terminating
2015-09-23T17:00:19.537-0700 I CONTROL  [initandlisten] dbexit:  rc: 100

As stated in the installation steps, you can solve this by creating MongoDB directory first. Then you would be able to start mongod either through PowerShell or double-click mongod.exe

However instead of starting up manually each time, you may want to set up MongoDB as a Windows Service to start MongoDB at boot time.

Kind Regards,

Wan.


rajplayster

unread,
Sep 24, 2015, 1:59:27 AM9/24/15
to mongodb-user
Thank you, Wan but it did not help me.
I created the data/db folder in C:  Then I ran the command from a cmd window.
It gave the same error.
Please see the attached screenshot.
My installation folder is the same as yours. 
Could it be a problem with Windows 7?
mongo.png

A. Jalil @AJ

unread,
Sep 25, 2015, 2:11:58 AM9/25/15
to mongodb-user
Why would anyone run mongo on Windows ? you are not taking full advantage of mongo on windows, it doesn't matter if you are using the latest version of Windows..
 
You can create Linux VM on top of your windows and you will be in a better position to learn and do lots of cools stuff with mongo and not to mention that you will not come across these issues on Linux.

and you can follow this Doc to install it:  http://dbaora.com/install-oracle-linux-7/ 

Good luck !

Wan Bachtiar

unread,
Sep 25, 2015, 2:16:42 AM9/25/15
to mongodb-user

Hi Rajplayster,

Can you click on the “View Problem Details” and post back the details please ?
It may provide us a better understanding of the problem.

I noticed you are installing the Enterprise edition, which is part of a commercial support subscription or trial agreement.

For more information see: https://www.mongodb.com/products/mongodb-enterprise-advanced.
You can download the Community Edition from: https://www.mongodb.org/downloads#production.

Thanks.

Regards,
Wan.

Stephen Steneker

unread,
Sep 25, 2015, 3:20:56 AM9/25/15
to mongodb-user
On Friday, 25 September 2015 16:11:58 UTC+10, A. Jalil @AJ wrote:
Why would anyone run mongo on Windows ? you are not taking full advantage of mongo on windows, it doesn't matter if you are using the latest version of Windows..
 
You can create Linux VM on top of your windows and you will be in a better position to learn and do lots of cools stuff with mongo and not to mention that you will not come across these issues on Linux.

Hi AJ,

MongoDB is cross-platform. Supported operating systems for the MongoDB server currently include x86 flavours of Linux, Windows, OS X, and Solaris: http://docs.mongodb.org/manual/installation/.

Production environments are generally 64-bit Linux or Windows servers, but many developers prefer to run Windows or OS X on a local machine for dev & testing. Learning Linux is definitely not a requirement, but it's helpful to have some familiarity with your O/S command line prompt.

Note that the original question in this thread was on Windows 7, which incidentally reached end-of-life for mainstream support by Microsoft at the beginning of 2015: http://windows.microsoft.com/en-au/windows/lifecycle.

I would definitely recommend keeping up with operating systems and driver/server versions that are still actively supported. Remaining on unsupported software versions tends to leave you exposed to bugs that have been fixed in newer releases.

Regards,
Stephen

rajplayster

unread,
Sep 25, 2015, 6:39:31 AM9/25/15
to mongodb-user
Thank you, Wan and Stephen.
I was able to download and run MongoDB ver. 2.6.11 on Windows7 without a problem.
So I guess ver. 3.x is incompatible with Win7.

The timely and detailed support is much appreciated.

Stephen Steneker

unread,
Sep 25, 2015, 9:16:42 AM9/25/15
to mongodb-user
On Friday, 25 September 2015 20:39:31 UTC+10, rajplayster wrote:
I was able to download and run MongoDB ver. 2.6.11 on Windows7 without a problem.
So I guess ver. 3.x is incompatible with Win7.

Hi,

You should be able to run MongoDB 3.x on Win7 as well, but we'd need more specific details of your error to help.

One thought: are you running 32-bit or 64-bit Win7? The install you originally mentioned was 64-bit only.

Regards,
Stephen

kchellap

unread,
Nov 5, 2015, 2:00:25 AM11/5/15
to mongodb-user
I ran into the same issue as rajplayster, before I downgrade to an earlier version, let me share the info I have to help fix this problem. 

OS - Windows 7 64 bit
Mongo DB version - 3.07
Installed location - C:\Program Files\MongoDB

Created C:\data\db directory and ran mongod command from C:\

Nothing seen on command prompt apart from the error dialog that pops up. Attached screenshot and error details.Let me know if there is anything more I can do.
error details.txt
error.PNG

Emerson Siega

unread,
Jan 12, 2016, 4:51:48 PM1/12/16
to mongodb-user
Hi

I have the same issue too.
My client has a Windows 7 x64 with MongoDB 3.0.4 and has the same problem.

Do you solved your issue? 
Thanks

Wan Bachtiar

unread,
Jan 18, 2016, 1:26:57 AM1/18/16
to mongodb-user

Hi Emerson,

I have just tested an installation of MongoDB v3.0.8 .msi Windows 64-bit 2008 R2+ install file: mongodb-win32-x86_64-2008plus-3.0.8-signed.msi for Windows 7 64-bit. mongod.exe executed as expected without an issue. See MongoDB v3.0.x Windows Install for the detailed steps of installation.

Although you may be seeing a similar error message to the previous post, it may be a different issue that is causing the problem for you. If you still having a problem with mongod.exe, can you please start a new discussion with relevant details of:

  • Specific error messages when you execute mongod.exe from the command prompt.
  • Installation type, whether it was through the .msi or the zip bundle. The installer file name would be helpful as well.

Also it would be helpful to include in the new discussion the specific OS (i.e. Windows 7 x64) and MongoDB version as you have done here for completeness.

Kind regards,

Wan.

Sasikala Karthi

unread,
Jan 23, 2016, 2:06:19 AM1/23/16
to mongodb-user
I have same problem while installing mongodb on windows 7..pl help me

Wan Bachtiar

unread,
Jan 24, 2016, 5:45:12 PM1/24/16
to mongodb-user

Hi Sasikala,

In order to help you better, please start a new discussion with relevant details of :

  • MongoDB version.
  • Specific version of Windows 7. i.e. is it 32-bit or 64-bit.
  • Installation type, whether it was through the .msi or the zip bundle. The installer file name would be helpful as well.
  • Specific description of the problem that you are seeing and error message.
  • Are you running Windows through a platform virtualisation ? i.e. XenServer, VMWare.


You may also find these useful:

Kind regards,

Wan.

Kiran Wayal

unread,
Feb 20, 2016, 3:22:38 AM2/20/16
to mongodb-user
Hi Sasikala,

I am facing same issue . Please help me if u resolved this issues.


Thanks in advance!

Wan Bachtiar

unread,
Feb 20, 2016, 8:20:33 AM2/20/16
to mongodb-user

Hi Kiran,

Although you may share similar error message of mongod.exe has stopped working, it may be a different issue that is causing it.

In order for others to help you faster and better, please start a new discussion with relevant details of :

    • MongoDB version.
    • Specific version of Windows 7. i.e. is it 32-bit or 64-bit.
    • Installation type, whether it was through the .msi or the zip bundle. The installer file name would be helpful as well.
    • Specific description of the problem that you are seeing and error message. If you see a dialog box, please click on View problem details and post the content of it.
    • Are you running Windows through a platform virtualisation ? i.e. XenServer, VMWare.

    Best regards,

    Wan.

    Sasikala Karthi

    unread,
    Feb 22, 2016, 4:16:31 AM2/22/16
    to mongod...@googlegroups.com
    I tried on Windows 7, 64 bit machine. It is not in virtualization  environment.  Already i used MongoDB 2.X in windows 7, only 3.2 is the problem. I tried all the possibilities, finally i installed MongoDB in Ubuntu successfully

    Dr.R.Sasikala
    Associate Professor 
    School of Computing Science and Engineering
    VIT University, Vellore, TN, India. 

    --
    You received this message because you are subscribed to the Google Groups "mongodb-user"
    group.
     
    For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
    ---
    You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/zmDhscBVK9Y/unsubscribe.
    To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
    To post to this group, send email to mongod...@googlegroups.com.
    Visit this group at https://groups.google.com/group/mongodb-user.
    To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/695d6f5e-fe18-4c67-9b53-17d34322da19%40googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

    Wan Bachtiar

    unread,
    Feb 22, 2016, 10:20:28 PM2/22/16
    to mongodb-user

    I have tested an installation of MongoDB v3.2 using .msi for Windows 64-bit 2008 R2+ running on Windows 7 64-bits Professional. The installation file name is : mongodb-win32-x86_64-2008plus-ssl-3.2.1-signed.msi. In my environment test, I am able to execute mongod.exe without any issues.

    Also, I have tested the installation using the zip install file: mongodb-win32-x86_64-2008plus-3.2.3.zip which works without any issues as well.


    If you have any issues running MongoDB on Windows please open a new discussion thread. In order for others to help you better and faster please include:

    • MongoDB version. There are a number of available MongoDB versions. For example, v3.0.9 or v.3.2.3, etc.

    • Specific version of Windows. There are many Windows versions. For example, Windows 7 64-bits Professional edition, etc. See Which Windows OS am I running?

    • Installation file type and name. At the moment, there are four MongoDB builds for different Windows. For example: Windows 64-bit 2008 R2+ file:msi or Windows 64-bit legacy file:zip. See Determine which MongoDB build you need to know which builds for which Windows version.

    • If you see a pop-up dialog mongod.exe has stopped working, please click on the View problem details button and post the content. The content would help others to help you find out the reason why it has stopped working.

    • If you are running from the command prompt, please post any error messages.

    • Whether you running Windows through a platform virtualisation such as XenServer, or VMWare.



    All of the above information could be used to replicate your environment and the problem you are having. The more information you provide, the faster others would be able to help you.

    See also Install MongoDB Community Edition on Windows for steps by steps installation and setup.

    Best regards,

    Wan.

    kirann...@gmail.com

    unread,
    Mar 26, 2016, 7:27:07 AM3/26/16
    to mongodb-user
    hiii this is kiran my mongodb is not working i getting mongod.exe has stopped working pop window
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: mongod.exe
      Application Version: 0.0.0.0
      Application Timestamp: 56de0c29
      Fault Module Name: mongod.exe
      Fault Module Version: 0.0.0.0
      Fault Module Timestamp: 56de0c29
      Exception Code: c000001d
      Exception Offset: 0000000000c04713
      OS Version: 6.1.7600.2.0.0.256.1
      Locale ID: 1033
      Additional Information 1: 7c1e
      Additional Information 2: 7c1ee2ba56224cd9352de03840feb4d9
      Additional Information 3: c5d2
      Additional Information 4: c5d247ac4cbf220bef4183808293e174

    Read our privacy statement online:

    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    this is the view prblem can any told me answr for this prblm

    Vinu S

    unread,
    Jul 24, 2016, 2:25:59 AM7/24/16
    to mongodb-user
    Hi Wan Bachtiar,

    I am also facing same problem for mongodb 3.x.x versions. I think no need to open new discussion thread for the same problem discussing in this thread. In the install instructions they mentioned for windows 7 OS need to install microsoft hotfix for issue with memory mapped files. I have installed it and restarted the system, but it was not helped, same error appears. Version 2.x working without any issues. Below are the error specifications from my system.


    - OS : Windows 7 Ultimate 64 bit
    - Mongodb : mongodb-win32-x86_64-2008plus-3.2.1-signed, mongodb-win32-x86_64-2008plus-ssl-3.2.1-signed, mongodb-win32-x86_64-2008plus-ssl-3.2.8-signed (I was tried all these).
    - Installation type : msi
    - I have attached the error popup. No log details appear.
    Not a virtualisation such as XenServer, or VMWare. 

    Wan Bachtiar

    unread,
    Aug 2, 2016, 9:13:20 PM8/2/16
    to mongodb-user

    I think no need to open new discussion thread for the same problem discussing in this thread.

    Hi Vinu,

    In this case, opening a new discussion thread helps others to provide an answer to your question. Although users may share a similar error message, it may be a different issue that is causing it.

    There could be many combinations of MongoDB builds and versions, Windows builds and versions, installer types, processors etc. For an example, the original post of this thread uses Windows 7 Professional which differs to your O/S of Windows 7 Ultimate. Detailing specific environment setup may help to identify new problems and reduce miscommunication.

    Below are the error specifications from my system.

    Based on your environment details, you may be encountering a problem described in MongoDB tracker ticket SERVER-21732 related to Windows on older processors (before 2011) or running in a XenServer not supporting AVX instruction set for MongoDB v3.0.3+. You may find more information on the ticket.
    Please note that this issue should be resolved in the current development version of MongoDB v3.3+.

    Regards,

    Wan.

    MoroccoIT

    unread,
    Aug 3, 2016, 12:39:11 AM8/3/16
    to mongod...@googlegroups.com
    I would not use Mongo on windows unless you are experimenting things with mongo.. I have windows 7 at home, but I installed Oracle VM VirtualBox on it and ran mongo on Oracle Linux - Works seamlessly, no issues at all. And when I am done, I close the VM Box & I am back to Windows..

    And if you are running mongo on AWS, you can create an AMI box (linux of course) which has already mongo installed & configured and you don't have to deal with OS issues.  Actually, I setup a Mongo environment with 9 EC2 servers: 3 MongoS, 3 MongoC and 3 Sharded DB cluster.  I did not have to deal with mongo installation on each server for all 9 servers; but rather, I put most of my effort more on configuring the sharding and the cluster DB..  

    The moral of story, stay away from windows when you can especially when you are dealing with critical databases such as Mongo, Oracle, MySQL, Cassandra etc.. These databases are better managed with Linux, UNIX than windows..  On a side note, believe it or not, we had to recycle one of our Oracle/Windows box every weekend - was very painful.. But after we migrated it to a Linux box we don't ever touch it unless we are performing a major maintenance..

    Cheers,
    -AJ



    --
    You received this message because you are subscribed to the Google Groups "mongodb-user"
    group.
     
    For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/

    ---
    You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/zmDhscBVK9Y/unsubscribe.
    To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
    To post to this group, send email to mongod...@googlegroups.com.
    Visit this group at https://groups.google.com/group/mongodb-user.

    For more options, visit https://groups.google.com/d/optout.



    --
    ​~~
    Happiness comes when your WORK & WORDS are of benefits to yourself and others..
    ~Jack Kornfield~

    Vinu S

    unread,
    Aug 3, 2016, 11:32:43 PM8/3/16
    to mongodb-user
    Hi Wan,

    Thanks for your comments. I have resolved the issue. From your comments I have installed the development version of mongodb 3.3.10 and it shows the correct log report as one dll missing and I followed google for it, which needs VC++ 2015. I made it. Now Mongodb 3.3 works well in my windows 7 ultimate. Cheers...

    Tushar Patil

    unread,
    Sep 27, 2016, 5:56:47 PM9/27/16
    to mongodb-user
    Hi
    I am getting link to download development version 3.3.10( Or I am redirected to 3.2.9 link)
    Could you please help.

    Wan Bachtiar

    unread,
    Sep 29, 2016, 12:39:28 AM9/29/16
    to mongodb-user

    I am getting link to download development version 3.3.10( Or I am redirected to 3.2.9 link)

    Hi Thushar,

    You can visit MongoDB Community download-center to find MongoDB Community .msi installer for Windows. Follow the ‘Development Releases’ link on the page to find the latest MongoDB development version.

    If you have further questions, please open a new discussion thread. This thread was about mongod.exe issue in Windows related to AVX instruction set.

    Regards,

    Wan.

    Reply all
    Reply to author
    Forward
    This conversation is locked
    You cannot reply and perform actions on locked conversations.
    0 new messages