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

Re: Subversion Access using "http" method

From: Konrad Rosenbaum <konrad_at_silmor.de>
Date: 2006-05-07 18:24:03 CEST


keep the thread on the list please.

On Sunday 07 May 2006 18:10, Muthaiah Ramanathan wrote:
> > Let me correct myself: your config is completely
> > broken.
> >
> > It should look like this:
> > <Location /svn>
> > DAV svn
> > SVNParentPath /lnx_data/svnrepos
> > AuthType Basic
> > AuthName "Subversion repository"
> > AuthUserFile /etc/svn-auth-file
> > Satisfy Any
> > Require Valid-user
> > </Location>
> >
> > This assumes that you created the repository like
> > this:
> > cd /lnx_data/svnrepos
> > svnadmin create ITPL_5star_hotel
> >
> > you can access the repository via:
> > svn ls http://localhost/svn/ITPL_5star_hotel
> Thanks for your response.
> Yes I created the repository, in exactly the same way
> as you mentioned.
> I changed the settings in .conf and re-started the web
> server but now the problem seems to be different:
> -bash-3.00# svn info
> http://localhost/svn/ITPL_5star_hotel
> svn: PROPFIND request failed on
> '/svn/ITPL_5star_hotel'
> svn: Can't set position pointer in file
> '/lnx_data/svnrepos/ITPL_5star_hotel/db/revs/1':
> Invalid argument

Sounds like the repository is not owned by Apache. The repository must at
the very least be write-able for the Apache process, better if it is owned
by Apache.

> I created this repository using older version of
> Subversion and to-day I upgraded to Subversion v1.3.0
> Could this be a problem ?

Yes, probably. If it is a BDB repository is is very probable that the
upgrade broke it - since most distributions also update BDB at the same
time as subversion. If it is FSFS it depends on what version you ran

Was anything in there? If yes:
do a "svnadmin dump" with the old version, if you don't have the old version
you might try with the new one, but I doubt it would work.

Now (backup and) delete the old repository, create a new one with the new

If you made a dump put it into the new repository with the new svn (svnadmin


  • application/pgp-signature attachment: stored
Received on Sun May 7 18:25:30 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.