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

Re: 'svn co http://' fails

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-06-23 12:42:20 CEST

Sebastian Bergmann wrote:

> I have setup Apache 2.0.40-dev with mod_dav and mod_dav_svn and
> created a test repository
>
> sb@wopr-mobile:~> svnadmin create /usr/local/svn/test
>
> and imported some files
>
> sb_at_wopr-mobile:~> svn import file:///usr/local/svn/test /home/sb/test
>
> Checking out the repository using
>
> sb_at_wopr-mobile:~> svn co file:///usr/local/svn/test
>
> works, but
>
> sb_at_wopr-mobile:~> svn co http://localhost/svn/test
>
> results in the following error
>
> svn_error: #21054 : <General filesystem error>
> OPTIONS request failed on /svn/test
>
> svn_error: #21054 : <General filesystem error>
> bad database version: 2.4.14
>
> What could be going wrong here?
>

The error message says it all. mod_dav_svn is dynamically linking with
BDB 2.4.14, but it should be using 4.0.14. My best guess is that you
have Berkeley DB 2.x installed, and the dynamic loader finds that before
the 4.0.14 you need to build Subversion with.

> mod_dav and mod_dav_svn are installed and activated, the following
> lines are at the end of my httpd.conf
>
> <Location /svn/test>
> DAV svn
> SVNPATH /usr/local/svn/test
> </Location>
>
Yes, that worked -- the error you got came from mod_dav_svn.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 23 12:44:21 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.