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

Database corrupted after power failure

From: Dave Camp <dave_at_thinbits.com>
Date: 2004-10-12 19:59:00 CEST

The UPS on our server failed last night and we seem to have experienced
some damage our the database. I've reviewed the docs and tried the
following:

[absinthe:/svn/foo] dave% svnadmin lstxns .
svn: Berkeley DB error while checkpointing after Berkeley DB
transaction for filesystem db:
Invalid argument
svn: bdb: Ignoring log file: db/log.0000000002: magic number 0, not
40988
svn: bdb: DB_ENV->log_put: 2: Invalid argument
svn: bdb: txn_checkpoint: failed to flush the buffer cache Invalid
argument
svn: Berkeley DB error while closing 'nodes' database for filesystem db:
Invalid argument
svn: bdb: Ignoring log file: db/log.0000000002: magic number 0, not
40988
svn: bdb: DB_ENV->log_put: 2: Invalid argument
svn: bdb: Ignoring log file: db/log.0000000002: magic number 0, not
40988
svn: bdb: DB_ENV->log_put: 2: Invalid argument

[absinthe:/svn] dave% sudo svnadmin recover foo/
Repository lock acquired.
Please wait; recovering the repository may take some time...
svn: DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: Ignoring log file: foo/db/log.0000000002: magic number 0, not
40988
svn: bdb: Invalid log file: log.0000000002: Invalid argument
svn: bdb: First log record not found
svn: bdb: PANIC: Invalid argument

What do I do now? Neither of the suggested commands seems to get very
far?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 12 19:59:42 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.