Home  >  Article  >  Backend Development  >  在windows server2003 装配svn 服务器端报错,svn无法启动

在windows server2003 装配svn 服务器端报错,svn无法启动

WBOY
WBOYOriginal
2016-06-13 11:10:271081browse

在windows server2003 安装svn 服务器端报错,svn无法启动
在服务端安装svn ,建立了版本库,
Sc create SVNService binpath= " C:\Program Files\Subversion\bin\svnserve.exe --service -r d:\svn" displayname= "SVNService" depend= Tcpip start= auto

设置了用户

然后启动svn ,报错:

 错误信息为  在 本地计算机 无法启动 SVNService 服务:错误2:系统找不到指定的文件  

  怎么回事啊? binpath的路径我检查了 ,正确
            


------解决方案--------------------
C:\Program Files\Subversion\bin\svnserve.exe文件存在吗?
d:\svn目录存在吗?
------解决方案--------------------
因为Program Files中间有空格,改成这样
Sc create SVNService binpath= "\"C:\Program Files\Subversion\bin\svnserve.exe\" --service -r d:\svn" displayname= "SVNService" depend= Tcpip start= auto
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn