Discussion:
Windows,Apache2.2.8,SVN1.4.6,"Could not open the requested SVN filesystem"
buzlite hotmail
2008-02-24 21:10:10 UTC
Permalink
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>
DAV svn
SVNListParentPath on
SVNParentPath c:/svn/repositories/repo1

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).


-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

_________________________________________________________________
Kevin Grover
2008-02-25 01:28:32 UTC
Permalink
See comments inline.
Post by buzlite hotmail
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.
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.
Post by buzlite hotmail
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.
Post by buzlite hotmail
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
Post by buzlite hotmail
-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
buzlite hotmail
2008-02-25 19:03:34 UTC
Permalink
Thanks for helping out.
Following your suggestions, I've finally got it working.

The problem was due to my misinterpretation of terminologies presented in the SVN manual.

A repository is a directory containing a group of physical directories and files in the operating system's filesystem that SVN uses to manage projects and subprojects files in a repository. A repository is created via...

$svnadmin create some_repository_name

The above command will create a repository containing the above mentioned directory and files.

And that the preferred use of 'trunks', 'branches', 'tags' subdirectory under a particular project name, is actual a virtual layout and not a directory structure layout in the operating system's filesystem. Once I got this concept understood, the rest of the configuration was pretty simple to follow.

_________________________________________________________________
Loading...