svn服务器配置常见问题

不能连接到仓库

unable to connect to a repository url
这里写图片描述
原因:svn服务没有启动
解决方法: svnservice -d -r /opt/svn/repos /opt/svn/repos是仓库地址。

checkout时提示svnserver.conf错误

问题描述:svnserve.conf:19: Option expected
原因:svnserve.conf中有空格出现
解决方法:在anon-access或者auth-access前不能存在空格,这个空格隐藏了一个#号。所以会报错。

仓库不存在

问题描述:URL svn://123.57.204.117/android doesn’t exist
原因:因为启动svn服务的时候,仓库路径写错了。楼主碰到这个问题是因为我的仓库地址是/opt/svn/repos/myproject,启动服务时输入的地址是/opt/svn/repos/myproject。
解决方法:启动服务时,要输入仓库的上一级目录。比如楼主的正确启动地址应该是/opt/svn/repos。

Authorization failed

一般是conf/authz配置出错
或者是svnserve.conf有些选项没有打开。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值