Hi,
keep the thread on the list please.
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
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
svn: PRPFIND request failed on
'/svn/ITPL_5star_hotel'
svn: Can't set position pointer in file
'/':
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
earlier.
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
svn.
If you made a dump put it into the new repository with the new svn (svnadmin
load).
Konrad
PGP SIGNATURE
Version: GnuPG v1.4.2 (GNU/Linux)
3SCeWT2bWJllLzuUV5jYYss=
=EInh
PGP SIGNATURE