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

RE: SVN is causing errors.

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Thu, 24 Mar 2011 07:17:22 -0000

Hello,

> -----Original Message-----
> From: chudapati09 [mailto:samjacob18_at_gmail.com]
> Sent: 24 March 2011 05:11
> To: users_at_subversion.apache.org
> Subject: SVN is causing errors.
>
>
> I'm new to the whole SVN thing, it's pretty sweet so I
> thought I might try it out on my home computer.
>
> I have:
> Windows 7 Ultimate x32
>
> I installed the following programs:
> Apache 2.0.64
> Subversion 1.5.1
> TortoiseSVN 1.6.14.21012

Why such an old version of subversion? The current release is 1.6.16
and windows binaries can be had from http://alagazam.net/

> I added the following lines to Program Files\Apache
> Group\Apache2\conf\httpd.conf
> LoadModule dav_module modules/mod_dav.so
> LoadModule dav_fs_module modules/mod_dav_fs.so
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> I added the following code to the end of Program Files\Apache
> Group\Apache2\conf\httpd.conf
> <Location /svn>
> DAV svn
> SVNPath "C:\svn"
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile "c:\svn_conf\passwd"
> Require valid-user
> </Location>
>
> My repository is located in C:\svn
> My passwd is located in C:\svn_conf

Do you mean that your repository is in c:\svn or is it a subdirectory of
c:\svn? Do you have c:\svn\conf, c:\svn\db etc or is there another
directory in there (e.g. c:\svn\repo\db etc)? If you want c:\svn to be
able to host several repos then you probably need SVNParentPath (and
possible SVNListParentPath as well)...

> I am able to import a Project into my repository, and also
> check it out also.

How? By using local file:// access?

> But when I try to access http://localhost/svn/ I get the
> following message
> <D:error>
> <C:error/>
> <m:human-readable errcode="160043">Could not open the
> requested SVN filesystem</m:human-readable>
> </D:error>
>
> The apache error.log produces:
> [Wed Mar 23 23:51:43 2011] [error] [client 192.168.1.1] Could
> not open the requested SVN filesystem [500, #160043]
>
> The apache access.log produces:
> 192.168.1.1 - name [23/Mar/2011:23:51:43 -0500] "GET /svn
> HTTP/1.1" 500 239
>
> My goal is to be able to access my SVN Repository for
> anywhere. I created a no-ip dns host, and when I try to
> check out my project
>
> URL of Repository:
> http://(my url)/svn
>
> I'm get my authentication window, and my username and
> password work, but I get the following error:
> Could not open the requested SVN filesystem
>
> I'm guessing that the error I got before, is involved with this.
> --
> View this message in context:
> http://old.nabble.com/SVN-is-causing-errors.-tp31226203p31226203.html
> Sent from the Subversion Users mailing list archive at Nabble.com.
>
Another possibility is access rights, although this is generally less of
a problem with windoze than with *nix. However, how have you configured
apache ~ what user does the apache service run as and does that user
have sufficient rights to your c:\svn directory tree to be able to
read/write the data there? Newer versions of windoze tend to be
protective of the c:\ drive (or whichever drive letter the OS is
installed to).

(NB: I would usually recommend storing data on a different drive (or
partition, if you only have one drive) from wherever the windoze OS in
installed, so when your OS partition gets trashed you have a chance of
salvaging your data... Win7 is better but I been burned too often
before)

~ mark c
Received on 2011-03-24 08:17:59 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.