【问题标题】:Service 'MongoDB Server' (MongoDB) failed to start. Verify that you have sufficient privileges to start system services服务 'MongoDB 服务器' (MongoDB) 无法启动。验证您是否有足够的权限来启动系统服务
【发布时间】:2022-03-07 18:02:35
【问题描述】:

我在 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: 

你有什么提示可以解决这个问题吗?

【问题讨论】:

  • 您是否使用 .msi 包安装?
  • 是的,我使用了 .msi。尝试添加 visual c++ redistributable 作为一些建议,但没有结果!
  • 尝试安装windows补丁KB2999226-x64
  • 我遇到了同样的问题。我以前从未使用过 MongoDB,也不知道该怎么办。我以管理员身份登录并接受所有默认值(我想知道是否是因为我更改了默认数据和日志目录,但显然不是)。欢迎提出任何建议。

标签: mongodb


【解决方案1】:

从文档guide to install MongoDB on Windows 中,他们提到要更新 Windows 或至少为 Windows 2012 Server 和 Windows 10 更新 KB2999226,以便为 Windows 提供通用 C 运行时支持。

他们还有另一个 Windows Server 2008 R2 和 Windows 7 所需的更新。

【讨论】:

    【解决方案2】:

    我在 WIndows 7 上安装 MongoDB 时遇到了同样的问题。当我安装 Windows 7 的最新更新时,该问题已解决。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-22
      • 2014-01-24
      • 1970-01-01
      • 2021-07-08
      相关资源
      最近更新 更多