在windows上安装Artifactory作为服务时,如何修复“[SC] StartService FAILED 1053: The service did not responding to The start or control request in a timely fashion”的问题

罗兰杨
2021-08-25 06:09

主题

在Windows Server 2016或Windows 10上安装时,Artifactory可能无法启动,并抛出以下错误:
[SC] StartService FAILED 1053:服务没有及时响应启动或控制请求

影响版本

Artifactory 4.16及以上版本

细节

安装可以在注册表中添加'ఁ'符号,这会在启动过程中干扰Artifactory。

决议

在进一步调查注册表编辑器,ImagePath似乎是不正确的,在:
电脑\ \ Artifactory HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \服务
C:\Users\ artifactory \ jfrog-artifactory-pro-5.8.3 \ artifactory-pro-5.8.3 \ bin \ artifactory-service.exe* < >符号*/ / RS / / artifactory

更正如下:
C:\Users\ artifactory \ jfrog-artifactory-pro-5.8.3 \ artifactory-pro-5.8.3 \ bin \ artifactory-service.exe / / RS / / artifactory

修复问题