ercolinux
Legendary
Offline
Activity: 938
Merit: 1000
|
|
October 23, 2012, 06:54:04 AM |
|
I am experiencing some problems after upgrading from 0.6.3 to 0.7.1 on the bitcoind that I use to process pyramining deposits and payouts. It is running on Linux (OpenSuSE 11.2).
My upgrade procedure: - stopped 0.6.3 bitcoind - replaced binaries with 0.7.1 ones - started 0.7.1 bitcoind
At first, I had to download again all the blockchain because for some reason it was displaying the message "WARNING: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.", and I didn't find out how to repair it.
After the blockchain has been downloaded, it started working as expected, but after about 20 hours, I found it hung up and unresponsive. No way to stop it or kill it, even with -9.
After a reboot it started and worked well for a couple of hours, then the same trouble appeared again.
Environment: ATOM D2500 dual core (64bit arch), 4GB/ram, 60Gb SSD, 100mbit/s ip connectivity, OpenSuSE Linux 12.1. wallet.dat is around 200MB in size.
Behaviour: after working normally for few hours, it freezes. Debug log displays RPC commands, but they never return any result.
I am currently downgrading to 0.6.3, I will keep an eye open to see if the issue disappears using this version.
Strange: I use 0.7.1 on 2 different PC with no issues (I've upgraded them from 0.6.3 to 0.7 and then 0.7.1). Do you've compiled yourself the program or you're using the precompiled version? Give a try at the RPM version or try to remove the blk* files in the bitcoin directory
|
Bitrated user: ercolinux.
|
|
|
pyramining
|
|
October 23, 2012, 07:46:18 AM |
|
Strange: I use 0.7.1 on 2 different PC with no issues (I've upgraded them from 0.6.3 to 0.7 and then 0.7.1). Do you've compiled yourself the program or you're using the precompiled version? Give a try at the RPM version or try to remove the blk* files in the bitcoin directory
On other machines it runs correctly, but they handle a lot less addresses/transactions, and yes, I tried to download the blockchain from scratch, but the issue appeared again.
|
|
|
|
LightRider
Legendary
Offline
Activity: 1500
Merit: 1022
I advocate the Zeitgeist Movement & Venus Project.
|
|
October 23, 2012, 11:23:16 AM |
|
@LightRider I need to understand, when did you reboot and realized that helped? Seems a little weird to me. Perhaps there were orphan instances running, which went away after the reboot.
Dia
Upgraded -> Started bitcoin -> Tried donation links which failed -> Quit bitcoin -> Found multiple donation link processes and force closed them -> Tried starting bitcoin again, but would get no gui or unresponsive gui -> Tried your suggestion and got same result -> Reboot machine -> bitcoin works fine
|
|
|
|
|
|
AvL42
|
|
October 25, 2012, 12:09:58 PM |
|
@Diapolo: thanks for forwarding it to a more appropriate place!
I admit, I felt like trying to avoid the umpty+1st registration to yet another bugtracking system (already have a sourceforge login, and a couple others, but haven't used git so far).
In case I find more bugs, I'll consider registering.
|
|
|
|
Raoul Duke
aka psy
Legendary
Offline
Activity: 1358
Merit: 1002
|
|
October 26, 2012, 10:52:42 PM |
|
Can't update bitcoin-qt using the PPA on ubuntu 12.10 quantal. I see on the browser it's supposed to be there, but the update doesn't find it, nor it comes listed on the Software center.
|
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
|
October 27, 2012, 03:59:35 PM |
|
Can't update bitcoin-qt using the PPA on ubuntu 12.10 quantal. I see on the browser it's supposed to be there, but the update doesn't find it, nor it comes listed on the Software center.
Sounds like your package info is outdated. Try opening up terminal and running Then run sudo apt-get install bitcoin-qt If that doesn't work, post the output of apt-cache policy bitcoin-qt
|
|
|
|
yrtrnc
|
|
October 28, 2012, 11:51:04 PM |
|
Hi All I am having problems with ubuntu 64 bit 12.10 and bitcoin-qt 0.7.1.. Both fresh install.. I get no gui?? Can see bitcoind running in system resources?? Anyone else having the same prob??
|
|
|
|
Pieter Wuille
Legendary
Offline
Activity: 1072
Merit: 1181
|
|
October 29, 2012, 12:09:33 AM |
|
I am having problems with ubuntu 64 bit 12.10 and bitcoin-qt 0.7.1.. Both fresh install.. I get no gui?? Can see bitcoind running in system resources?? Either run bitcoind, or bitcoin-qt. You can't run both at once (well, you can, but not out of the box, and it won't do what you want)
|
I do Bitcoin stuff.
|
|
|
yrtrnc
|
|
October 29, 2012, 07:11:29 AM |
|
Thanks mate ! Now, what happened next! So I ran bitcoin-qt and turned off bitcoind.. It was syncing fine, until I tried to restart the program. Then I got: A fatal error has occured. Bitcoin can no longer continue safely and will quit. Exception: St13runtime_error CDB() : can't open database file wallet.dat, error 12 bitcoin in Runaway exception.
|
|
|
|
AvL42
|
|
October 29, 2012, 08:10:47 AM |
|
You *do* have a backup, don't you? Terminate all running clients, restore from backup and restart...
Don't have one? And more than just a few peanuts of btc in the wallet? Probably not all hope is lost, but prepare for a bumpy road ahead.
|
|
|
|
yrtrnc
|
|
October 29, 2012, 08:16:19 AM |
|
Bumpy road?? Why would my wallet be lost anyhow? You *do* have a backup, don't you? Terminate all running clients, restore from backup and restart...
Don't have one? And more than just a few peanuts of btc in the wallet? Probably not all hope is lost, but prepare for a bumpy road ahead.
|
|
|
|
AvL42
|
|
October 29, 2012, 10:48:12 AM |
|
I did not say "lost".
From what you wrote, it seems that the bitcoin-client has difficulties to open and use your wallet. Most likely the information is still stored in it, but you may have to do some sorcery to get the client use it. The much easier way, of course, is when you have a backup.
I'm not a developer of any bitcoin-client.
What's current state of affairs? Do you have a backup? What order of value was stored in it? (i.e.: does it even pay to spend effort on recovering it?)
|
|
|
|
marcus_of_augustus
Legendary
Offline
Activity: 3920
Merit: 2349
Eadem mutata resurgo
|
|
October 29, 2012, 10:54:03 AM |
|
Ummm, in what way are your RPM's "The offical frontend for the bitcoin cryptocurrency" ?? And what guarantees, (sigs, etc) do you supply that you actually built these binaries from the "official" source? I ask because you post this in the official announcement thread for latest version release.
|
|
|
|
ercolinux
Legendary
Offline
Activity: 938
Merit: 1000
|
|
October 29, 2012, 02:28:00 PM |
|
Ummm, in what way are your RPM's "The offical frontend for the bitcoin cryptocurrency" ?? And what guarantees, (sigs, etc) do you supply that you actually built these binaries from the "official" source? I ask because you post this in the official announcement thread for latest version release. As for every package there is no warranty except the trust in the packager, but the source RPM is there too, so everybody can check it and eventually rebuilt from scratch to verify that is built from the official source. The sentence "The official frontend for the bitcoin cryptocurrency" is in the description and refers to the program bitcoin not to my package; the description is there to make the search of the package faster in our frontend, but if it's misleading I can remove the sentence.
|
Bitrated user: ercolinux.
|
|
|
yrtrnc
|
|
October 29, 2012, 06:32:30 PM |
|
No worries, had none in there anyway. My main problem is every time I try to sync the blockchain I keep getting the same error before it completes. Exception: St13runtime_error CDB() : can't open database file wallet.dat, error 12 bitcoin in Runaway exception. I delete all files and restart the process and same thing happens again and again... Thanks for any help.. I did not say "lost".
From what you wrote, it seems that the bitcoin-client has difficulties to open and use your wallet. Most likely the information is still stored in it, but you may have to do some sorcery to get the client use it. The much easier way, of course, is when you have a backup.
I'm not a developer of any bitcoin-client.
What's current state of affairs? Do you have a backup? What order of value was stored in it? (i.e.: does it even pay to spend effort on recovering it?)
|
|
|
|
yrtrnc
|
|
October 30, 2012, 07:41:21 AM |
|
So yes, I reinstalled it again and half hour into it I get the same msg again. "WARNING: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade."
Then when I close and restart the program, I get: A fatal error has occured. Bitcoin can no longer continue safely and will quit.
Exception: St13runtime_error CDB() : can't open database file wallet.dat, error 12 bitcoin in Runaway exception.
Any ideas??
|
|
|
|
Diapolo
|
|
October 30, 2012, 08:14:31 AM |
|
So yes, I reinstalled it again and half hour into it I get the same msg again. "WARNING: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade."
Then when I close and restart the program, I get: A fatal error has occured. Bitcoin can no longer continue safely and will quit.
Exception: St13runtime_error CDB() : can't open database file wallet.dat, error 12 bitcoin in Runaway exception.
Any ideas??
Can you pastebin your debug.log? You can also try the newly introduced (0.7.1): -salvagewallet command-line option, which moves any existing wallet.dat to wallet.{timestamp}.dat and then attempts to salvage public/private keys and master encryption keys (if the wallet is encrypted) into a new wallet.dat. This should only be used if your wallet becomes corrupted, and is not intended to replace regular wallet backups.
Dia
|
|
|
|
yrtrnc
|
|
October 30, 2012, 07:09:15 PM |
|
Here it is. I am running 0.7.1. I have cut the log a bit short. Thanks ERROR: FetchInputs() : 5b2febc48a mempool Tx prev not found a5d15e1498 stored orphan tx 5b2febc48a (mapsz 5613) received block 00000000000002e174e6 ProcessBlock: ORPHAN BLOCK, prev=00000000000007328218 ERROR: FetchInputs() : fafa937e40 mempool Tx prev not found 4578de4640 stored orphan tx fafa937e40 (mapsz 5614) Flushed 10661 addresses to peers.dat 246ms received block 00000000000002dd859a ProcessBlock: ORPHAN BLOCK, prev=00000000000002e174e6 Added 1 addresses from 94.179.214.34: 13 tried, 10648 new ERROR: FetchInputs() : 955e361a1a mempool Tx prev not found 6e08b7388c stored orphan tx 955e361a1a (mapsz 5615) ERROR: FetchInputs() : 1d5d5ac640 mempool Tx prev not found 52cd767862 stored orphan tx 1d5d5ac640 (mapsz 5616) ERROR: FetchInputs() : 7b2dcce78d mempool Tx prev not found 5b2febc48a stored orphan tx 7b2dcce78d (mapsz 5617) received block 00000000000002516ec0 ProcessBlock: ORPHAN BLOCK, prev=00000000000002dd859a ERROR: FetchInputs() : 23f9cd3e91 mempool Tx prev not found d281c0a3e2 stored orphan tx 23f9cd3e91 (mapsz 5618) ERROR: FetchInputs() : 6e9e03ae73 mempool Tx prev not found 5b2febc48a stored orphan tx 6e9e03ae73 (mapsz 5619) received block 0000000000000294a1bc ProcessBlock: ORPHAN BLOCK, prev=00000000000002516ec0 ERROR: FetchInputs() : 9666265669 mempool Tx prev not found fafa937e40 stored orphan tx 9666265669 (mapsz 5620) Added 1 addresses from 173.76.177.60: 13 tried, 10648 new ERROR: FetchInputs() : 5e07d9b38c mempool Tx prev not found 5b2febc48a stored orphan tx 5e07d9b38c (mapsz 5621) ERROR: FetchInputs() : 3f9a3d8ee2 mempool Tx prev not found 5b2febc48a stored orphan tx 3f9a3d8ee2 (mapsz 5622) ERROR: FetchInputs() : a993dd9d99 mempool Tx prev not found 4551f0e1cd stored orphan tx a993dd9d99 (mapsz 5623) ERROR: FetchInputs() : fd88eb3179 mempool Tx prev not found 5b2febc48a stored orphan tx fd88eb3179 (mapsz 5624) received block 000000000000066ecfe5 ProcessBlock: ORPHAN BLOCK, prev=0000000000000294a1bc Added 1 addresses from 173.76.177.60: 13 tried, 10649 new received block 000000000000010fa885 ProcessBlock: ORPHAN BLOCK, prev=000000000000066ecfe5 received block 00000000000004c689d9 ProcessBlock: ORPHAN BLOCK, prev=000000000000010fa885 ERROR: FetchInputs() : 879c40d7f5 mempool Tx prev not found 1d5d5ac640 stored orphan tx 879c40d7f5 (mapsz 5625) ERROR: FetchInputs() : 4a0138c922 mempool Tx prev not found e676005a6d stored orphan tx 4a0138c922 (mapsz 5626) received block 000000000000045c31bb ProcessBlock: ORPHAN BLOCK, prev=00000000000004c689d9 received block 000000000000051c24db ProcessBlock: ORPHAN BLOCK, prev=000000000000045c31bb received block 000000000000047ffa72 ProcessBlock: ORPHAN BLOCK, prev=000000000000051c24db ERROR: FetchInputs() : 6fc3777ee6 mempool Tx prev not found 2203f90fcb stored orphan tx 6fc3777ee6 (mapsz 5627) ERROR: FetchInputs() : a5c007a181 mempool Tx prev not found a993dd9d99 stored orphan tx a5c007a181 (mapsz 5628) received block 000000000000019b5080 ProcessBlock: ORPHAN BLOCK, prev=000000000000047ffa72 Flush(false) blkindex.dat refcount=0 ThreadSocketHandler exited ThreadMessageHandler exited ipcThread exited blkindex.dat checkpoint ThreadMapPort exited blkindex.dat closed wallet.dat refcount=0 wallet.dat checkpoint wallet.dat detach wallet.dat closed DBFlush(false) ended 1087ms StopNode() ThreadOpenConnections exited Flushed 10662 addresses to peers.dat 560ms Flush(true) DBFlush(true) ended 0ms Bitcoin exited
Bitcoin version v0.7.1.0-geb49457-beta () Using OpenSSL version OpenSSL 1.0.1c 10 May 2012 Startup time: 30/10/12 18:59:17 Default data directory /home/yr/.bitcoin Used data directory /home/yr/.bitcoin dbenv.open LogDir=/home/yr/.bitcoin/database ErrorFile=/home/yr/.bitcoin/db.log Loading block index... LoadBlockIndex(): hashBestChain=0000000034bd1e0953a3 height=43788 date=04/03/10 20:29:39 Verifying last 2500 blocks at level 1 block index 18996ms Loading wallet...
************************ EXCEPTION: St13runtime_error CDB() : can't open database file wallet.dat, error 12 bitcoin in Runaway exception
EnvShutdown exception: Invalid argument (22) |
So yes, I reinstalled it again and half hour into it I get the same msg again. "WARNING: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade."
Then when I close and restart the program, I get: A fatal error has occured. Bitcoin can no longer continue safely and will quit.
Exception: St13runtime_error CDB() : can't open database file wallet.dat, error 12 bitcoin in Runaway exception.
Any ideas??
Can you pastebin your debug.log? You can also try the newly introduced (0.7.1): -salvagewallet command-line option, which moves any existing wallet.dat to wallet.{timestamp}.dat and then attempts to salvage public/private keys and master encryption keys (if the wallet is encrypted) into a new wallet.dat. This should only be used if your wallet becomes corrupted, and is not intended to replace regular wallet backups.
Dia
|
|
|
|
|