Trying to start my testnet-in-a-box instances (with master) I get the following error in the console:
Command line:
0orion@amethyst:~/projects/bitcoin/box$ ../bitcoin/src/bitcoind -datadir=1 -daemon
1
2************************
3EXCEPTION: 22DbRunRecoveryException
4DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
5bitcoin in AppInit()
6
7terminate called after throwing an instance of 'DbRunRecoveryException'
8 what(): DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
debug.log shows:
0Bitcoin version v0.6.0-169-g4040598-beta (2012-04-19 18:21:45 +0200)
1Default data directory /home/orion/.bitcoin
2Loading addresses...
3dbenv.open LogDir=1/testnet/database ErrorFile=1/testnet/db.log
4************************
5EXCEPTION: 22DbRunRecoveryException
6DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
7bitcoin in AppInit()
db.log shows:
01/testnet/1/testnet/database: No such file or directory
1PANIC: No such file or directory
2unable to join the environment
I’ve deleted everything except wallet.dat from the data directory, so that cannot be the problem.
Note the weird 1/testnet/1/testnet/database
. Maybe something is going wrong while building the path?