应用 Windows 10 Creators Update 后 CouchDB 无法启动 [英] CouchDB fails to start after applying Windows 10 Creators Update

查看:37
本文介绍了应用 Windows 10 Creators Update 后 CouchDB 无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于开发目的,我在 Windows 上运行 CouchDB 2.0.应用 Windows 10 Creators Update 后,CouchDB 服务不再启动.当我尝试手动启动它时,我收到一条通用的无法启动服务"错误消息.

I'm running CouchDB 2.0 on Windows for development purposes. After applying the Windows 10 Creators Update, the CouchDB service doesn't start anymore. When I try to start it manually, I get a generic "unable to start service" error message.

推荐答案

Windows 上的 CouchDB 2.0 使用 Non-Sucking Service Manager (NSSM) 将自身作为服务运行.显然,在应用创建者更新后,NSSM 出现了问题:

CouchDB 2.0 on Windows uses the Non-Sucking Service Manager (NSSM) to run itself as service. Apparently, NSSM has problems after the creators update has been applied:

2017 年 4 月 26 日:Windows 10 创意者更新的用户应使用 prelease build 2.2.4-101 以避免服务无法启动的问题.

2017-04-26: Users of Windows 10 Creators Update should use prelease build 2.2.4-101 to avoid an issue with services failing to start.

因此,问题可以通过使用上述的 NSSM 构建来解决:

Thus, the problem can be fixed by using the mentioned build of NSSM:

  1. https://nssm.cc/download 下载预发布版本 2.2.4-101/li>
  2. 通过 Windows 服务对话框停止 CouchDB 服务(暂停是不够的)
  3. 用下载的 ZIP 文件中的 <CouchDbInstallDir>in 覆盖 nssm.exe(确保选择正确的 32 位/64 位版本)
  4. 启动 CouchDB 服务
  1. Download the pre-release build 2.2.4-101 from https://nssm.cc/download
  2. Stop the CouchDB service through the Windows Services dialog (paused is not enough)
  3. Overwrite nssm.exe in <CouchDbInstallDir>in with the one from the downloaded ZIP file (make sure you pick the right version 32 bit / 64 bit)
  4. Start the CouchDB service

这篇关于应用 Windows 10 Creators Update 后 CouchDB 无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆