I just downloaded 0.6.0rc5. When I tried to start it initially, I got the familiar "EXCEPTION: 22DbRunRecoveryException" error, so I proceeded to delete the database/ directory and the __db.* files (used the command from Issue #809). Now when I try to start it, bitcoin-qt prints out the following message:
************************
EXCEPTION: 11DbException
Db::open: Invalid argument
bitcoin in Runaway exception
terminate called after throwing an instance of 'DbException'
what(): Db::open: Invalid argument
Aborted
debug.log contains the following:
2012-03-27 16:15:23 Bitcoin version 0.6.0.5-beta
2012-03-27 16:15:23 Default data directory /home/rune/.bitcoin
2012-03-27 16:15:23 Loading addresses...
2012-03-27 16:15:23 dbenv.open strLogDir=/home/rune/.bitcoin/database strErrorFile=/home/rune/.bitcoin/db.log
2012-03-27 16:15:23
************************
EXCEPTION: 11DbException
Db::open: Invalid argument
bitcoin in Runaway exception
db.log says:
file unknown has LSN 300/4326497, past end of log at 1/28
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
__db_meta_setup: /home/rune/.bitcoin/addr.dat: unexpected file type or format
when I ran it before, db.log contained the same error, except it was related to blkindex.dat.