Author

Topic: wallet.dat corrupt (bounty) (Read 311 times)

newbie
Activity: 4
Merit: 1
June 29, 2018, 08:38:21 AM
#13
hello

i need some help i got a wallet.dat from gulden from 2 year ago
i stored it on a USB
i have download a new gulden wallet and when it was done i have closed the wallet deleted the new wallet.dat and paste the new one

when i try to open the wallet it says
wallet.dat corrupt, salvage failed

the debug report say
2018-01-12 19:49:26 CDBEnv::Open: LogDir=D:\guldenblock\database ErrorFile=D:\guldenblock\db.log
2018-01-12 19:49:27 Failed to rename wallet.dat to wallet.some numbers.bak

what i think have go wrong is that i took the wallet.dat out without closing the program
this the only copy i got i already tried recuva

i tried python pywallet.py

when i try walletrecover program from bitcoin

without code i get this error
C:\pywallet>pywallet.py --datadir=C:\(folder where my wallet.dat is)\ --dumpwallet
Traceback (most recent call last):
  File "C:\pywallet\pywallet.py", line 5004, in
    db_env = create_env(db_dir)
  File "C:\pywallet\pywallet.py", line 1269, in create_env
    r = db_env.open(db_dir, (DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_THREAD|DB_RECOVER))
bsddb.db.DBNoSuchFileError: (2, 'No such file or directory -- C:\\yourbkpwallet\\__db.001: No such file or directory')

and with what i guess is the right code i get this error
C:\pywallet>pywallet.py --passphrase=(MyCode) --datadir=C:\(folder where my wallet.dat is)\ --dumpwallet
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.

i think the bitcoin recovery script dont work on a wallet.dat from gulden
i know gulden is a fork of litecoin LTC
but i could not find any scripts for litecoin

so i dont know what to do anymore

i bought 60k coins few year ago and its worth a lot now so the one who can help me out will earn a good bounty

im a windows user


I have such a problem! Have you found a solution?
jr. member
Activity: 32
Merit: 5
February 21, 2018, 11:02:50 PM
#12
a) Recompiling with the same version  version you used originally.
b) Running the old gulden binary, dumping the priv keys of the addresses, trashing the old wallet database then running with the recommended  version  to create a new wallet database. Then import the keys into the new wallet.
Or just try other wallet.
This is a best way! You can download old old gulden binary same as your wallet.dat file!
or Wallet.dat you store on USB had corrupt
Good luck!
newbie
Activity: 8
Merit: 0
January 14, 2018, 06:57:05 AM
#11
nobody can help me?
Dont worry im looking to solution. Give me some time.

i have downloaded discord can you message me your info i can only send one pm per hour
full member
Activity: 377
Merit: 110
January 13, 2018, 06:47:19 AM
#10
nobody can help me?
Dont worry im looking to solution. Give me some time.
newbie
Activity: 8
Merit: 0
January 13, 2018, 06:27:14 AM
#9
nobody can help me?
newbie
Activity: 8
Merit: 0
January 12, 2018, 05:00:06 PM
#8
__db_meta_setup: D:\gulden2block\wallet.dat: unexpected file type or format
Page 0: metadata page corrupted
Page 0: could not check metadata page
wallet.dat: DB_VERIFY_BAD: Database verification failed
__db_meta_setup: D:\gulden2block\wallet.dat: unexpected file type or format


some more info


also this error im getting in python

C:\pywallet>pywallet.py --datadir=C:\yourbkpfolder\ --info
A mandatory option is missing

Usage: pywallet.py [options]
newbie
Activity: 8
Merit: 0
January 12, 2018, 04:53:51 PM
#7
__db_meta_setup: D:\gulden2block\wallet.dat: unexpected file type or format
Page 0: metadata page corrupted
Page 0: could not check metadata page
wallet.dat: DB_VERIFY_BAD: Database verification failed
__db_meta_setup: D:\gulden2block\wallet.dat: unexpected file type or format


some more info
newbie
Activity: 8
Merit: 0
January 12, 2018, 04:24:32 PM
#6
i have try to dump the keys from a working wallet.dat and it did it direct
so its possible

but is it possible to do it from a corrupted wallet.dat

i have my blockchain on a second hard disk would this make make it corrupt?

i can try installing it on original location will take some time but i dont think it will make a change
full member
Activity: 377
Merit: 110
January 12, 2018, 04:15:19 PM
#5
i tried downloading the oldest version of the wallet bit it still give the same error and closes the wallet direct

this is the address im talking about
https://blockchain.gulden.com/address/GUKMLZ87WZc7GNtrnAcf1kkidmgmtMVAzK

i got the corrupted wallet.dat (its about 130mb big)i need the private key when i got them i know what to do with them

is there any way to restore or dump the keys or is this not possible anymore


I think it is impossible to recovery keys from wallet.dat but im not sure.
Don't worry your wallet.dat is not corrupted maybe try to do this on other computer?

"Location “wallet.dat” in Windows:
– C:gebruikerAppdataRoamingGulden
– c:UsersgebruikersnaamAppDataRoamingGulden"
newbie
Activity: 8
Merit: 0
January 12, 2018, 03:54:06 PM
#4
i tried downloading the oldest version of the wallet bit it still give the same error and closes the wallet direct

this is the address im talking about
https://blockchain.gulden.com/address/GUKMLZ87WZc7GNtrnAcf1kkidmgmtMVAzK

i got the corrupted wallet.dat (its about 130mb big)i need the private key when i got them i know what to do with them

is there any way to restore or dump the keys or is this not possible anymore

newbie
Activity: 8
Merit: 0
January 12, 2018, 03:25:07 PM
#3
i will try it thank you
full member
Activity: 377
Merit: 110
January 12, 2018, 03:23:52 PM
#2
a) Recompiling with the same version  version you used originally.
b) Running the old gulden binary, dumping the priv keys of the addresses, trashing the old wallet database then running with the recommended  version  to create a new wallet database. Then import the keys into the new wallet.
Or just try other wallet.
newbie
Activity: 8
Merit: 0
January 12, 2018, 03:05:04 PM
#1
hello

i need some help i got a wallet.dat from gulden from 2 year ago
i stored it on a USB
i have download a new gulden wallet and when it was done i have closed the wallet deleted the new wallet.dat and paste the new one

when i try to open the wallet it says
wallet.dat corrupt, salvage failed

the debug report say
2018-01-12 19:49:26 CDBEnv::Open: LogDir=D:\guldenblock\database ErrorFile=D:\guldenblock\db.log
2018-01-12 19:49:27 Failed to rename wallet.dat to wallet.some numbers.bak

what i think have go wrong is that i took the wallet.dat out without closing the program
this the only copy i got i already tried recuva

i tried python pywallet.py

when i try walletrecover program from bitcoin

without code i get this error
C:\pywallet>pywallet.py --datadir=C:\(folder where my wallet.dat is)\ --dumpwallet
Traceback (most recent call last):
  File "C:\pywallet\pywallet.py", line 5004, in
    db_env = create_env(db_dir)
  File "C:\pywallet\pywallet.py", line 1269, in create_env
    r = db_env.open(db_dir, (DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_THREAD|DB_RECOVER))
bsddb.db.DBNoSuchFileError: (2, 'No such file or directory -- C:\\yourbkpwallet\\__db.001: No such file or directory')

and with what i guess is the right code i get this error
C:\pywallet>pywallet.py --passphrase=(MyCode) --datadir=C:\(folder where my wallet.dat is)\ --dumpwallet
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.

i think the bitcoin recovery script dont work on a wallet.dat from gulden
i know gulden is a fork of litecoin LTC
but i could not find any scripts for litecoin

so i dont know what to do anymore

i bought 60k coins few year ago and its worth a lot now so the one who can help me out will earn a good bounty

im a windows user
Jump to: