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

Re: Can't recover db

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-04-11 20:16:48 CEST

Blair Zajac <blair@orcaware.com> writes:
> This looks like fun:
>
> Was trying a commit which hung, and trying to recover the database fails:
>
> svnadmin recover test
> Acquiring exclusive lock on repository db.
> Recovery is running, please stand by...
> Recovery completed.
> subversion/libsvn_fs/bdb/bdb-err.c:61: (apr_err=160029)
> svn: Berkeley DB error
> svn: Berkeley DB error while opening `changes' table for filesystem test/db:
> Invalid argument
>
> Any ideas?

Whoa. No -- not even any reason to think this is the same problem as
the ones we're experiencing with svn.collab.net right now, really.

What version of server? Of Apache? What OS? What exact version of
Berkeley? Was the database created with the same Berkeley that you
later ran db_dump with? That error you saw

> $ /opt/i386-linux/db-4.1/bin/db_dump changes > z
> $ /opt/i386-linux/db-4.1/bin/db_load changes.1 < z
> db_load: Length improper for fixed length record 4087
> db_load: Invalid argument

...is quite disturbing :-). Can you examine `z' and identify the bad
record?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 21:00:22 2003

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