Error Unable to connect to a repository at URL 'svn: // ip address' and No repository found in 'svn: // ip address'

SVN server is CentOS6.10

Encountered when using TortoiseSVN shown below Client Error detected:

Because there is no designated SVN repository

Solutions are as follows:

find / -name svnserve

Check in /etc/rc.d/init.d/svnserve startup script file, have the following code:

It should be noted that, CentOS6.X and CentOS7.X is not the same, under CentOS7.X default is / etc / sysconfig / svnserve this document, and the next CentOS6.X is no need to manually create a new

vim /etc/sysconfig/svnserve

Write the following:

OPTIONS = "- r svn repository path command."

For example, SVN repository directory path created as follows:

mkdir -p /server/svn/

svnadmin create /server/svn/codebase

 

/ Etc / sysconfig / svnserve configuration file you need to write:

OPTIONS="-r /server/svn/codebase"

Save and exit!

# Restart SVN service

service svnserve restart

The detection again, problem solved!

 

# SVN allows booting from the start

chkconfig svnserve on

chkconfig --list |grep svnserve

 

Guess you like

Origin www.cnblogs.com/opsprobe/p/11786121.html