Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: PandaMiner on July 04, 2011, 06:25:54 PM



Title: [Solved] Ubuntu Live USB - won't get new blocks after error 11DbException
Post by: PandaMiner on July 04, 2011, 06:25:54 PM
Code:
Exception: 11DbException
Db::put: Cannot allocate memory
bitcoin in ProcessMessage()

I have a 16 GB flash drive, with a 4 GB casper (persistence).

I have 134229 blocks downloaded last time. Today I boot from the usb key and I get that error above, and no more blocks are being downloaded.  I sent myself a transaction, it's in the block chain, but not in my client.

I also see a warning about the balance not being correct.

I don't know ANYTHING about Ubuntu. I made myself this "secure wallet" through the sticky thread in the newbies section. What can I do?

- - -

Also, I got my Win7x64 machine running on the same router with full block chain. How can I transfer the chain manually?

Thanks.

dave


Title: Re: Need help. Ubuntu Live USB - won't get new blocks after error 11DbException
Post by: gigabytecoin on July 05, 2011, 03:44:47 AM
Start by learning a thing or two about linux if you are going to keep your "secure wallet" on linux.

To keep a secure wallet on a usb drive, you really just need to create a new wallet from a virus free machine (which is why the author suggested you install linux on the usb drive in the first place, because linux is generally good with viruses) and then transfer the wallet to that drive and keep the drive some place safe. Or multiple copies of it.

Anyways you probably shut off the computer too quickly.

Did you press and hold the shutdown button? Did you disconnect the power?

Bitcoin is still a beta software, in beta status. It is not perfect.

If you shut the client down without pressing exit and properly closing the computer, chances are you will mess up the block chain (because it is constantly being downloaded and checked) and be forced to re-download it.

Try removing all of your blockchain files (look like: blk*.dat) and then re-downloading the block chain.

This time be sure to shut everything down properly.

Good luck!


Title: Re: Need help. Ubuntu Live USB - won't get new blocks after error 11DbException
Post by: PandaMiner on July 05, 2011, 10:32:32 AM
"This time be sure to shut everything down properly."

Thanks for your help.  But why are you assuming I improperly shut down my computer?

Maybe I didn't provide enough info. I have used this usb drive multiple times, but this was the first time I got the error.

I will do as you suggested with the blk*.dat files.  


Title: Re: Need help. Ubuntu Live USB - won't get new blocks after error 11DbException
Post by: BCEmporium on July 05, 2011, 11:34:51 AM
(...)because linux is generally good with viruses(...)

This is to spread a fake feeling of security. The only "advantage" is that Linux, by being way less used, has less virus designed to it than Windows, isn't "good with viruses".
Like FF, normally safer than IE, yet yesterday I decompile a bitcoin virus that goes after FF stored passwords...


Title: Re: Need help. Ubuntu Live USB - won't get new blocks after error 11DbException
Post by: PandaMiner on July 05, 2011, 12:06:03 PM
Okay, the blk*dat files trick worked; this time. !!!

At first i had 0/unconfirmed, then 2/unconfirmed, then 4/confirmed.  I just made a new transaction (send) and am waiting for confirmation before exporting my balance in full (and trying a new method - leave Ubutnu to the linux geeks)


Title: Re: Need help. Ubuntu Live USB - won't get new blocks after error 11DbException
Post by: BCEmporium on July 05, 2011, 12:52:04 PM
leave Ubutnu to the linux geeks

The last version you can leave for blind people actually, it's desktop is most obnoxious thing I'd ever see...  ;D

Ubuntis: STOP copying or try to copy Android! Desktops aren't mobile tiny devices!