You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jack <va...@paintbot.com> on 2006/09/13 01:38:45 UTC

help: using http: returns 'Could not open the requested SVN filesystem'

Hi, I'm having trouble using http checkout.  Using file: works great, but
when I try http:, it returns an error.  The relevant info is below, I think.
I think it's permissions or apache set up, or using 'nobody' to run Apache,
but I'm not sure.

 

Please let me know if there's anything else I need to provide.

 

Thanks,

Jack

 

THIS WORKS ------------------------------

 

root@host [/tmp/testsvn/checkoutspace]# svn checkout
file:///usr/local/svn_repository/testsvn/trunk testsvn

A    testsvn/test.txt

Checked out revision 2.

 

THIS FAILS ------------------------------

 

root@host [/tmp/testsvn/checkoutspace]# svn checkout
http://www.planefast.com/svn/testsvn/trunk testsvn

Authentication realm: <http://www.planefast.com:80> Subversion Repository

Password for 'root':

Authentication realm: <http://www.planefast.com:80> Subversion Repository

Username: test1

Password for 'test1':

svn: PROPFIND request failed on '/svn/testsvn/trunk'

svn: Could not open the requested SVN filesystem

 

MY httpd.conf and Location INFO -----------------------

 

LoadModule php5_module        modules/libphp5.so

LoadModule dav_svn_module     modules/mod_dav_svn.so

LoadModule authz_svn_module   modules/mod_authz_svn.so

 

User nobody

Group nobody

 

NameVirtualHost *:80

 

<VirtualHost *:80>

   ServerName www.planefast.com

   DocumentRoot /main

 

   <Directory /main>

      Options Indexes MultiViews

      DirectoryIndex index.html index.php

      Order allow,deny

      AllowOverride All

      allow from all

   </Directory>

 

   <Location /svn>

     DAV svn

     SVNParentPath /usr/local/svn_repository

     AuthType Basic

     AuthName "Subversion Repository"

     AuthUserFile /etc/svn-auth-file

     Require valid-user

   </Location>

 

</VirtualHost>

 

REPOSITORY PERMISSIONS -----------------------

 

root@host [/usr/local/svn_repository]# ls -lA

total 7

-rw-r--r--    1 nobody   nobody        229 Sep 12 20:01 README.txt

drwxr-xr-x    2 nobody   nobody        128 Sep 12 20:01 conf/

drwxr-xr-x    2 nobody   nobody         48 Sep 12 20:01 dav/

drwxr-sr-x    5 nobody   nobody        256 Sep 12 20:15 db/

-r--r--r--    1 nobody   nobody          2 Sep 12 20:01 format

drwxr-xr-x    2 nobody   nobody        360 Sep 12 20:01 hooks/

drwxr-xr-x    2 nobody   nobody        104 Sep 12 20:01 locks/


Re: help: using http: returns 'Could not open the requested SVN filesystem'

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 13, 2006, at 03:38, Jack wrote:

> THIS WORKS ------------------------------
>
>
> root@host [/tmp/testsvn/checkoutspace]# svn checkout file:///usr/ 
> local/svn_repository/testsvn/trunk testsvn
>
> A    testsvn/test.txt
>
> Checked out revision 2.
>
>
> THIS FAILS ------------------------------
>
>
> root@host [/tmp/testsvn/checkoutspace]# svn checkout http:// 
> www.planefast.com/svn/testsvn/trunk testsvn
>
> Authentication realm: <http://www.planefast.com:80> Subversion  
> Repository
>
> Password for 'root':
>
> Authentication realm: <http://www.planefast.com:80> Subversion  
> Repository
>
> Username: test1
>
> Password for 'test1':
>
> svn: PROPFIND request failed on '/svn/testsvn/trunk'
>
> svn: Could not open the requested SVN filesystem
>
>
> MY httpd.conf and Location INFO -----------------------
>
>
> LoadModule php5_module        modules/libphp5.so
>
> LoadModule dav_svn_module     modules/mod_dav_svn.so
>
> LoadModule authz_svn_module   modules/mod_authz_svn.so
>
>
> User nobody
>
> Group nobody
>
>
> NameVirtualHost *:80
>
>
> <VirtualHost *:80>
>
>    ServerName www.planefast.com
>
>    DocumentRoot /main
>
>
>    <Directory /main>
>
>       Options Indexes MultiViews
>
>       DirectoryIndex index.html index.php
>
>       Order allow,deny
>
>       AllowOverride All
>
>       allow from all
>
>    </Directory>
>
>
>    <Location /svn>
>
>      DAV svn
>
>      SVNParentPath /usr/local/svn_repository
>
>      AuthType Basic
>
>      AuthName "Subversion Repository"
>
>      AuthUserFile /etc/svn-auth-file
>
>      Require valid-user
>
>    </Location>
>
>
> </VirtualHost>

Based on the name you gave the directory, /usr/local/svn_repository  
sounds like it's actually a repository that you created with svnadmin  
create. If so, then you need SVNPath, not SVNParentPath.

FYI: Looking at the Apache error log should tell you exactly what  
path it can't find, which should have helped diagnosing this.


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

RE: help: using http: returns 'Could not open the requested SVN filesystem'

Posted by Jack <va...@paintbot.com>.
I found the problem.

 

I did 'svn create /usr/local/svn_repository' and specified 'SVNParentPath
/usr/local/svn_repository'

 

This is wrong.  SVNParentPath doesn't specify a repository, but rather a
directory containing repositories.

 

So I deleted the repository files in /usr/local/svn_repository

Created an appropriate repository "svn create
/usr/local/svn_repository/myproject"

 

Then 'svn checkout http://www.planefast.com/svn/myproject/trunk myproject'
works.

 

Jack

 

  _____  

From: Jack [mailto:van@paintbot.com] 
Sent: Tuesday, September 12, 2006 7:39 PM
To: users@subversion.tigris.org
Subject: help: using http: returns 'Could not open the requested SVN
filesystem'

 

Hi, I'm having trouble using http checkout.  Using file: works great, but
when I try http:, it returns an error.  The relevant info is below, I think.
I think it's permissions or apache set up, or using 'nobody' to run Apache,
but I'm not sure.

 

Please let me know if there's anything else I need to provide.

 

Thanks,

Jack

 

THIS WORKS ------------------------------

 

root@host [/tmp/testsvn/checkoutspace]# svn checkout
file:///usr/local/svn_repository/testsvn/trunk testsvn

A    testsvn/test.txt

Checked out revision 2.

 

THIS FAILS ------------------------------

 

root@host [/tmp/testsvn/checkoutspace]# svn checkout
http://www.planefast.com/svn/testsvn/trunk testsvn

Authentication realm: <http://www.planefast.com:80> Subversion Repository

Password for 'root':

Authentication realm: <http://www.planefast.com:80> Subversion Repository

Username: test1

Password for 'test1':

svn: PROPFIND request failed on '/svn/testsvn/trunk'

svn: Could not open the requested SVN filesystem

 

MY httpd.conf and Location INFO -----------------------

 

LoadModule php5_module        modules/libphp5.so

LoadModule dav_svn_module     modules/mod_dav_svn.so

LoadModule authz_svn_module   modules/mod_authz_svn.so

 

User nobody

Group nobody

 

NameVirtualHost *:80

 

<VirtualHost *:80>

   ServerName www.planefast.com

   DocumentRoot /main

 

   <Directory /main>

      Options Indexes MultiViews

      DirectoryIndex index.html index.php

      Order allow,deny

      AllowOverride All

      allow from all

   </Directory>

 

   <Location /svn>

     DAV svn

     SVNParentPath /usr/local/svn_repository

     AuthType Basic

     AuthName "Subversion Repository"

     AuthUserFile /etc/svn-auth-file

     Require valid-user

   </Location>

 

</VirtualHost>

 

REPOSITORY PERMISSIONS -----------------------

 

root@host [/usr/local/svn_repository]# ls -lA

total 7

-rw-r--r--    1 nobody   nobody        229 Sep 12 20:01 README.txt

drwxr-xr-x    2 nobody   nobody        128 Sep 12 20:01 conf/

drwxr-xr-x    2 nobody   nobody         48 Sep 12 20:01 dav/

drwxr-sr-x    5 nobody   nobody        256 Sep 12 20:15 db/

-r--r--r--    1 nobody   nobody          2 Sep 12 20:01 format

drwxr-xr-x    2 nobody   nobody        360 Sep 12 20:01 hooks/

drwxr-xr-x    2 nobody   nobody        104 Sep 12 20:01 locks/