Title: My blockchain doesn't get downloaded after client update Post by: zx9r on February 12, 2013, 05:02:57 PM I downloaded the version 0.7.2 and made an update from 0.3.24 (before this I made a backup of entire /users/appdata/bitcoin directory which I have in a safe place)
After the upgrade, the new version 0.7.2 doesnt start. It throws I kind of segmentation fault and hangs. Then I tried removing the users/bitcoin directory and it starts pretty fine downloading from the beginning of the blockchain withot problems. I deleted again the users/bitcoin directory contents and put in it my wallet.dat. Now the bitcoin client can start, it reads the content of the wallet (I can see the transactions but all unconfirmed) and it is stucked at the block number 149. After that it doesnt any more blocks. I can post some logs: /users/bitcoin/db.txt file wallet.dat has LSN 353/5524652, past end of log at 1/384363 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_ENV->log_flush: LSN of 353/5524652 past current end-of-log of 1/384363 Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment PANIC: DB_RUNRECOVERY: Fatal error, run database recovery wallet.dat: unable to flush page: 7 txn_checkpoint: failed to flush the buffer cache: DB_RUNRECOVERY: Fatal error, run database recovery PANIC: fatal region error detected; run recovery PANIC: fatal region error detected; run recovery PANIC: fatal region error detected; run recovery PANIC: fatal region error detected; run recovery [...] /users/bitcoin/debug.txt received block 0000000000a86824bc08 ERROR: AcceptBlock() : AddToBlockIndex failed ERROR: ProcessBlock() : AcceptBlock FAILED received block 0000000000b9ecdee1ed ERROR: AcceptBlock() : AddToBlockIndex failed ERROR: ProcessBlock() : AcceptBlock FAILED received block 00000000002cce65fb66 ERROR: AcceptBlock() : AddToBlockIndex failed ERROR: ProcessBlock() : AcceptBlock FAILED received block 00000000002eda10df0e ERROR: AcceptBlock() : AddToBlockIndex failed ERROR: ProcessBlock() : AcceptBlock FAILED received block 0000000000a17b36b3ba ERROR: AcceptBlock() : AddToBlockIndex failed ERROR: ProcessBlock() : AcceptBlock FAILED received block 0000000000daf3e57997 ERROR: AcceptBlock() : AddToBlockIndex failed ERROR: ProcessBlock() : AcceptBlock FAILED ERROR: FetchInputs() : 44209c865e mempool Tx prev not found b8ced7a6fd stored orphan tx 44209c865e (mapsz 1106) ERROR: FetchInputs() : 8aef4715a6 mempool Tx prev not found 5b59d4adb6 stored orphan tx 8aef4715a6 (mapsz 1107) ERROR: FetchInputs() : 9f2e70fa49 mempool Tx prev not found c4a2919907 stored orphan tx 9f2e70fa49 (mapsz 1108) ERROR: FetchInputs() : abdc448bb2 mempool Tx prev not found 9f2e70fa49 stored orphan tx abdc448bb2 (mapsz 1109) [...] Flush(false) blkindex.dat refcount=0 blkindex.dat checkpoint blkindex.dat closed wallet.dat refcount=0 wallet.dat checkpoint wallet.dat detach wallet.dat closed DBFlush(false) ended 0ms StopNode() ThreadOpenConnections exited ThreadSocketHandler exited ipcThread exited ThreadMessageHandler exited ThreadMapPort exited Flushed 13638 addresses to peers.dat 78ms Flush(true) DBFlush(true) ended 0ms EnvShutdown exception: DB_RUNRECOVERY: Fatal error, run database recovery (-30974) Bitcoin exited Anybody knows what can I do ? Title: Re: My blockchain doesn't get downloaded after client update Post by: zvs on February 13, 2013, 04:43:24 AM well, you could try getting
http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.0/test/ that and then www.nogleg.com/archive/v0.8.0-Feb-11th/v0.8.0-Feb-11th.7z i havent tested it yet on my windows machine (it's slow to DL 4 gigs) i assume it would work, and be missing a couple hundred blocks maybe? it looks like you'd have to reDL whole blockchain regardless maybe it would need txindex? i duno, i dont keep wallets with transactions on either Title: Re: My blockchain doesn't get downloaded after client update Post by: zvs on February 13, 2013, 06:16:57 AM first try, got an error. deleted database directory and it finished resyncing in about 5 minutes.. starting from 220807
i was going to edit the file to remove that log.00000002 , but it looked like it was gonna take about 30m.. so.. bah. i'll remove it Title: Re: My blockchain doesn't get downloaded after client update Post by: BookLover on February 14, 2013, 03:06:56 PM Clear the bitcoin directory and copy your backup wallet and blockchain files to the bitcoin directory. Then run the bitcoin client with the commands -detachb and -rescan.
This may not work but based on the info given it may resolve your problem. Title: Re: My blockchain doesn't get downloaded after client update Post by: zx9r on February 17, 2013, 07:58:56 PM Finally I made a clean installation and copy only the wallet. It took a big time to download all the entire chain but it is all ok now.
|