When I am trying to setup VisualSVN Server in my server. I get error. I can not find any solution.
当我在我的服务器上安装VisualSVN服务器时。我得到错误。我找不到任何解决办法。
Error: service VisualSVN Server failed to start.
错误:服务VisualSVN服务器启动失败。
Please check VisualSVN Server log in Event Viewer for more details.
请查看VisualSVN服务器登录事件查看器以了解更多细节。
3 个解决方案
#1
0
FYI: there is Knowledge Base article on service start failures, see "Troubleshooting VisualSVN Server service start failure".
参考资料:有关于服务启动失败的知识库文章,请参阅“故障诊断VisualSVN服务器服务启动失败”。
VisualSVN Server installation or upgrade can fail with the error:
VisualSVN服务器安装或升级可能会出现以下错误:
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
.验证您为VisualSVN服务器指定的端口是否可用,而不是正在使用或被阻塞。正如@Shant指定的,Skype可以使用端口443,因此如果Skype正在运行,VisualSVN服务器安装可能会失败。为了确定是否已经将任何应用程序绑定到VisualSVN服务器的端口,您可以在命令提示符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.
如果您进行升级并获得服务启动错误,请确保VisualSVN服务器的服务帐户具有所有必需的权限。默认情况下,VisualSVN服务器的安装程序自动调整所有必需的权限。但是,如果将它安装到非默认位置/存储库存储在网络共享中,您可能需要手动配置NTFS / share权限。有关详细信息,请参阅“运行VisualSVN服务器所需的权限”。
-
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):
如果您仍然不能解决服务启动错误,我建议您使用以下命令行安装/升级VisualSVN服务器(相应地更改MSI文件名):
msiexec /i VisualSVN-Server-2.7.2.msi NO_START_SERVICES=1
msiexec /我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.
这将允许VisualSVN服务器在不启动服务的情况下进行安装。安装成功后,您可以尝试启动服务。当失败时,转到VisualSVN服务器事件日志,检查那里记录了哪些错误。这些错误将为您提供关于根本原因的有用线索。
#2
0
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.
如果上面没有帮助,请通过这里的支持链接。
#3
0
Just download the latest prebuilt version 3.6.
只需下载最新的预构建版本3.6。
https://www.visualsvn.com/server/download/pre-release/
https://www.visualsvn.com/server/download/pre-release/
This has solved the issue as below in 3.5
这在3.5中解决了如下问题
"asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag"
“asn1编码程序:ASN1_CHECK_TLEN:错了标签”
#1
0
FYI: there is Knowledge Base article on service start failures, see "Troubleshooting VisualSVN Server service start failure".
参考资料:有关于服务启动失败的知识库文章,请参阅“故障诊断VisualSVN服务器服务启动失败”。
VisualSVN Server installation or upgrade can fail with the error:
VisualSVN服务器安装或升级可能会出现以下错误:
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
.验证您为VisualSVN服务器指定的端口是否可用,而不是正在使用或被阻塞。正如@Shant指定的,Skype可以使用端口443,因此如果Skype正在运行,VisualSVN服务器安装可能会失败。为了确定是否已经将任何应用程序绑定到VisualSVN服务器的端口,您可以在命令提示符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.
如果您进行升级并获得服务启动错误,请确保VisualSVN服务器的服务帐户具有所有必需的权限。默认情况下,VisualSVN服务器的安装程序自动调整所有必需的权限。但是,如果将它安装到非默认位置/存储库存储在网络共享中,您可能需要手动配置NTFS / share权限。有关详细信息,请参阅“运行VisualSVN服务器所需的权限”。
-
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):
如果您仍然不能解决服务启动错误,我建议您使用以下命令行安装/升级VisualSVN服务器(相应地更改MSI文件名):
msiexec /i VisualSVN-Server-2.7.2.msi NO_START_SERVICES=1
msiexec /我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.
这将允许VisualSVN服务器在不启动服务的情况下进行安装。安装成功后,您可以尝试启动服务。当失败时,转到VisualSVN服务器事件日志,检查那里记录了哪些错误。这些错误将为您提供关于根本原因的有用线索。
#2
0
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.
如果上面没有帮助,请通过这里的支持链接。
#3
0
Just download the latest prebuilt version 3.6.
只需下载最新的预构建版本3.6。
https://www.visualsvn.com/server/download/pre-release/
https://www.visualsvn.com/server/download/pre-release/
This has solved the issue as below in 3.5
这在3.5中解决了如下问题
"asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag"
“asn1编码程序:ASN1_CHECK_TLEN:错了标签”