Resolves unable to connect to a repository at URL and "authentication failed" after installing SVN

Source: Internet
Author: User
Tags auth mkdir svn tortoisesvn

First install SVN under Ubuntu: (Ubuntu installed in virtual machine)

sudo apt-get install Subversion and then creates a library:

mkdir    /home/lyh/svn
cd   /home/lyh/svn
mkdir   store
svnadmin  Create store

Then configure SVN: Go to the Conf directory CD store/conf in the store directory and edit the passwd file:
[Users]
#harry = Harryssecret
#sally = Sallyssecreta
Lyh = Pass

Added a user lyh password for: Pass and then configure the svnserve.conf file
Anon-access = none
auth-access = Write
password-db = passwd
authz-db = Authz

Then again in the Authz configuration:
[Groups]
#harry_and_sally = harry,sally
#harry_sally_and_joe = harry,sally,&joe
lyh = lyh
Create a new user group, have a LYH user and then start the SVN service: svnserver-d-r/home/lyh/svn/store uploads a directory through TORTOISESVN in the window:
As a result, the dialog box for entering the user name and password does not appear directly:

Resolve no popup Input dialog box, open TORTOISESVN settings, click Saveddata, click Clear, clear all the options inside:
If the user name and password pop-up dialog box or display this interface, first look at the error, not connect svn, so go to see if the library is configured: Edit the Authz file:
[Repository:/baz/fuz/store]
# @harry_and_sally = RW
@lyh = RW
Remove the previous comment and add the Library store to restart SVN, first introduce the SVN process Ps-a | grep "SVN" then: Kill < Process number > Restart Service: svnserver-d-r/home/lyh/svn/store and then execute once import,unable to connect to a Reposito Ry at URL error prompt is not present, but display: At this point we edit the svnserve.conf file again:
Anon-access = none
auth-access = Write
password-db = passwd
#authz-db = Authz
Comment out the authz-db, then restart SVN, import again, enter the user name and password:
Issue to this resolution

Reference Address: http://www.cnblogs.com/wuhou/archive/2008/09/30/1302471.html
http://blog.csdn.net/zm2714/article/details/8334106

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.