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

Problem accessing Subversion 1.2.3 repository through Apache 2.2.0 on Debian Sarge from WinXP SP2.

From: Robert Pruett <robertpruett_at_firstfinance.org>
Date: 2005-12-22 01:05:36 CET

Greetings,

First, I read on the website that TortoiseSVN questions should be
directed to a
separate list, but since this isn't a problem I've isolated to that
application,
I think I should start here first.

I am running Debian Sarge with Subversion v1.2.3 and Apache HTTP v2.2.0.

When accessing the repository from a Windows XP SP2 box with TortoiseSVN
over a
local network, I receive the following errors.

Error: PROPFIND request failed on '/svn/repository'
Error: Can't set position pointer in file
'/usr/local/svn/repository/db/revs/1':
Invalid argument

*Report from Apache access_log:*
192.168.xxx.xxx - - [21/Dec/2005:07:42:04 -0700] "PROPFIND /svn/repository
HTTP/1.1" 500 279

*Report from Apache error_log:*
[Wed Dec 21 07:42:04 2005] [error] [client 192.168.xxx.xxx] Could not fetch
resource information. [500, #0]
[Wed Dec 21 07:42:04 2005] [error] [client 192.168.xxx.xxx] Could not
open the
root of the repository [500, #22]
[Wed Dec 21 07:42:04 2005] [error] [client 192.168.xxx.xxx] Can't set
position
pointer in file '/usr/local/svn/repository/db/revs/1': Invalid argument
[500,
#22]

Specification from httpd.conf: (previously had authentication
parameters, but
have since stripped them out for testing purposes)

<Location /svn>
   DAV svn
   SVNParentPath /usr/local/svn
</Location>

Below I've included output to show individual directory and file
permissions for
the repository. I suspect the problem may lie here, but obviously I'm
not sure.
The repository I'm trying to access is "/usr/local/svn/repository",
housed by the
parent directory "/usr/local/svn". The configuration file specifies
SVNParentPath
as "/usr/local/svn", which from my understanding means any repository
within will
be accessible by means of "http://192.168.xxx.xxx/svn/${DIR}". From what I
understand I shouldn't need to specify a separate location tag for the
unique
repositories within; correct me if I'm wrong.

Apache runs as user "www", which owns the /usr/local/svn directory tree.

www@xxx:/usr/local$ ls -laF
total 52
drwxrwsr-x 13 root staff 4096 2005-12-21 04:14 ./
drwxr-xr-x 11 root root 4096 2005-12-14 08:36 ../
drwxr-sr-x 15 root staff 4096 2005-12-16 04:55 apache2/
drwxr-sr-x 3 www www 4096 2005-12-21 07:24 svn/

www@xxx:/usr/local/svn$ ls -laF
total 12
drwxr-sr-x 3 www www 4096 2005-12-21 07:24 ./
drwxrwsr-x 13 root staff 4096 2005-12-21 04:14 ../
drwxr-sr-x 7 www www 4096 2005-12-21 07:24 repository/

www@xxx:/usr/local/svn/repository$ ls -laF
total 36
drwxr-sr-x 7 www www 4096 2005-12-21 07:24 ./
drwxr-sr-x 3 www www 4096 2005-12-21 07:24 ../
drwxr-sr-x 2 www www 4096 2005-12-21 07:24 conf/
drwxr-sr-x 2 www www 4096 2005-12-21 07:24 dav/
drwxr-sr-x 5 www www 4096 2005-12-21 07:24 db/
-r--r--r-- 1 www www 2 2005-12-21 07:24 format
drwxr-sr-x 2 www www 4096 2005-12-21 07:24 hooks/
drwxr-sr-x 2 www www 4096 2005-12-21 07:24 locks/
-rw-r--r-- 1 www www 379 2005-12-21 07:24 README.txt

www@xxx:/usr/local/svn/repository/db$ ls -laF
total 36
drwxr-sr-x 5 www www 4096 2005-12-21 07:24 ./
drwxr-sr-x 7 www www 4096 2005-12-21 07:24 ../
-rw-r--r-- 1 www www 6 2005-12-21 07:24 current
-r--r--r-- 1 www www 2 2005-12-21 07:24 format
-rw-r--r-- 1 www www 5 2005-12-21 07:24 fs-type
drwxr-sr-x 2 www www 4096 2005-12-21 07:24 revprops/
drwxr-sr-x 2 www www 4096 2005-12-21 07:24 revs/
drwxr-sr-x 2 www www 4096 2005-12-21 07:24 transactions/
-rw-r--r-- 1 www www 37 2005-12-21 07:24 uuid
-rw-r--r-- 1 www www 0 2005-12-21 07:24 write-lock

www@xxx:/usr/local/svn/repository/db/revs$ ls -laF
total 16
drwxr-sr-x 2 www www 4096 2005-12-21 07:24 ./
drwxr-sr-x 5 www www 4096 2005-12-21 07:24 ../
-rw-r--r-- 1 www www 115 2005-12-21 07:24 0
-rw-r--r-- 1 www www 2755 2005-12-21 07:24 1

Anything I can find in terms of a solution, or information leading to a
solution, is greatly appreciated in advance. Thanks!

-Obtrectation

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 25 03:03:23 2005

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.