安装或更新时 VisualSVN Server 服务启动失败

发布于 2024-09-04 00:36:02 字数 176 浏览 8 评论 0原文

当我尝试在我的服务器中设置 VisualSVN Server 时。我收到错误。我找不到任何解决方案。

错误:服务 VisualSVN Server 启动失败。

请检查事件查看器中的 VisualSVN Server 日志以了解更多详细信息。

When I am trying to setup VisualSVN Server in my server. I get error. I can not find any solution.

Error: service VisualSVN Server failed to start.

Please check VisualSVN Server log in Event Viewer for more details.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

染柒℉ 2024-09-11 00:36:02

仅供参考:有关于服务启动失败的知识库文章,请参阅
“解决 VisualSVN Server 服务启动失败问题”

VisualSVN Server 安装或升级可能会失败并显示错误:

Error: service VisualSVN Server failed to start.
Please check VisualSVN Server log in Event Viewer for more details.

如果遇到此类问题,我建议执行以下操作:

  • 验证为 VisualSVN Server 指定的端口是否可用、未使用或被阻止。正如 @Shant 指定的,Skype 可以使用端口 443,因此如果 Skype 正在运行,VisualSVN Server 安装可能会失败。为了确定是否有任何应用程序已绑定到 VisualSVN Server 的端口,您可以在提升的命令提示符中运行以下命令 netstat -anbv

  • 如果您进行升级并收到服务启动错误,请确保 VisualSVN Server 的服务帐户具有所有必需的权限。默认情况下,VisualSVN Server 的安装程序会自动调整所有必需的权限。但是,如果它安装到非默认位置/存储库存储在网络共享上,则可能需要手动配置 NTFS/共享权限。有关详细信息,请参阅“运行 VisualSVN Server 所需的权限”详细信息。

  • 如果您仍然无法解决服务启动错误,我建议使用以下命令行安装/升级 VisualSVN Server(相应更改 MSI 文件名):

    msiexec /i VisualSVN-Server-2.7.2.msi NO_START_SERVICES=1

    这将允许 VisualSVN Server 在不启动其服务的情况下进行安装。安装成功完成后,您可以尝试启动该服务。当失败时,请转到 VisualSVN 服务器事件日志 检查那里记录了哪些错误。这些错误将为您提供有关根本原因的有用线索。

FYI: there is Knowledge Base article on service start failures, see
"Troubleshooting VisualSVN Server service start failure".

VisualSVN Server installation or upgrade can fail with the error:

Error: service VisualSVN Server failed to start.
Please check VisualSVN Server log in Event Viewer for more details.

If you encounter such issue, I suggest to do the following:

  • Verify whether port you specified for VisualSVN Server is available, not in use or blocked. As @Shant specified, Skype can use port 443 so VisualSVN Server install may fail if Skype is running. In order to determine, whether any application is already binded to VisualSVN Server's port you can run the following command in elevated command prompt netstat -anbv.

  • If you do an upgrade and get the service start error, make sure that VisualSVN Server's service account has all required permissions. By default, VisualSVN Server's installer adjust all required permissions automatically. However, if it was installed to a non-default location / repositories are stored on a network share, you may need to configure NTFS / share permissions manually. See "Permissions required to run VisualSVN Server" for further details.

  • If you still can't solve the service start error, I suggest to install / upgrade VisualSVN Server with using the following command line (change MSI filename accordingly):

    msiexec /i VisualSVN-Server-2.7.2.msi NO_START_SERVICES=1

    This will allow VisualSVN Server to install without starting it's service. Right after installation completes succesfully, you can attempt to start the service. When it fails, go to VisualSVN Server Event Log to check what errors are logged there. These errors will provide you with helpful clues on the root cause.

翻了热茶 2024-09-11 00:36:02

安装时,如果您提供了较长的存储库路径,也可能会发生此错误。例如,

 'D:\alksdflaskjdflasdjfasdfasdf\kdskdk\adsf\ ....'

或者如果您在路径中放置了括号等字符。例如,

 'D:\Repositories(1)\project1'

尝试使“存储库”文件夹路径尽可能小或接受默认路径。

如果上述方法没有帮助,请访问此处的支持链接

While installing this error could occur also if you have given a long repository path . e.g.

 'D:\alksdflaskjdflasdjfasdfasdf\kdskdk\adsf\ ....'

or also if you have put characters like brackets in the path. e.g.

 'D:\Repositories(1)\project1'

Try to keep 'Repositories' folder path as small as possible or accept default path.

If above is not helping, go through this support link here.

水染的天色ゝ 2024-09-11 00:36:02

只需下载最新的预构建版本 3.6。

https://www.visualsvn.com/server/download/pre-release/< /a>

中的问题

这已经解决了3.5 “asn1编码例程:ASN1_CHECK_TLEN:错误标签”

Just download the latest prebuilt version 3.6.

https://www.visualsvn.com/server/download/pre-release/

This has solved the issue as below in 3.5

"asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文