Author

Topic: Bitcoin wallet suddenly stopped working (Read 1299 times)

newbie
Activity: 8
Merit: 0
November 17, 2013, 06:55:20 PM
#18
Hey Donnie Love,

I'm experiencing the same exact problem with my Bitcoin-qt wallet here, but on a Mac


I've located the ~/Library/Application Support/Bitcoin directory and have come across the folders "blocks," "chainstate," & "database" along with my db.log, debug.log, peers.dat, & wallet.dat

Which of these do i need to change somehow to get it up and running again? DOn't mean to add any clutter, just looking for a simplification of the problem o_0
You can try to delete/move all blkxxx.dat files in the folder "blocks", then it should redownload!

Worked! re syncing as we speak Smiley

thank you!
hero member
Activity: 541
Merit: 500
Garbochock
November 16, 2013, 07:12:00 PM
#17
Hey Donnie Love,

I'm experiencing the same exact problem with my Bitcoin-qt wallet here, but on a Mac


I've located the ~/Library/Application Support/Bitcoin directory and have come across the folders "blocks," "chainstate," & "database" along with my db.log, debug.log, peers.dat, & wallet.dat

Which of these do i need to change somehow to get it up and running again? DOn't mean to add any clutter, just looking for a simplification of the problem o_0
You can try to delete/move all blkxxx.dat files in the folder "blocks", then it should redownload!
newbie
Activity: 8
Merit: 0
November 16, 2013, 02:47:48 PM
#16
Hey Donnie Love,

I'm experiencing the same exact problem with my Bitcoin-qt wallet here, but on a Mac


I've located the ~/Library/Application Support/Bitcoin directory and have come across the folders "blocks," "chainstate," & "database" along with my db.log, debug.log, peers.dat, & wallet.dat

Which of these do i need to change somehow to get it up and running again? DOn't mean to add any clutter, just looking for a simplification of the problem o_0
newbie
Activity: 11
Merit: 0
November 16, 2013, 09:35:51 AM
#15
You reinstalled the Bitcoin-qt program?

No. I did not uninstall it. Should I have?
sr. member
Activity: 286
Merit: 250
November 16, 2013, 08:52:23 AM
#14
All right, got it backed up and deleting the "blk..." files seemed to get it going. It should only take a week or two to download the whole quarter of a million blocks again. Hopefully, it will work.

Thanks.

You reinstalled the Bitcoin-qt program?
newbie
Activity: 11
Merit: 0
November 15, 2013, 11:51:42 AM
#13
All right, got it backed up and deleting the "blk..." files seemed to get it going. It should only take a week or two to download the whole quarter of a million blocks again. Hopefully, it will work.

Thanks.
hero member
Activity: 541
Merit: 500
Garbochock
November 15, 2013, 04:07:15 AM
#12
I did attempt to back up the wallet under File>Backup Wallet. All I got was a text file full of gibberish.

It should be a .dat file named to whatever you want like "BTC-wallet.dat" or something. If it wasn't then something is wrong.
If that is you could just copy the wallet.dat file to another directory.

I don't know where the blockchain is located in Ubuntu. Not a clue.
It's located in the same directory as the peers.dat file. The blkxxxx.dat (replace xxxx with the files names, like blkindex.dat, blk0001.dat) files contains the blockchain. Move them and then it will redownload the blockchain.

I didn't know that 11.10 ever was supported. It sucks and I hate it, but it's the best I can get in my price range.
It became unsupported in May this year. I however liked that distro! But you should really upgrade to at least 12.04 LTS!


Did you try everything in the thread I linked? The last thing posted especially:
I moved my db to a new drive and did a symbolic link and at first it worked then I stopped the bitcoind then started it again and it failed with...

Code:
ubuntu@cs3:~/.bitcoin$ bitcoin server starting


************************
EXCEPTION: 11DbException
Db::open: Invalid argument
bitcoin in AppInit()

terminate called after throwing an instance of 'DbException'
  what():  Db::open: Invalid argument

Not sure whats going on.

I hit this exact same error running on an instance of Ubuntu 12.04. I then checked the debug.log file created in the .bitcoin/ directory and found:

Code:
LoadBlockIndex(): hashBestChain=00000000000001b38e93  height=197280
Verifying last 2500 blocks at level 1
ERROR: CheckBlock() : block timestamp too far in the future
LoadBlockIndex() : *** found bad block at 197280, hash=00000000000001b38e93f02be1f00ae3f39c4ab32dfb989154d38cfce2b29a4a
ERROR: CheckBlock() : block timestamp too far in the future
LoadBlockIndex() : *** found bad block at 197279, hash=0000000000000088246a0a90732f7fca77d0b0087c1997a91311e70a54b33da8
ERROR: CheckBlock() : block timestamp too far in the future

This further led me to discover that my server time was far off the correct time (by several hours!). So I then explicitly set the time via "date -s".

Example: sudo date -s "Tue Sep  4 22:37:51"

Rerunning the bitcoin server after doing that worked great (fixed the problem!).
Try that if you haven't already!
newbie
Activity: 11
Merit: 0
November 14, 2013, 05:29:16 PM
#11
I also cannot find the peers.dat or .lock files.

I did find them and deleted them. The problem persists.
newbie
Activity: 11
Merit: 0
November 14, 2013, 04:46:05 PM
#10
I will definitely try all these options.

I did attempt to back up the wallet under File>Backup Wallet. All I got was a text file full of gibberish.

I don't know where the blockchain is located in Ubuntu. Not a clue.

I didn't know that 11.10 ever was supported. It sucks and I hate it, but it's the best I can get in my price range.

I also cannot find the peers.dat or .lock files.

I'm just an operator, and I don't know anything about what's under the hood. Most of these suggestions, while very much appreciated, are way over my head. :0/
hero member
Activity: 541
Merit: 500
Garbochock
November 14, 2013, 04:07:51 PM
#9
You can also try to fix the problem by telling Bitcoin-QT to re-download the blockchain.

How do I do that?

Also, I've tried downloading a newer version, but it doesn't seem to work (or I don't know how to make it work).
You can just delete the blockchain from wherever it's located on ubuntu machines!
You should also backup your wallet as deepceleron said (and try his advices), cannot be stressed enough!

Btw, have you seen this thread? Might help! https://bitcointalksearch.org/topic/exception-11dbexception-dbopen-invalid-argument-bitcoin-in-run-89639


And this might be off-topic, but you know that 11.10 is unsupported, right?
newbie
Activity: 11
Merit: 0
November 14, 2013, 02:43:34 PM
#8
You can also try to fix the problem by telling Bitcoin-QT to re-download the blockchain.

How do I do that?

Also, I've tried downloading a newer version, but it doesn't seem to work (or I don't know how to make it work).
legendary
Activity: 1512
Merit: 1036
November 14, 2013, 02:26:43 PM
#7
Probably one of the berkeley db files is messed up, a likely culprit is ~/.bitcoin/peers.dat. Delete it and the .lock file, and restart.

If that doesn't do it, you should make a backup of your wallet.dat, and start with the -salvagewallet option.

You may also need to rename (instead of delete) the "database" subdirectory which also contains berkeleydb logs.

That's of course if you've checked disk space with df, done an fsck, etc.

Also, you should be using the latest client, v0.8.5, if you got that "uses qt version" from the about qt, its probably an old version.
hero member
Activity: 541
Merit: 500
Garbochock
November 14, 2013, 01:41:12 PM
#6
http://en.wikipedia.org/wiki/Memory_leak

You could copy your wallet to another computer and move them from there. You can also try to fix the problem by telling Bitcoin-QT to re-download the blockchain.
If it's a hardware problem you have to replace the memory card(s).
newbie
Activity: 11
Merit: 0
November 14, 2013, 01:10:24 PM
#5
"Leaking" memory? What does that even mean?
What I really need to know is: how do I get my Bitcoins out of there?
hero member
Activity: 541
Merit: 500
Garbochock
November 14, 2013, 11:13:13 AM
#4
I'd say hardware failure or the process leaking memory!
newbie
Activity: 11
Merit: 0
November 14, 2013, 09:54:41 AM
#3
I don't see how that could be. I have 275 GB of free space. But if that is the problem, how can I fix it?
full member
Activity: 196
Merit: 100
November 14, 2013, 08:56:26 AM
#2
You might be running out of memory
newbie
Activity: 11
Merit: 0
November 14, 2013, 08:04:23 AM
#1
My Bitcoin "wallet" application has suddenly stopped working. I get an error that reads:

Quote
EXCEPTION: 11DbException
DB::put: Cannot allocate memory
bitcoin in ProcessMessages()

This program uses Qt version 4.7.4.

Operating system is Ubuntu 11.10
Jump to: