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

Repository recovery problem

From: Andrew Vit <andrew_at_dihedral.ca>
Date: 2006-11-17 21:24:22 CET

I have a repository hosted on Mac OS X 10.3 running svn 1.1.3,
accessed via svn:// protocol. I believe my problem started after a
system reboot (we had some storms and power failures here on the west
coast). After trying to access the repository again, I got the
following error via SmartSVN:

svn: Berkeley DB error while checkpointing after Berkeley DB
transaction for filesystem /Users/Shared/Repositories/ontrack/db:
Invalid Argument
svn: bdb: Ignoring log file: /Users/Shared/Repositories/ontrack/db/
log.0000000099: magic number 0, not 40988
svn: bdb: DB_ENV->log_put: 99: Invalid argument
svn: bdb: txn_checkpoint: failed to flush the buffer cache Invalid

I tried following the instructions in the svnbook for restoring a
"wedged" repository. When I ran the svnadmin recover command, I got
this error:

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: ontrack/db/log.0000000099: magic number
0, not 40988
svn: bdb: Invalid log file: log.0000000099: Invalid argument
svn: bdb: First log record not found
svn: bdb: PANIC: Invalid argument

Please let me know if there's anything else I might try before going
to my backup.

--Andrew Vit

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 17 21:26:51 2006

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