berkeley DB problem
Net Llama!
netllama
Tue Aug 17 20:05:06 PDT 2004
This one's for any berkeley DB experts out there. I use berkeleyDB as
the backend for my movable type blog. About 10 days ago the partition
where it resides filled up (this isn't my box, don't blame me), and
caused some corruption to the DB.
I've been trying to fix it with the assorted BDB tools (db_recover,
db_dump) but i keep running into problems:
$ db_dump -f entry.db.out entry.db
db_dump: page 206: illegal page type or format
db_dump: PANIC: Invalid argument
db_dump: DB->stat: DB_RUNRECOVERY: Fatal error, run database recovery
db_dump: PANIC: fatal region error detected; run recovery
db_dump: close: DB_RUNRECOVERY: Fatal error, run database recovery
db_dump: PANIC: fatal region error detected; run recovery
db_dump: dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery
$ db_recover -v
db_recover: unable to join the environment
db_recover: Recovery complete at Tue Aug 17 17:47:41 2004
db_recover: Maximum transaction id 80000000 Recovery checkpoint [0][0]
If I run db_recover again, then it stops complaining about 'unable to
join the environment' and just spits out the 'normal' output but nothing
is fixed, as I still can't dump the DB to a flatfile.
Anyone have a few clues to throw me?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
18:00:00 up 58 days, 4:46, 1 user, load average: 0.01, 0.08, 0.08
More information about the Linux-users
mailing list