You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andrew Close <ac...@gmail.com> on 2007/02/12 17:06:21 UTC

n00b: unable to access remote SVN repository...

hi all,

i know this question has been posed because i searched the archives
and Googled, but i'm unable to find a solution.  please feel free to
reply "RTFM" as long as you can point me to the relevant sections or
an external link. :)

our Ops dept. recently installed SVN 1.4.3 on a RH Linux box for us to
configure since we're finally moving away from VSS.  i have a local
SVN repository that i've been playing with for a couple weeks now and
haven't had any problems with it.  but i have been accessing that
repository directly using the 'file://' URL.
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

i also have a location directive set up:

<Location /svn>
  DAV svn
  SVNParentPath /hns/scm/repository
  SVNListParentPath on
</Location>

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';
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>

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.

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.

andy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Andrew Close <ac...@gmail.com>.
Ryan, thanks for your reply.
comments below...

On 2/12/07, Ryan Schmidt <su...@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

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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.


> 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


-- 

To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org