[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: Gal Aviel <galaviel_at_yahoo.com>
Date: 2005-06-02 09:26:10 CEST

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>
>
> 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.

To solve this, you must somehow create the first revision. As I remember
correctly, you can't even do a 'checkout' at this stage.

The solution is to do 'svn import', which will be your 1st revision.

For example:

  mkdir /my_repos
  mkdir /my_repos/trunk
  mkdir /my_repos/tags
  mkdir /my_repos/branches

  svn import /my_repos http://my_repos_url -m "creating initial repository layout."

After this step, you should be able to checkout, etc.

Hope this helps (if not, we'll figure something else to try ..)

Thanks - Gal.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 5 12:55:51 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.