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

Re: Apache/2.1.0-dev (Unix) DAV/2 SVN/1.2.0 with mod_dav

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-06-05 13:20:23 CEST

On Thursday 02 June 2005 03:26, Gal Aviel wrote:
> Matthieu Pasini <mpasini <at> nexantis.net> writes:
> > Hello,
> >
> > I'm trying to install that couple of software but encounters
> > problems. If I try to reach my repository via a web browser, I get.
> >
> > <D:error>
> > <C:error/>
> > -<m:human-readable errcode="22">
> > Can't set position pointer in file
> > '/usr/local/test/apache/htdocs/svn/test/db/revs/0': Invalid argument
> > </m:human-readable>
> > </D:error>
> >
> > in the logs of apache, I get :
> >
> > Wed Jun 01 12:00:04 2005] [error] [client 10.0.1.196] Could not fetch
> > resource information. [500, #0], referer: http://intranet:4444/svn/
> > [Wed Jun 01 12:00:04 2005] [error] [client 10.0.1.196] Could not open
> > the root of the repository [500, #22], referer:
> > http://intranet:4444/svn/ [Wed Jun 01 12:00:04 2005] [error] [client
> > 10.0.1.196] Can't set position pointer in file
> > '/usr/local/test/apache/htdocs/svn/test/db/revs/0': Invalid argument
> > [500, #22], referer: http://intranet:4444/svn/
> >
> > my configuration for the httpd.conf:
> > <Location /svn/test>
> > DAV svn
> > SVNPath /usr/local/test/apache/htdocs/svn/test
> > SVNAutoversioning on
> > </Location>

Judging by the referer line above, and your Location block here, it looks
like you might have a configuration error. Make sure you don't have a
<Location /svn> block floating around that's conflicting with this
location block.

> > My apache2.1.0 is listening on 4444 and as rights on the repository.
> > Is there a way to resolve that issue ?
> >
> > Thank you.
> > Matthieu
>
> I think I know what your problem is.
>
> You probably created a repository under
> /usr/local/test/apache/htdocs/svn/test/ (using 'svnadmin create'), BUT
> you did not make any revisions yet !!
>
> This is a sort of a bootstrap issue, that I myself have come across.

Really? I've *never* had a problem checking out from a repository using
svn://, file://, or http:// access. You shouldn't have to bootstrap
anything. It's perfectly valid to have an empty repository.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 5 13:21:57 2005

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