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

Re: Problems committing with mod_dav_svn and <Location />

From: André Pang <ozone_at_algorithm.com.au>
Date: 2004-04-07 05:55:55 CEST

On 07/04/2004, at 1:37 AM, Ben Collins-Sussman wrote:

> On Mon, 2004-04-05 at 22:46, André Pang wrote:
>
>> The problem I'm having is that a "svn commit" client command doesn't
>> work
>
> "Doesn't work?" Can you be a bit more specific? Show us the exact
> transcript of the failed commit, and the apache errorlogs?

Oops, I guess that information would be useful :-).

Here's what I'm doing on the client side:

   10:38 /tmp % svn co -q http://svn.foo.bar/repo/trunk repo
   10:39 /tmp % cd repo
   10:39 /tmp/repo % mkdir config
   10:39 /tmp/repo % svn add config
   A config
   10:37 /tmp/repo % svn ci -m "Added 'config' directory for autotools"
   svn: Commit failed (details follow):
   svn:
   Could not open the requested SVN filesystem

Here's what shows up in the Apache server logs:

   [Wed Apr 07 09:37:47 2004] [error] [client 150.229.100.19]
(20014)Error string not specified yet: Can't open file
'/usr/local/share/subversion/repositories/external/error/format': No
such file or directory
   [Wed Apr 07 09:37:47 2004] [error] [client 150.229.100.19] Could not
fetch resource information. [500, #0]
   [Wed Apr 07 09:37:47 2004] [error] [client 150.229.100.19] Could not
open the requested SVN filesystem [500, #2]
   [Wed Apr 07 09:37:47 2004] [error] [client 150.229.100.19]
(84)Invalid or incomplete multibyte or wide character: Could not open
the requested SVN filesystem [500, #2]

However, if I check stuff out with a base URL of www.foo.bar/svn
instead of svn.foo.bar, things work perfectly:

   10:40 /tmp % rm -rf repo
   10:40 /tmp % svn co -q http://www.foo.bar/svn/repo/trunk repo
   10:40 /tmp % cd repo
   10:40 /tmp/repo % mkdir config
   10:40 /tmp/repo % svn add config
   A config
   10:40 /tmp/repo % svn ci -m "Added 'config' directory for autotools"
   Adding config

   Committed revision 9.

I pasted my Apache location configs in my last email, but I'll repaste
them here for good measure:

   <VirtualHost *>
           ServerName www.foo.bar
           <Location /svn>
                   DAV svn
                   SVNParentPath
/usr/local/share/subversion/repositories/external
                   AuthType Basic
                   AuthName "Foo"
                   AuthUserFile /etc/subversion/httpd-auth-file

                   <LimitExcept GET PROPFIND OPTIONS REPORT>
                           Require valid-user
                   </LimitExcept>
           </Location>
   </VirtualHost>

   <VirtualHost *>
           ServerName svn.foo.bar
           <Location />
                   DAV svn
                   SVNParentPath
/usr/local/share/subversion/repositories/external
                   AuthType Basic
                   AuthName "Foo"
                   AuthUserFile /etc/subversion/httpd-auth-file

                   <LimitExcept GET PROPFIND OPTIONS REPORT>
                           Require valid-user
                   </LimitExcept>
           </Location>
   </VirtualHost>

I'm guessing that perhaps mod_dav_svn doesn't play nice if you use
SVNParentPath with the root directory, but I thought I'd double-check
to make sure that something in my configuration isn't screwy.

-- 
% Andre Pang : trust.in.love.to.save
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 7 05:59:22 2004

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.