[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: Blair Zajac <blair_at_orcaware.com>
Date: 2003-04-11 19:21:20 CEST

Tobias Ringstrom wrote:
>
> On Fri, 11 Apr 2003, Blair Zajac wrote:
>
> > 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?
>
> Check the permissions of all files in the db directory to make sure that
> you have write permission to all of them. A very common problem is that
> httpd is run with umask 22 wich will make the database files read-only for
> others in the same group.

No, all are owned by svn:svn.

Even doing this doesn't work:

$ /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

Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 19:22:07 2003

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.