Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: icebrain on July 13, 2010, 11:27:09 AM



Title: EXCEPTION: 22DbRunRecoveryException
Post by: icebrain on July 13, 2010, 11:27:09 AM
Hi! I'm running bitcoin in Linux without any problems, but I've tried installing it on Windows and I can't get it to run.

The error is:
Code:
EXCEPTION: 22DbRunRecoveryException
DbEnv::open:DB_RUNRECOVERY:Fatal error, run database recovery

It happens both on the zip version and the installed.

I tried going to %appdata% and there was no bitcoin folder. Tried creating one, nothing, tried copying the wallet.dat file from the Linux version, nothing.

I'm running Bitcoin 0.3.0 on Windows 7 (32bit).

Thanks for your help!


Title: Re: EXCEPTION: 22DbRunRecoveryException
Post by: SmokeTooMuch on July 13, 2010, 06:41:32 PM
C:\Users\USERNAME\AppData\Roaming\Bitcoin

That's where the wallet.dat and the block database is stored.
Maybe you can find the bug there.

Win7 64-Bit here and no problems with running Bitcoin 0.3.


Title: Re: EXCEPTION: 22DbRunRecoveryException
Post by: icebrain on July 13, 2010, 06:48:27 PM
That's where %appdata% resolves to (I've tested).


Title: Re: EXCEPTION: 22DbRunRecoveryException
Post by: laszlo on July 13, 2010, 06:50:16 PM
Maybe it's the UAC stuff - like perhaps the %APPDATA%/Bitcoin dir was created while it was running as administrator but now it's running normally?  Maybe you could try running it as administrator to see if it's related to that.


Title: Re: EXCEPTION: 22DbRunRecoveryException
Post by: icebrain on July 13, 2010, 08:24:03 PM
The Bitcoin dir wasn't created at all. I tried creating the folder myself, I checked the permission of %APPDATA%, nothing worked.

I've tried running as admin too. :-[


Title: Re: EXCEPTION: 22DbRunRecoveryException
Post by: m0mchil on July 14, 2010, 09:35:50 AM
Check for this: http://bitcointalk.org/index.php?topic=246.0 (http://bitcointalk.org/index.php?topic=246.0)