Pages:
Author

Topic: Encrypted wallet.dat, lost password, any solutions? - page 28. (Read 213600 times)

hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Try:

mv ~/.bitcoin ~/.bitcoin-old
mkdir ~/.bitcoin
cp ~/.bitcoin-old/wallet.dat ~/.bitcoin
echo rpcpassword=somerandomjunk > ~/.bitcoin/bitcoin.conf
./bitcoind -daemon



edit: Fixed the echo line
hero member
Activity: 560
Merit: 500
newb@newb-VPCEB45FG:~/bitcoin-0.6.3-linux/bin/32$ ./bitcoind -getinfo


************************
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in AppInit()       

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
Aborted (core dumped)
hero member
Activity: 560
Merit: 500
get this error on starting bitcoind

newb@newb-VPCEB45FG:~$ cd bitcoin-0.6.3-linux/bin/32/
newb@newb-VPCEB45FG:~/bitcoin-0.6.3-linux/bin/32$ ls
bitcoind  bitcoin-qt  brute.rb
newb@newb-VPCEB45FG:~/bitcoin-0.6.3-linux/bin/32$ echo rpcpassword=somerandomjunk > ~/.bitcoin/bitcoin.conf
newb@newb-VPCEB45FG:~/bitcoin-0.6.3-linux/bin/32$ ./bitcoind -daemon
newb@newb-VPCEB45FG:~/bitcoin-0.6.3-linux/bin/32$ bitcoin server starting


************************
EXCEPTION: 22DbRunRecoveryException      
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery      
bitcoin in AppInit()      

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
hero member
Activity: 560
Merit: 500
Trying above steps.
hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Did you actually get and install bitcoin?  Try this:

wget http://softlayer.dl.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-0.6.3/bitcoin-0.6.3-linux.tar.gz
tar -xf bitcoin-0.6.3-linux.tar.gz
cd bitcoin-0.6.3-linux/bin/32/
mv ~/.bitcoin/brute.rb .
echo rpcpassword=somerandomjunk > ~/.bitcoin/bitcoin.conf
./bitcoind -daemon

... wait a minute while it starts up ...

ruby brute.rb

And it should start cracking.
hero member
Activity: 560
Merit: 500
Eh No I have placed brute.rb in directory where my wallet.dat is.

Would you know what is the path to bitcoind directory.
hero member
Activity: 560
Merit: 500
there is bitcoind.pid file in the ./bitcoin directory is this correct.
hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Is bitcoind in the .bitcoin dir?  To be clear, it needs to be in the directory with the Satoshi client program goes, not the one where the wallet.dat goes.
hero member
Activity: 560
Merit: 500
I have Pm you Revalin , please check
hero member
Activity: 560
Merit: 500
Yup brute.rb is in dir /home/.bitcoin/
hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Did you put it in the same dir as bitcoind?  Smiley

It needs to be able to run it and it only looks in the current dir.
hero member
Activity: 560
Merit: 500
Hi Revalin,

I have run the script following all the steps as you suggested , it hardly takes brute.rb to run for few seconds I get message bitcoind not found in current dir.

Am I doing some steps wrong , Have changed passphrase from oops to what i knew of my password.

Please let me know if I am doing some thing wrong.

Regards,
Ashitank
hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Don't forget:  set an RPC password

Also, do it while disconnected from the net so it's not trying to download the blockchain while it runs.  That'll just slow things down.
hero member
Activity: 560
Merit: 500
Thanks for the Help Revalin.

I was running win7 , so I will just use a live Linux Ubuntu cd & copy wallet.dat over to linux & try to work it out.

hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
If you want to use my script:

Install Ruby - http://www.ruby-lang.org/en/downloads/
Save the script to brute.rb in the same directory as bitcoind
Edit the script to change the passphrase from "oops" to your best guess
Start up bitcoind
run: ruby brute.rb

The script was originally for Linux but it should work on OSX or Windows with some small changes.
hero member
Activity: 560
Merit: 500
I have manged to loose my passshare key, can any body tell what are the exact steps I could do as mentioned in this thread to recover lost passshare key, i do remember my passhare but I am not able to get it right  Cry.

newbie
Activity: 42
Merit: 0
When setting the password a "show password" button would be nice. You can always not click it if you are not alone.
legendary
Activity: 2506
Merit: 1010
I think if bitcoin is to take off into the mainstream - solutions to lost coins need to be found.

Are you are making the assumption that if coins are lost, there will be price deflation (due to there being less coins).  Price deflation means hoarding.  Hoarding means less spending.  Thus Bitcoin fail.  Is that your line of thinking on the lost coins topic?


full member
Activity: 179
Merit: 100
Interesting thread, glad you got your bitcoins back - I think if bitcoin is to take off into the mainstream - solutions to lost coins need to be found.

I loved all the code by the way guys - I dont really code to well, but its nice to at least have an attempt to read it - all above me Smiley
full member
Activity: 179
Merit: 100
if it really was you who put the password the best piece of hardware you can use right now is your brain

relax and try to recreate the whole scenario, time, place, mindset of when you were leaning on the bitcoin client, then put your hands on the keyboard, focus and start trying

hopefully the password will emerge

source: my own experience, I have set up a password on a 50 btc worth wallet. This is how it happened:

It was late night in a hostel, the only computer avaiable, not only a public a PC but I had to use standing up, and, to increase the anxiety level, I was drinking beer. Put the password and shutdown the PC. Then I left the place I was for three days, here is where I needed the password and: WTF?! Wrong password! Don't panic.  At this time the password only existed on my brain, then just said to myself I was going to remeber. I did exactly as I told you above. Took me one day to go back to the place I had set up the password. And two more days acting like "12:01" movie to finally extract it from my mind. The pass was a 12 chars long phrase.

Hope this inspires you. Cheesy

Havent got to the end of the post yet, however, I think this is good advice - when I lose something I always ask myself "if I was xxx where would I be", its useful to put yourself in the same frame of mind, location and emotion you were in, helps jog the memory, everythings stored up there for a while - just gotta find it.
Pages:
Jump to: