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

Re: Windows,Apache2.2.8,SVN1.4.6,"Could not open the requested SVN filesystem"

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Sun, 24 Feb 2008 17:28:32 -0800

See comments inline.

On Sun, Feb 24, 2008 at 1:10 PM, buzlite hotmail <buzlite001_at_hotmail.com>
wrote:

> I'm sending the same posting but with a subject heading this time!!!
>
> I'm not able to access the repository using http URL. When I try, I get a
> "Could not open the requested SVN filesystem" error webpage.
>
>
> -I am using:
> WindowsXP+SP2
> Apache2.2.8
> Subversion 1.4.6
>
> -My hard drive directory structure for the repository is as follows....
> c:/svn/repositories
> c:/svn/repositories/repo1
> c:/svn/repositories/repo1/conf/
> c:/svn/repositories/repo1/dav/
> c:/svn/repositories/repo1/db/
> c:/svn/repositories/repo1/hooks/
> c:/svn/repositories/repo1/locks/
> c:/svn/repositories/repo1/MYDEV/
> c:/svn/repositories/repo1/MYDEV/project1
> c:/svn/repositories/repo1/MYDEV/project1/trunk
> c:/svn/repositories/repo1/MYDEV/project1/branches
> c:/svn/repositories/repo1/MYDEV/project1/tags
> c:/svn/repositories/repo1/MYDEV/project2
> ...
>
> -The /apach2_root/conf/httpd.conf contains ...
>
> <Location /repo1>
>

This '/repo1' has nothing to do with the 'svn/repositories/repo1'. It would
call it '/svn' Then, assume you do:

c:
cd \svn\repositories
svn admin create projecta
svn admin create projectb
svn admin create whatever

Then, you'll have 4 repositories in \svn\repositories: projecta, projectb,
whatever, and the repo1 from my assumption below.

>
> DAV svn
> SVNListParentPath on
> SVNParentPath c:/svn/repositories/repo1
>

Try this

SVNParentPath c:/svn/repositories

It points to the 'parent' directory containing the repositories, NOT to the
directory of an actual repository. Any repository created in this 'parent'
directory will be accessibly via this server.

>
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile wt-svn-passwd.txt
>
> Require valid-user
> </Location>
>
>
> -When I use the webbrowser to view the following URL
> http://localhost/repo1, I am prompted for a username and password (as
> expected). After entering the username and password, i get the following
> page showing the top level of my repository "repo1"....
>
> Collection of Repositories
>
> * MYDEV/
> * conf/
> * dav/
> * db/
> * hooks/
> * locks/
>
> Powered by Subversion version 1.4.6 (r28521).
>

Actually, this is the contents of the files in the repository itself, NOT
the files you checked into to the repository (which is what you want to
see).

I'm assuming you did this:
svn admin create c:\svn\repositories\repo1

>
>
> -When I click on any of the links (except for "db"), I receive an error
> webpage containing...
>
> <D:error>
> <C:error/>
> <m:human-readable errcode="720002">
> Could not open the requested SVN filesystem
> </m:human-readable>
> </D:error>
>
>
> -But when I click on the "db" link, I receive an error webpage
> containing...
>
> <D:error>
> <C:error/>
> <m:human-readable errcode="165005">
> Could not open the requested SVN filesystem
> </m:human-readable>
> </D:error>
>
> The /apache2_root/logs/access.log shows...
>
> 127.0.0.1 - svnuser1 [24/Feb/2008:15:42:56 -0500] "GET /repo1/ HTTP/1.1"
> 200 466
> 127.0.0.1 - svnuser1 [24/Feb/2008:15:43:19 -0500] "GET /repo1/MYDEV/
> HTTP/1.1" 500 239
>
> Needless to say, I'm not able to use an http URL to checkout files from
> this repository. Could someone help out by explaining why I'm getting this
> and how I can solve it?
> Thanks
>
Received on 2008-02-25 02:28:56 CET

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.