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

Berkeley db version problem

From: Robert Rapp <bert_at_swfglug.org>
Date: 2004-10-04 01:17:19 CEST

Having just setup subversion on Mandrake 10.1 when I use a browser to
view the respository I receive the error:

Could not open the requested SVN filesystem

I used the RPMs at http://ben.reser.org/mandrake/breser

I believe I have a problem with the version of Berkeley DB that's being
used, here's why.

In my apache error log I see the following:
[Sun Oct 03 19:10:21 2004] [error] [client 192.168.11.31] (20014)Error
string not specified yet: Bad database version: compiled with 4.1.25,
running against 4.2.52
[Sun Oct 03 19:10:21 2004] [error] [client 192.168.11.31] Could not
fetch resource information. [500, #0]
[Sun Oct 03 19:10:21 2004] [error] [client 192.168.11.31] Could not open
the requested SVN filesystem [500, #160000]
[Sun Oct 03 19:10:21 2004] [error] [client 192.168.11.31] Could not open
the requested SVN filesystem [500, #160000]

And looking at the libraries that svn and apache are built against
reveals the following:
[root@tiny /]# ldd /usr/bin/svn | fgrep libdb
         libdb-4.1.so => /usr/lib/libdb-4.1.so (0x400bc000)
         libdb-4.2.so => /usr/lib/libdb-4.2.so (0x406be000)

[root@tiny /]# ldd /usr/sbin/httpd2 | fgrep libdb
         libdb-4.2.so => /usr/lib/libdb-4.2.so (0x401e4000)

It appears to me that svn is/can use 4.1 or 4.2 however apache can only
use 4.2. I don't believe it is a permissions problem. I can su to
apache (my apache user) and get into the repos directory.

First, am I correct?

Second, is it possible to force svn to use 4.2?

Third, how could I verify the db version in my repos? I don't know much
about Berkeley db. Is there a command line tool that I can run against
the db to find its version?

Thank you for any help. I'm an avid CVS user and would like to give
Subversion a try.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 4 01:23:58 2004

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.