应用Windows 10 Creators Update后CouchDB无法启动 [英] CouchDB fails to start after applying Windows 10 Creators Update
问题描述
出于开发目的,我正在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使用非吸吮服务管理器(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-04-26:Windows 10 Creators Update的用户应使用prelease构建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:
- 从 https://nssm.cc/download
- 通过 Windows服务对话框停止CouchDB服务(仅暂停是不够的)
- 用一个覆盖
< CouchDbInstallDir> \bin
中的nssm.exe
从下载的ZIP文件中(确保您选择正确的版本32位/ 64位) - 启动CouchDB服务
- Download the pre-release build 2.2.4-101 from https://nssm.cc/download
- Stop the CouchDB service through the Windows Services dialog (paused is not enough)
- Overwrite
nssm.exe
in<CouchDbInstallDir>\bin
with the one from the downloaded ZIP file (make sure you pick the right version 32 bit / 64 bit) - Start the CouchDB service
这篇关于应用Windows 10 Creators Update后CouchDB无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!