[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 23:30:55 -0400

On Thu, 2009-04-23 at 00:31 -0400, Frank Gruman wrote:

> 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

<snip from separate email >

        Permission to all the directories files is given using chmod -R
        777 /repos so that apache could read of the files.
        
        Any other ideas. This thing is preventing us upgrading to SVN
        1.6.1
        

</snip>

1 - Please try to keep at least the important parts of a thread in each
message. I for one can't keep entire threads in my mail client so being
able to remind myself of the gist of a thread in one message is helpful.
I am lucky today that your response came before I cleaned out
yesterday's messages.

2 - It just occurred to me that this was something I've seen before -
try to put a trailing slash on your <Location > directive. Here is a
copy of my configuration that works:

            <Location /utilities/>
              DAV svn
              SVNParentPath /srv/svn/repositories/Utilities/
              SVNListParentPath on
              AuthName "Utilities"
              include /srv/svn/engineering_auth
            </Location>
        

Regards,
Frank

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-24 05:32:33 CEST

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