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

Re: WebDAV borked on FreeBSD; local repository access works fine.

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-09-12 23:36:10 CEST

Dan Shoutis <shoutis@peakpeak.com> writes:

> I can't seem to get access via Apache working (revision 3033); every
> access attempt gives "Expected version '1' of repository; found no
> version at all; is '/home/svn/sites' a valid repository path?"
> Why yes, Mr. Helpful Error Message, it is:
> # svnadmin lsrevs /home/svn/sites
> Revision 0
> Created: 2002-09-12T03:18:02.931990Z
> Author:
> Log (0 bytes):
> .
> .
> .

Apache is failing to read the file /home/svn/sites/format which should
contain a single line consisting of the digit "1". You say the
permissions are correct so it's not immediately obvious what's causing
the problem. You may have to debug it, something like

$ gdb /path/to/httpd
(gdb) b main
(gdb) r -X
Breakpoint main
(gdb) b svn_io_read_version_file
(gdb) c
(gdb) # Use some client to access the repository
Breakpoint svn_io_read_version_file
(gdb) p path
(gdb) # s or n or p or whatever

and find out what goes wrong.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 12 23:36:49 2002

This is an archived mail posted to the Subversion Dev mailing list.