Bitcoin Forum
November 06, 2024, 01:41:22 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: wallet.dat corrupt (bounty)  (Read 311 times)
ineedsomehelp007 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 12, 2018, 08: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 <module>
    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
Grab
Full Member
***
Offline Offline

Activity: 377
Merit: 110


View Profile
January 12, 2018, 08: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.
ineedsomehelp007 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 12, 2018, 08:25:07 PM
 #3

i will try it thank you
ineedsomehelp007 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 12, 2018, 08: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

Grab
Full Member
***
Offline Offline

Activity: 377
Merit: 110


View Profile
January 12, 2018, 09: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"
ineedsomehelp007 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 12, 2018, 09: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
ineedsomehelp007 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 12, 2018, 09: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
ineedsomehelp007 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 12, 2018, 10: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]
ineedsomehelp007 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 13, 2018, 11:27:14 AM
 #9

nobody can help me?
Grab
Full Member
***
Offline Offline

Activity: 377
Merit: 110


View Profile
January 13, 2018, 11:47:19 AM
 #10

nobody can help me?
Dont worry im looking to solution. Give me some time.
ineedsomehelp007 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 14, 2018, 11: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
Thaoan
Jr. Member
*
Offline Offline

Activity: 32
Merit: 5


View Profile
February 22, 2018, 04:02:50 AM
 #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!
aqwark
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
June 29, 2018, 01:38:21 PM
 #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 <module>
    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?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!