linux上SVN出现 "Unable to connect to a repository at URL 'svn://xx.xx.xx.xx/xxx' 和 No repository ...

centos上安装了svn, 有时候会不知道什么原因出现客户端小乌龟无法连接或无法提交等情况。

1. 万能重启,xshell连接服务器,输入 service svnserve restart 命令。

当出现这种情况时,可能是通过 "svnserve -d -r  /svn" 启动svn服务后面带的路径不对。

2. 关闭所有svn服务,killall svnserve 命令。

3.  查看svn状态,  service svnserve status 命令。

4.  如果状态为"service is stopping",就可以通过" svnserve -d -r /opt/svn ", 后面要带上项目对的存储库正确的路径。

5. 最后再查看一下svn状态,再通过小乌龟连接就可以了。

 

公众号

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章