Bitcoin Forum

Other => Beginners & Help => Topic started by: Luddite Savant on July 28, 2012, 07:53:07 PM



Title: Bitcoin 6.0.3 linux Fatal Error
Post by: Luddite Savant on July 28, 2012, 07:53:07 PM
Hi,

I would've posted this on the tech support forum but as I've just joined I can't so hopefully someone can help me. I ran bitcoin under Windows but have just switched to Linux Ubunto 12.04. I've installed bitcoin-0.6.3-linux and I replaced the linux wallet.dat file with my file from windows. When running bin/32/bitcoin-qt I got the following error:

"A fatal error occured. Bitcoin can no longer continue safely and will quit.

EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in Runaway exception  "

When running bitcoind, or the 64 versions (just to test, I'm not on 64bit), nothing happens. I've deleted everything & reinstalled to try bitcoin-qt without my existing wallet.dat but I get the same error.

Can anyone tell me what the problem is & how I can resolve it?


Title: Re: Bitcoin 6.0.3 linux Fatal Error
Post by: SunnyKing on July 29, 2012, 06:21:59 PM
Could you post the last few pages of your db.log (in the same directory of your wallet.dat file, ~/.bitcoin)? That would help identify what the problem was.


Title: Re: Bitcoin 6.0.3 linux Fatal Error
Post by: Luddite Savant on July 29, 2012, 09:31:02 PM
Ok, here it is:

Quote
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000405: unsupported log version 16
Invalid log file: log.0000000405: Invalid argument
PANIC: Invalid argument
unable to join the environment
Program version 4.8 doesn't match environment version 5.1
Unacceptable log file /home/anonymous/.bitcoin/database/log.0000000406: unsupported log version 17
Invalid log file: log.0000000406: Invalid argument
PANIC: Invalid argument
unable to join the environment


Title: Re: Bitcoin 6.0.3 linux Fatal Error
Post by: Luddite Savant on July 30, 2012, 05:32:18 PM
Any ideas?


Title: Re: Bitcoin 6.0.3 linux Fatal Error
Post by: SunnyKing on July 30, 2012, 06:00:13 PM
How did you install your bitcoin client?
This error message seems to indicate that there was a mismatched berkeleydb versions.
Bitcoin currently uses BerkeleyDB 4.8 version.


Title: Re: Bitcoin 6.0.3 linux Fatal Error
Post by: Luddite Savant on July 31, 2012, 11:54:12 AM
I installed it by extracting the .gz folder into a seperate folder using archive manager.

If its got mismatched versions how do I go about fixing this, I've already deleted the new folder and reinstalled. Thinking about it I'm not sure if I deleted the hidden folder too. I'll give that a try when I get home.
Failing that any other suggestions?


Title: Re: Bitcoin 6.0.3 linux Fatal Error
Post by: Luddite Savant on July 31, 2012, 06:04:16 PM
That's done the trick, I hadn't deleted the .bitcoin hidden file so that's where the version differences must've been coming in. I've now managed to open bitcoin & it's syncing with the network - only about 170,000 blocks to go.

Cheers for your help SunnyKing