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

Doing an svn ls can change back-end db (when using BDB)?

From: Srinivas Kotla <skotla_at_broadsoft.com>
Date: 2007-07-13 21:22:24 CEST


This is what happened to me today. Our server (linux) was running
subversion 1.3.2 with BDB 4.3. I installed subversion 1.4.4, BDB
4.4.20, apache 2.0.59 (couldn't get 2.2.4 working, a different story).
I started up the new httpd server on port 8080. I did an "svn ls" on
our code repository using the new httpd server. Immediately after that,
that repository became inaccessible to svn 1.3.2.


I reproduced it here:


[subversion@sklinux tmp]$ /opt/subversion-1.3.2/bin/svnadmin create
--fs-type bdb repos132


[subversion@sklinux tmp]$ /opt/subversion-1.3.2/bin/svn mkdir
file:///tmp/repos132/trunk -m "Creating dir using svn 1.3.2"


Committed revision 1.


[subversion@sklinux tmp]$ /opt/subversion-1.3.2/bin/svn ls
file:///tmp/repos132 trunk/


[subversion@sklinux tmp]$ /opt/subversion-1.4.4/bin/svn ls



[subversion@sklinux tmp]$ /opt/subversion-1.3.2/bin/svn ls
file:///tmp/repos132 svn: Unable to open an ra_local session to URL

svn: Unable to open repository 'file:///tmp/repos132'

svn: Berkeley DB error for filesystem /tmp/repos132/db while opening

DB_VERSION_MISMATCH: Database environment version mismatch

svn: bdb: Program version 4.3 doesn't match environment version


Srinivas Kotla | BROADSOFT Inc. 
P| 240.364.5260  Email| skotla@broadsoft.com
Mail| 220 Perry Parkway | Gaithersburg | MD 20877

Received on Fri Jul 13 21:22:09 2007

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.