[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: troubles with svnserve and svnadmin

From: <maxx_at_videosite.ru>
Date: 2005-05-04 12:57:06 CEST

John Szakmeister wrote:

>You didn't say which version of Subversion that you are using, nor what
>kind of repository you created (FSFS or BDB). You also didn't include
>the contents of your svnserve.conf file. It's hard to help troubleshoot
>your problem without this information. :-)
>
>
subversion 1.1.4 and i tried to use 1.2.0rc2 - the same problem...

type of repo is fsfs (i also tried to make bdb repo with the same
effect) Actually, I made a bdb repo about a week ago, and succesfully
worked with it during a week. after this, it seems broken (any SVN
client hangs then tryinng to connect this repo thru the server, and
works fine with access thru file:/// schema), 'svnadmin recover' can't
to fix this problem.

svnserve.conf and users-passwords looks exactly like yours :) if i make
a tipo in it, or in passwd file, where my users and passwords data is -
subversion tells me about my mistake :)

>My guess is that you haven't set up authentication correctly. You
>actually need two files: svnserve.conf and another (typically called
>passwd that consists of name/value pairs).
>
>For instance, my svnserve.conf might look like:
> [general]
> anon-access = none
> auth-access = write
> password-db = /path/to/passwd
> realm = Test Project
>
>and /path/to/passwd might be:
> [users]
> test = password
>
>Finally, you're command line looks wrong. It should probably be 'svnserve
>-d -r /path/to/repo'. You can't mix -d and -i, those are mutually
>exclusive options (a newer Subversion would actually tell you this).
>
>

yes, it's my tipo in message, of course i'm trying to run 'svnserve -d
-r /path/to/repo'

>Other pitfalls to watch for are moving a BDB repository between OS's. You
>should really delete the __db.* files from the repo/db directory and run
>'svnadmin recover' on the repository from the new machine. BDB isn't
>meant to be quite a portable as FSFS was designed to be.
>
>-John
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 4 12:59:19 2005

This is an archived mail posted to the Subversion Users mailing list.