You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Chris Croome <ch...@webarchitects.co.uk> on 2004/06/09 12:54:12 UTC

General filesystem error: Bad database version, was: Re: swiggy bdb problems.

Hi

I have exactly the same error as the email in the thread I'm replying
to [1]. 

I did have a Redhat 9 box running David's RPMS and SVN::Web installed
using CPAN.

Yesterday I upgraded this box to Fedora 2, discovered that subversion
doesn't work on Fedora 2 with a K6 300 [2] so this morning I switched
the disks into a old celeron and did a force install of 4 i686 rpms and
now subversion works.

I have also built all the RPMs needed for SVN::Web to run and installed
these, however I now have this error when trying to browse repos using
SVN::Web:

  General filesystem error: Bad database version: compiled with 4.2.52,
  running against 4.0.14 at /usr/lib/perl5/site_perl/5.8.3/SVN/Web.pm
  line 101

The happy ending below was a result of recompiling apache and subversion
-- I have installed the apache 2 SRPM from Fedora 2 and can't see
anything in the spec file about berkeley db's... does anyone have any
suggestions that might point me in the right direction?

Thanks

Chris

On Thu 26-Feb-2004 at 08:31:59PM -0600, Ben Collins-Sussman wrote:
> On Thu, 2004-02-26 at 16:42, Ben Collins-Sussman wrote:
> 
> > But whenever I try to *use* the bindings (either loading the svn
> > modules into python, or running 'make test' on the perl bindings), I
> > get errors about conflicts between db4.0 and 4.2.
> 
> Here's the happy ending:
> 
> After Ben Reser and I spent hours looking at the problem, Mike Pilato
> finally suggested that the whole "put BDB 4.2 into ld.so.conf"
> strategy was basically a hack, and that I was lucky it was working at
> all.
> 
> So Mike sent me the standard patch to apr-util's configure (the one
> from CVS) to teach it how to *really* recognize db-4.2.  I
> reconfigured apache --with-berkeley-db=XXX --with-dbm=db42, rebuilt
> from scratch, then rebuilt svn from scratch.  Poof, all problems gone.
> No more double-linkage to db40 and db42.  I was able to build both the
> python and perl bindings perfectly, just following the bindings
> INSTALL.  And they work fine.

[1] http://www.contactor.se/~dast/svn/archive-2004-02/0945.shtml

[2] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933

-- 
Chris Croome                               <ch...@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Upgrading to Fedora 2 subversion, was: Re: General filesystem error: Bad database version, was: Re: swiggy bdb problems.

Posted by Chris Croome <ch...@webarchitects.co.uk>.
Hi

On Wed 09-Jun-2004 at 03:58:10PM +0100, Chris Croome wrote:
> 
>   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=125623 

Problem solved, it was all caused by apr not having been upgraded to
the Fedora 2 version (it was still a David Summers version).

For anyone upgrading from RH/Fedora with David's RPMs to Fedora 2 I
suggest that you do the following:

  1. Dump your repos

  2. Uninstall *all* subversion related RPMS, inc compat-db

  3. Upgrade to Fedora 2

  4. Install subversion from Fedora

  5. Create your repos and reload your data

Hope this saves someone some time :-)

Chris 

-- 
Chris Croome                               <ch...@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: General filesystem error: Bad database version, was: Re: swiggy bdb problems.

Posted by Chris Croome <ch...@webarchitects.co.uk>.
Hi

On Wed 09-Jun-2004 at 01:54:12PM +0100, Chris Croome wrote:
> I now have this error when trying to browse repos using
> SVN::Web:
> 
>   General filesystem error: Bad database version: compiled with 4.2.52,
>   running against 4.0.14 at /usr/lib/perl5/site_perl/5.8.3/SVN/Web.pm
>   line 101

I have discovered that this bug doesn't appear on a Fedora 2 box
that was upgraded from Fedora 1 rather than Red Hat 9, I have
submitted it to RedHat's bugzilla:

  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=125623 

But since a fresh install of Fedora 2 doesn't have this problem I
don't suppose many people will have it and perhaps I soiuld just
install Fedora from scratch... :-/

Chris  

-- 
Chris Croome                               <ch...@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org