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

Re: n00b: unable to access remote SVN repository...

From: Andrew Close <aclose_at_gmail.com>
Date: 2007-02-12 23:53:50 CET

Ryan, thanks for your reply.
comments below...

On 2/12/07, Ryan Schmidt <subversion-2007a@ryandesign.com> wrote:
> On Feb 12, 2007, at 11:06, Andrew Close wrote:
>
> > we have Apache2 setup and configured on the RH Linux box to handle our
> > SVN traffic. the three required modules are loaded in Apache's
> > httpd.conf file:
> >
> > LoadModule dav_module modules/mod_dav.so
> > LoadModule dav_svn_module modules/mod_dav_svn.so
> > LoadModule authz_svn_module modules/mod_authz_svn.so
>
> Good.
>
> > i also have a location directive set up:
> >
> > <Location /svn>
> > DAV svn
> > SVNParentPath /hns/scm/repository
> > SVNListParentPath on
> > </Location>
>
> Good.
>
> > the permissions on the /hns/scm/repository directory are 775 and the
> > apache user is a member of the group able to access those directories.
> > the 'repository' directory is meant to contain several repositories,
> > each of which are also set up with 775 permissions.
> >
> > i'm able to access http://10.35.2.29/svn via the web browser. i see
> > the 'RSA' repository that i created using 'svnadmin create RSA';
>
> Good, so SVNListParentPath is working.
>
> > however, when i click on the RSA link i get the error:
> >
> > <D:error>
> > <C:error/>
> > <m:human-readable errcode="160029">
> > Could not open the requested SVN filesystem
> > </m:human-readable>
> > </D:error>
>
> Not good. :-)
>
>
> > i've tried adding another location directive to my httpd.conf file
> > under the first:
> >
> > <Location /RSA>
> > DAV svn
> > SVNPath /hns/scm/repository/RSA
> > </Location>
> >
> > but this doesn't seem to help.
>
> You shouldn't need that, so I would remove that.

i've removed all locations aside from the initial SVNParentPath to no avail...

> > from my local command line i've tried to 'svn import *
> > http://10.35.2.29/svn/RSA' & 'http://10.35.2.29/RSA', as well as 'svn
> > add * [url]' with the following error:
> >
> > svn: PROPFIND request failed on /svn [or /RSA, depending on the
> > URL i tried]
> > svn: Could not open the requested SVN filesystem
> >
> > on the server i do see the 'conf/, dav/, db/, format/, etc...'
> > directories in the RSA repository i created. each of these
> > directories have 775 permissions as well.
> >
> > i should mention that my local machine is a WinXP/SP2 and i do have
> > svn 1.4.3 installed locally, so the client and server versions are the
> > same.
> >
> > any thoughts? suggestions? links aside from the svnbook?
> > much appreciated.
>
> Everything sounds good... Since you said you use Red Hat Linux, I
> could only think to ask whether you have SELinux enabled, and if
> therefore you need to do some extra stuff, as in this FAQ entry:
>
> http://subversion.tigris.org/faq.html#reposperms

SELinux is installed, but it is turned off.

i am now able to get in through svnserve. it was a user permission issue. :)
but it would be nice to be able to access the repository via
http/https as well. i'm still stuck on that so i'll read over the
http section of the svnbook again and check the forums. i'm sure it's
just a little detail that i'm missing. ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 12 23:54:22 2007

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.