errcode=720002 Could not open the requested SVN filesystem

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
J-Pro
Forum Newbie
Posts: 6
Joined: Wed Nov 08, 2006 11:47 am
Location: Kishinev, Moldova

errcode=720002 Could not open the requested SVN filesystem

Post by J-Pro »

Good afternoon, dear PHP gurus!

I need your help, maybe someone knows my problem...

I'm starting to use Subversion. I have Win 2003 Server and installed apache http server 2.0.59 after that - svn 1.4.3 and tortoiseSVN 1.4.3. I've read carefully: http://svn.spears.at/ found at this forum, but still can't properly access SVN from local network. I write in mozilla firefox: http://192.168.0.222:20080/svn/Java%20T ... ORganizer/ and just get this error:

Code: Select all

<D:error>
<C:error/>
<m:human-readable errcode="720002">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>
and error.log of apache has:

Code: Select all

[Fri Jun 08 18:35:32 2007] [error] [client 192.168.0.150] (20014)Error string not specified yet: Can't open file 'D:\\SVN\\Java Team Repository\\format': The system cannot find the file specified.
[Fri Jun 08 18:35:32 2007] [error] [client 192.168.0.150] Could not fetch resource information.  [500, #0]
[Fri Jun 08 18:35:32 2007] [error] [client 192.168.0.150] Could not open the requested SVN filesystem  [500, #720002]
[Fri Jun 08 18:35:32 2007] [error] [client 192.168.0.150] Could not open the requested SVN filesystem  [500, #720002]
1. I have repository here: "D:\SVN\Java Team Repository\SITOrganizer\". Just left clicked in the folder and selected TortoiseSVN->Create Repository Here ->Native Filesystem (FSFS).

2. Here is my part of apache conf-file:

Code: Select all

Listen 20080

...

LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_svn_module "C:/Program Files/Subversion/bin/mod_dav_svn.so"
LoadModule authz_svn_module "C:/Program Files/Subversion/bin/mod_authz_svn.so"


...

<Location /svn>
   DAV svn
   SVNListParentPath on
   SVNParentPath "D:\SVN"
   AuthType Basic
   AuthName "Subversion repositories"
   AuthUserFile passwd
   #AuthzSVNAccessFile d:/svnetc/svn-acl
   Require valid-user
</Location>
==========================

And by the way - the second question please: as you can see, the AuthzSVNAccessFile parameter is commented. Because when I uncomment it, Apache gives me that response on my request(http://192.168.0.222:20080/svn/Java%20T ... ORganizer/):

Code: Select all

Forbidden

You don't have permission to access /svn/Java Team Repository/SITORganizer/ on this server.
Apache/2.0.59 (Win32) SVN/1.4.3 DAV/2 Server at 192.168.0.222 Port 20080
error.log of apache has:

Code: Select all

[error] [client 192.168.0.150] Access denied: 'j-pro' GET Java Team Repository:/SITORganizer
Here is my svn-acl file, which is situated in d:\svnetc folder:

Code: Select all

#
# specify groups here
#
[groups]
team1 = j-pro, leoha

#
# team1 group has a read/write access to project1 repository
# all subdirectories
# all others have read access only 
#
#[SITOrganizer:/]
#@team1 = rw
#* = r

[SITOrganizer:/]
j-pro = rw
* = r

Can you help me in these two questions? Especially the first one please. Thank you very much in advance!
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Is server able to read your repository? Check file permissions, and check if there is D:\\SVN\\Java Team Repository\\format file/folder in there.
User avatar
J-Pro
Forum Newbie
Posts: 6
Joined: Wed Nov 08, 2006 11:47 am
Location: Kishinev, Moldova

Post by J-Pro »

Weirdan wrote:Is server able to read your repository? Check file permissions, and check if there is D:\\SVN\\Java Team Repository\\format file/folder in there.
Yes, being on the server locally, I can read my repository and do different tasks like Commit, Update, etc. The point is that it doesn't work through local network via Apache.

About file permissions: The dir D:\SVN, as all the nested dirs has permissions for SYSTEM account for Full Control. Today I even changed the OWNER of D:\SVN and all nested directories to SYSTEM, and it still doesn't work.

About the dir "format" - where is it from? I was it in apache logs, but I have NO such directory and I never asked browser to show it to me. I've asked only for http://192.168.0.222:20080/svn/Java%20T ... ORganizer/, which is on server in: D:\SVN\Java Team Repository\SITOrganizer\. I can't understand anything... :(
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

About the dir "format" - where is it from?
From your logs. Apache (mod_dav probably) tried to open it and failed.
The dir D:\SVN, as all the nested dirs has permissions for SYSTEM account for Full Control.
Is apache running with SYSTEM privileges? I think it's usually installed with NETWORK SERVICE privileges.
but I have NO such directory and I never asked browser to show it to me.
SVN doesn't map internal structure of your repository directly to url, so it's certainly accesses those files you don't request directly.
User avatar
J-Pro
Forum Newbie
Posts: 6
Joined: Wed Nov 08, 2006 11:47 am
Location: Kishinev, Moldova

Post by J-Pro »

Weirdan wrote:
About the dir "format" - where is it from?
From your logs. Apache (mod_dav probably) tried to open it and failed. SVN doesn't map internal structure of your repository directly to url, so it's certainly accesses those files you don't request directly.
But I have only SITORganizer directory in "Java Team Repository" directory, how it could be: "D:\\SVN\\Java Team Repository\\format"? Still can't understand...
Weirdan wrote:
The dir D:\SVN, as all the nested dirs has permissions for SYSTEM account for Full Control.
Is apache running with SYSTEM privileges? I think it's usually installed with NETWORK SERVICE privileges.
Yes, if I open the Task Manager and go to the tab "processes", it show to me that the process called "Apache.exe" runs from SYSTEM account, which has all needed access to D:\SVN and all nested folders...

Can't understand what's the problem... and what can I do...
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

In the HOWTO found at svn.spears.at they mention that all the paths in the apache config file must be written using forward slash (/) as a separator, while you have
SVNParentPath "D:\SVN"
in your config file. Try using forward slash there.
User avatar
J-Pro
Forum Newbie
Posts: 6
Joined: Wed Nov 08, 2006 11:47 am
Location: Kishinev, Moldova

Post by J-Pro »

Weirdan wrote:...
Try using forward slash there.
Tried - the same two problems. The same logs in error.log. :(

I've forgot to post in my first post records from access.log:

When the string "AuthzSVNAccessFile d:/svnetc/svn-acl" is commented(the first question in my first post), access.log says:

Code: Select all

192.168.0.150 - j-pro [18/Jun/2007:23:28:36 +0300] "GET /svn/Java%20Team%20Repository/SITORganizer/ HTTP/1.1" 500 239
but when the string "AuthzSVNAccessFile d:/svnetc/svn-acl" is NOT comented(the second question in my first post), access.log says:

Code: Select all

192.168.0.150 - j-pro [18/Jun/2007:23:28:58 +0300] "GET /svn/Java%20Team%20Repository/SITORganizer/ HTTP/1.1" 403 337

Somebody help! :( I really don't know what to do...
User avatar
J-Pro
Forum Newbie
Posts: 6
Joined: Wed Nov 08, 2006 11:47 am
Location: Kishinev, Moldova

Post by J-Pro »

I've solved the problem:

The answer is - SVNParentPath doesn't support repositories in subdirectories. So I made "D:\SVN\SITOrganizer" instead the old one and everything work well now... Very easy solution... Maybe it helps somebody.

Thanks for your answers.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Glad you managed to get that working.
stefanye
Forum Newbie
Posts: 1
Joined: Mon Dec 15, 2008 3:08 am

Re: errcode=720002 Could not open the requested SVN filesystem

Post by stefanye »

HI,

I have the same problem : <m:human-readable errcode="720002">
Could not open the requested SVN filesystem
</m:human-readable>

my error logs from apache :
[Mon Dec 15 10:00:26 2008] [error] [client 127.0.0.1] (20014)Internal error: Can't open file 'D:\\monprojet\\format': Le fichier sp\xc3\xa9cifi\xc3\xa9 est introuvable.
[Mon Dec 15 10:00:26 2008] [error] [client 127.0.0.1] Could not fetch resource information. [500, #0]
[Mon Dec 15 10:00:26 2008] [error] [client 127.0.0.1] Could not open the requested SVN filesystem [500, #720002]

I've noticed that the file format where in D:\monprojet\.svn\format.
Must I moved that file to D:\monprojet\format?? (I've tried but I've got other errors..)

I don't think it is the same problem that J-Pro because here is my httpd (I don't use SVNParentPath):

<Location /monprojet>
# Le dépôt
DAV svn
SVNPath D:/monprojet
SVNIndexXSLT "D:/svnindex.xls"
SVNAutoversioning on

# Indique comment authentifier les utilisateurs
AuthType Basic
AuthName "Subversion repositories"
# fichiers des utilisateurs
AuthUserFile D:\svn\utilisateurs.txt
Require valid-user
# fichiers des permissions
AuthzSVNAccessFile D:\svn\authz.so
ErrorDocument 404 default
</Location>

Thanks to help me it's a week I'm looking for an issue.
Stephanie
Post Reply