如果安装VisualSVN Server 中,安装出错了的解决方案,绝对的干货!

VisualSVN Server 安装出错Servic 'VisualSVN Server' failed to start.Please check VisualSVN Server log in Event Viewer for more details,一个成功解决此问题的方法,大家参考下。

http://www.thinksaas.cn/plugins/pubs/ueditor/php/upload/45161362966525.jpg
 
我用的是最新版VisualSVN-Server-3.0.1-x64,上图是网上找的,为了方便说明所以加了一张图,该方案适合在Windows 2008、Win7 Sp1、Win Xp Sp3等系统下安装VisualSVN Server时,通常会遇到错误:

在Windows 2008、Win7 Sp1、Win Xp Sp3等系统下安装VisualSVN Server时,通常会遇到错误:

第一次安装会弹出如下错误提示对话框
Custom action GenerateSSLKey failed: Command terminated with non-zero exit code

之后每次安装都会弹出如下错误提示对话框:
Servic 'VisualSVN Server' failed to start.Please check VisualSVN Server log in Event Viewer for more details。
第一次出错是由于VisualSVN Server在如上系统中无法自动创建证书导致失败引起的(目前最新版本仍无法自动完成证书的创建)
第二次出错是由于无法找到有效的证书来启动VisualSVN Server的Windows服务引起的。

解决方法:
当第二次安装到Start Service阶段后,将会出错并会弹出一个对话框,提示是否要retry。(此时SVN服务软件已经安装完毕,仅仅是无法通过证书验证,无法启动服 务),如果此时选择对话框中的cancel,安装将会回退,卸载已经安装的所有内容,从而无法继续安装。

正确做法:
1、忽略该对话框。
2、到Windows的开始菜单中找到并运行VisualSVN Server。


3、打开VisualSVN Server软件后,打开菜单栏中的:操作->Properties对话框。


4、从Properties对话框中选择 Certificate Tab页,点击Change Certificate按钮,此时会弹出一个创建证书的对话框,然后根据提示要求一步一步填写相应的信息(这里的信息随便填一些就可以了),就可以创建一个有效的证书。


5、最后,切换到安装VisualSVN Server时包含retry的对话框,点击retry,此时服务就能启动了。
经过如上五步,VisualSVN Server即可成功安装。

 

---------------------------------------------------------------------------华丽的分割线-----------------------------------------------------------------------
 

 执行了以上步骤,一般就可以了,如果还不行,请继续执行以下步骤,亲测成功解决不能安装的问题(其实是最后一步,svn服务未能启动的问题)。

按步骤执行:打开控制面板——>管理工具——>服务。

管理工具


服务

 

打开服务可以看到有好多的服务,执行找一下以V开头的服务,如下图:


右键查看属性并打开,显示如下对话框,将启动类型改为自动,然后切换到登录选项卡,发现登录身份是:此帐户,点击选中”本地系统账户“,点击应用并确认即可:




返回继续安装,点击Retry按钮,恭喜你安装通过!重启程序,在服务中可以看到 VisualSVNServer 已经启动,呜呼,终于搞定了!为了使各位新手能快速安装成功,花了半个多小时做了此教程,希望能帮到大家,谢谢!!!*^_^* 

附:VisualSVNServer 官网下载地址:http://www.visualsvn.com/server/

做个小广告,如果各位童鞋还没有一个很好用的笔记软件的话,可以点击下面的为知笔记链接,为知笔记(WizNote),不仅可以分类管理和共享资料,而且它还是电脑、手机、平板上都能用的云笔记软件,使用我的邀请码注册可以到丰厚的会员奖励哦!!!

 

 
 

转载于:https://www.cnblogs.com/lookphp/articles/62fa7ed80b77040fce25f358f15e9d82.html

VisualSVN Server allows you to easily install and manage a fully-functional Subversion server on the Windows platform. Thanks to its robustness, unbeatable usability and unique enterprise-grade features, VisualSVN Server is useful both for small business and corporate users. The key features of VisualSVN Server are: 1.Active Directory Single Sign-On 2.Multisite Repository Replication 3.HTML5-powered Web Interface 4.PowerShell Scripting and Automation 5.Repository Management Delegation 6.Remote Server Administration 7.Access and Operational Logging The proper way to setup an Apache Subversion server VisualSVN Server has reached 1,000,000 downloads and it's the most favored way to setup and maintain an Apache Subversion server on the Windows platform. It is trusted both by thousands of SMBs and Fortune 500 companies such as General Electric, Siemens, ThyssenKrupp and Sony. Learn more... Easy to install, configure and maintain VisualSVN Server is distributed as a single installation package with the latest versions of all the required components. The installation process is extremely simple and allows you to setup a full-featured and ready to use Subversion server in just a few clicks. Upgrades to newer versions are simple too. Learn more... Free for commercial use! VisualSVN Server Standard Edition is free of charge and available for commercial use. VisualSVN Server Enterprise Edition provides additional enterprise-grade features such as Active Directory Single Sign-On and Multisite Repository Replication and is licensed per server. Learn more... Please make sure that Visual C++ Redistributable Packages for Visual Studio 2013 have been installed before using this patch!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值