[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: Tobias Ringstrom <tori_at_ringstrom.mine.nu>
Date: 2003-04-11 19:19:17 CEST

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.

/Tobias

---------------------------------------------------------------------
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:20:02 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.