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

Re: SVN Server 1.6.1 access via http

From: Frank Gruman <fgatwork_at_verizon.net>
Date: Thu, 23 Apr 2009 00:31:08 -0400

On Wed, 2009-04-22 at 20:04 -0700, webpost_at_tigris.org wrote:

> Hi,
>
> I have installed subversion-1.6.1-1.i386.rpm and running SVNserve as a deamon. I created my repository as fsfs using "svnadmin create --fs-type=fsfs ${repoName}" and I am able to access my repository using svn://server/repository. Then I installed mod_dav_svn-1.6.1-1.i386.rpm on apache 2.0.59 on Red Hat Enterprise Linux 4 and provided following configuration. /repos/General is the path where my repository is created and I am trying to access throught http://server/svn/General/Test
> <Location /svn/General>
> DAV svn
> SVNParentPath /repos/General
> </Location>
>
> I am getting following error in browser:
> <D:error>
> <C:error/>
> <m:human-readable errcode="200030">
> Could not open the requested SVN filesystem
> </m:human-readable>
> </D:error>
>
> While in the apache log it is showing:
> [Thu Apr 23 12:59:13 2009] [error] [client IP] (20014)Error string not specified yet: database is locked
> [Thu Apr 23 12:59:13 2009] [error] [client IP] Could not fetch resource information. [500, #0]
> [Thu Apr 23 12:59:13 2009] [error] [client IP] Could not open the requested SVN filesystem [500, #200030]
> [Thu Apr 23 12:59:13 2009] [error] [client IP] Could not open the requested SVN filesystem [500, #200030]
>
> While I was able to do same thing with apache 2.0 while running SVN 1.3 server (subversion-1.3.0-1) as deamon and installing mod_dav_svn (mod_dav_svn-1.3.0-1)
>
> Thanks,
> Bilal
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1870774
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Bilal,

The biggest thing that sticks out here is your statement that your
repository is at /svn/General. You are telling us that you only have
one repository. So in your Apache configuration you need to say you
have one repository with the SVNPath directive rather than
SVNParentPath. The former is to set the location defined to ONE
repository (e.g. this folder contains the db, hooks, etc folders) on
your file system. The latter is used to point to a directory which
itself contains directories which are subversion repositories.

So your http config should be:

        <Location /svn/General>
           DAV svn
           SVNPath /repos/General
        </Location>

Regards,
Frank

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1871829

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-23 06:32:22 CEST

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.