DB_RUNRECOVERY not recovering -
02-16-2006
, 05:23 PM
hello
this was really a subversion problem that i now consider a berkekley DB
issue
our repository is somehow corrupted.
so i ran
$ db_recover.exe -c -v -h D:\path\to\repos\db
which produces:
Finding last valid log LSN: file: 9779 offset 301002
Recovery starting from [9779][28]
Recovery complete at Thu Feb 16 23:54:26 2006
Maximum transaction ID 80a57a38 Recovery checkpoint [9779][301002]
that looked fine i thougt but when i subsequently access the database
(via subversion/apache) i get this error
Berkeley DB error for filesystem D:\path\to\repos\db while moving
cursor:
DB_RUNRECOVERY: Fatal error, run database recovery [500, #160029]
(20014)Error string not specified yet: Berkeley DB error for filesystem
D:\path\to\repos\db while closing 'nodes' database:
DB_RUNRECOVERY: Fatal error, run database recovery
can anyone explain how a complete DB recovery (with the -c flag )
doesn't work ?
so i tried
$ db_verify.exe -D:\path\to\repos\db\strings
which produces a lot of lines like this:
....
db_verify: Page 42293: btree or recno page is of inappropriate type 0
db_verify: Page 42293: totally zeroed page
db_verify: Page 43785: btree or recno page is of inappropriate type 0
db_verify: Page 43785: totally zeroed page
db_verify: Page 45017: btree or recno page is of inappropriate type 0
db_verify: Page 45017: totally zeroed page
db_verify: Page 352: unterminated leaf chain
db_verify: Page 538940: non-invalid page 538939 on free list
db_verify: D:\path\to\repos\db\strings: DB_VERIFY_BAD: Database
verification failed
i don't undetstand these messages, but i rekon they are not good news.
can someone point me in the right direction so we can recover our
repository
btw. i am infact to use some of the subversion admin tools after the
above recovery procedure, so i can for instance list dead
tranasactions, and see info regarding a specfic subversion revision
(though only on the root directory)
thanks
../a |