Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 下服务安装成功后,启动失败 #32

Open
LukeWJ opened this issue Feb 7, 2024 · 0 comments
Open

windows 下服务安装成功后,启动失败 #32

LukeWJ opened this issue Feb 7, 2024 · 0 comments

Comments

@LukeWJ
Copy link

LukeWJ commented Feb 7, 2024

cprobe版本:cprobe-v0.11.0-windows-amd64
操作系统版本:windows server 2016
报错:The service did not respond to the start or control request in a timely fashion

相关信息:
kardianos/service#380
kardianos/service#264

临时解决方案:
https://nssm.cc/download
使用nssm 包装命令行运行
nssm install servername //创建servername服务
nssm start servername //启动服务
nssm stop servername //暂停服务
nssm restart servername //重新启动服务
nssm remove servername //删除创建的servername服务

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant