我在Windows Server 2012 R2服务器上安装了Mongodb 4.0,但无法启动服务。查看系统日志时,出现以下错误
Product: MongoDB 4.0.0 2008R2Plus SSL (64 bit) -- Error 1920. Service 'MongoDB Server' (MongoDB) failed to start. Verify that you have sufficient privileges to start system services.
以及
Faulting application name: mongod.exe, version: 4.0.0.0, time stamp: 0x5b2c1668
Faulting module name: i-ms-win-crt-runtime-l1-1-0.dll, version: 6.3.9600.17415, time stamp: 0x5450559e
Exception code: 0xc0000135
Fault offset: 0x00000000000ec5a0
Faulting process id: 0x25f8
Faulting application start time: 0x01d4284df2a95fad
Faulting application path: C:\Program Files\MongoDB\Server\4.0\bin\mongod.exe
Faulting module path: i-ms-win-crt-runtime-l1-1-0.dll
Report Id: 3056be2a-9441-11e8-80bb-d0946652c910
Faulting package full name:
Faulting package-relative application ID:
你有什么提示来解决这个问题吗?
2条答案
按热度按时间ffvjumwh1#
从文档guide to install MongoDB on Windows中,他们提到更新了Windows或至少更新了Windows 2012 Server和Windows 10的KB2999226,以提供Windows的通用C运行时支持。
他们有另一个所需的更新Windows Server 2008 R2和Windows 7也。
7dl7o3gd2#
我在Windows 7上安装MongoDB时也遇到了同样的问题。当我安装Windows 7的最新更新时,这个问题得到了解决。