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

Re: subversion DB_RECOVERY

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2004-01-12 08:47:07 CET

Hi

This should have been posted to users@subversion.tigris.org. I've CC'd
that address.

See below for a possible solution.

On Fri, Jan 09, 2004 at 06:52:34PM +0000, Mark Hampton wrote:
> Something (?) has happened to my svn repository and I get the
> following error
>
> [svn@snow /opt]$ svnadmin recover svn_certess
> Acquiring exclusive lock on repository db.
> Recovery is running, please stand by...svn: Berkeley DB error
> svn: DB_RUNRECOVERY: Fatal error, run database recovery
>
> I have had similar problem in the past - normally due to permissions.
> I ensured the permissions are ok in the db directory and am sure I am
> running as the correct subversion user for administering the
> repository.
>
> Strangely enough I was able to update a working copy as a normal user.
> I admit to using an old version of subversion (5972 from the
> repository).
>
> Where do I go from here ?

Try backing up your repository (see the hotbackup.py script, since 5972
is too old to contain the svnadmin "hotcopy" subcommand.) Then run
"svnadmin recover" on the repository. Just take note of this WARNING
from the FAQ (http://subversion.tigris.org/project_faq.html):

        WARNING: you can seriously corrupt your repository if you run
        recover and another process accesses the repository.

i.e. make absolutely sure that no httpd or svnserver or svn etc.,
process is able to access the repository while running the recover.

> Thanks,
> Mark
>
> --
> Mark.Hampton@Certess.com
> Co-fondateur
> T?l: +33 4 76 89 29 19
> Fax: +33 4 76 50 54 03
> 347, rue Aristide Berg?s
> Parc d'Activit?s de Centr'Alp
> 38340 Voreppe
[snip]

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 12 14:36:19 2004

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.