我在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:
您是否有解决此问题的提示?
答案 0 :(得分:0)
在文档guide to install MongoDB on Windows中,他们提到Windows 2012 Server和Windows 10具有更新的窗口,或者至少具有KB2999226更新,以便为Windows提供通用的C运行时支持。
它们还有Windows Server 2008 R2和Windows 7的另一个必需更新。
答案 1 :(得分:-1)
在Windows 7上安装MongoDB时,我遇到了同样的问题。在Windows 7上安装最新更新时,该问题已解决。