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

Unable to access local repository after starting svnserve (Windows XP/SP2)

From: Sachin Garg <garg.sachin_at_wipro.com>
Date: 2006-09-29 08:23:26 CEST

Hi all,

I am using TortoiseSVN 1.3.5 on Windows XP SP2. Exact details are given below.

=========
TortoiseSVN 1.3.5, Build 6804 - 32 Bit
Subversion 1.3.2,
apr 0.9.7
apr-iconv 0.9.7
apr-utils 0.9.7
berkeley db 4.3.28
neon 0.25.4
OpenSSL 0.9.8a 11 Oct 2005
zlib 1.2.3
=========

I am using it to maintain documents and had created a local repository and using
file:/// URLs to do checkins/checkouts etc. My repositories are under
E:\svn_repository\Documents, and I had a working copy of:
E:\svn_repository\Documents\xxx_yyy, checked out using the URL:
file:///E:/svn_repository/Documents/xxx_yyy

Everything was working fine.

Yesterday, I decided to make my repositories available to my GNU/Linux machine
and set up Apache on Cygwin. Didn't like it (too much of a PITA), so decided to
use svnserve on Cygwin.

=========
svnserve, version 1.3.2 (r19776)
   compiled Jul 14 2006, 22:16:08
=========

I set up svnserve to run using the following commandline (from
http://svn.haxx.se/users/archive-2005-01/0157.shtml):

=========
cygrunsrv \
  --install svnserver \
  --chdir E:\\svn_repository \
  --path D:\\cygwin\\bin\\svnserve.exe \
  --args "--foreground --daemon --root=/cygdrive/e/svn_repository" \
  --desc "Subversion for E:\\svn_repository" \
  --neverexits
=========

Now, I am able to access the repositories from the GNU/Linux box using:
svn://<IP address>>/Documents/xxx_yyy and do checkouts and check-ins (after
editing the svnserve.conf and passwd files).

But, I am not able to run any commands on the older repository using file:///
URLs. I get the following error:

Unable to open an ra_local session to URL
Unable to open repository 'file:///E:/svn_repository/Documents/xxx_yyy'
Can't open file 'E:\svn_repository\Documents\db\current': Access is denied

I am able to check out a fresh copy using the svn://<IP
address>>/Documents/xxx_yyy and also check in modifications after authentication.

I assume that there is some tweaking to be done after setting up authentication
etc., but searching the net shows that svnserve.conf only affects accesses
through svnserve and the password file is also only for such an access.

I am stumped. Please advise.

Thanks & Regards,
Sachin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 29 08:40:50 2006

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