Namecoind won't start with restored wallet.dat

Galahad
Posts: 18
Joined: Thu Aug 22, 2013 12:16 pm
os: windows

Re: Namecoind won't start with restored wallet.dat

Post by Galahad » Fri Dec 22, 2017 6:42 pm

Namecoin the sage continues, I'm having another go at this.

I've installed pywallet on a fresh computer following all instructions. I've also installed the latest namecoin and copied in my wallet.dat.

I've run namecoind and this time looked in the log files. I'm getting different error messages.

DB.log

Code: Select all

fop_read_meta: C:\Users\username\AppData\Roaming\Namecoin\wallet.dat: unexpected file type or format
Recovery function for LSN 1 113871 failed
PANIC: Invalid argument
process-private: unable to find environment
process-private: unable to find environment
Page 0: Incomplete metadata page
wallet.dat: DB_VERIFY_BAD: Database verification failed
fop_read_meta: C:\Users\username\AppData\Roaming\Namecoin\wallet.dat: unexpected file type or format
debug.log

Code: Select all

2017-12-22 18:21:51 Namecoin version nc0.13.99-name-tab-beta1
2017-12-22 18:21:51 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2017-12-22 18:21:53 Default data directory C:\Users\username\AppData\Roaming\Namecoin
2017-12-22 18:21:53 Using data directory C:\Users\username\AppData\Roaming\Namecoin
2017-12-22 18:21:53 Using config file C:\Users\username\AppData\Roaming\Namecoin\namecoin.conf
2017-12-22 18:21:53 Using at most 125 connections (2048 file descriptors available)
2017-12-22 18:21:53 Using 2 threads for script verification
2017-12-22 18:21:53 scheduler thread start
2017-12-22 18:21:55 libevent: getaddrinfo: no address associated with nodename
2017-12-22 18:21:55 Binding RPC on address ::1 port 8336 failed.
2017-12-22 18:21:55 HTTP: creating work queue of depth 16
2017-12-22 18:21:55 No rpcpassword set - using random cookie authentication
2017-12-22 18:21:55 Generated RPC authentication cookie C:\Users\username\AppData\Roaming\Namecoin\.cookie
2017-12-22 18:21:55 HTTP: starting 4 worker threads
2017-12-22 18:21:55 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2017-12-22 18:21:55 Using wallet wallet.dat
2017-12-22 18:21:55 init message: Verifying wallet...
2017-12-22 18:21:55 CDBEnv::Open: LogDir=C:\Users\username\AppData\Roaming\Namecoin\database ErrorFile=C:\Users\username\AppData\Roaming\Namecoin\db.log
2017-12-22 18:21:55 ERROR: CDBEnv::Open: Error -30974 opening database environment: DB_RUNRECOVERY: Fatal error, run database recovery

2017-12-22 18:21:55 Moved old C:\Users\username\AppData\Roaming\Namecoin\database to C:\Users\username\AppData\Roaming\Namecoin\database.1513966915.bak. Retrying.
2017-12-22 18:21:55 CDBEnv::Open: LogDir=C:\Users\username\AppData\Roaming\Namecoin\database ErrorFile=C:\Users\username\AppData\Roaming\Namecoin\db.log
2017-12-22 18:21:55 Failed to rename wallet.dat to wallet.1513966915.bak
2017-12-22 18:21:55 Error: wallet.dat corrupt, salvage failed
2017-12-22 18:21:55 Shutdown: In progress...
2017-12-22 18:21:55 scheduler thread interrupt
2017-12-22 18:21:55 StopNode()
2017-12-22 18:21:55 Shutdown: done
Other Attempts

- I'm also trying: "pywallet.py --recover --recov_device /dev/sdb1" but not sure what the drive should say on Windows (e.g. D: or E:).
- I'm also interested in hexcat and JohnTheRipper as people seem to be using that to recover their keys somehow.
- P.s. My namecoin address looks like this but there is 1 extra character, aparently supposed to be 33 chars long. N8oobbbbweaaaaxuGogDjJa62a73iAaaaa (changed in case this is a priv key by mistake.) It does not show up on a block explorer :(

Galahad
Posts: 18
Joined: Thu Aug 22, 2013 12:16 pm
os: windows

Re: Namecoind won't start with restored wallet.dat

Post by Galahad » Fri Dec 22, 2017 9:26 pm

OK I just realized something insane. I was looking at a copy of the wallet.dat on cd and it shows as zero bytes. On every backup it looks the same. So I guess that's it then..

samurai321
Posts: 17
Joined: Sun Aug 27, 2017 10:46 pm
os: windows
Location: varies

Re: Namecoind won't start with restored wallet.dat

Post by samurai321 » Sun Dec 24, 2017 5:51 am

Galahad wrote:
Fri Dec 22, 2017 9:26 pm
OK I just realized something insane. I was looking at a copy of the wallet.dat on cd and it shows as zero bytes. On every backup it looks the same. So I guess that's it then..
seems like something on the file system messed up. i would recomend stop using any drive where u ever had the wallet.dat and extract it. put it on external drive and run a file recovery tool. if you're succesfull, don't thank me, just remember to hodl...
Keep calm and gather moar namecoins

Galahad
Posts: 18
Joined: Thu Aug 22, 2013 12:16 pm
os: windows

Re: Namecoind won't start with restored wallet.dat

Post by Galahad » Sun Dec 24, 2017 2:58 pm

samurai321 wrote:
Sun Dec 24, 2017 5:51 am
Galahad wrote:
Fri Dec 22, 2017 9:26 pm
OK I just realized something insane. I was looking at a copy of the wallet.dat on cd and it shows as zero bytes. On every backup it looks the same. So I guess that's it then..
seems like something on the file system messed up. i would recomend stop using any drive where u ever had the wallet.dat and extract it. put it on external drive and run a file recovery tool. if you're succesfull, don't thank me, just remember to hodl...
All I had was the wallet.dat on a cd, this was made 4 years ago.

samurai321
Posts: 17
Joined: Sun Aug 27, 2017 10:46 pm
os: windows
Location: varies

Re: Namecoind won't start with restored wallet.dat

Post by samurai321 » Thu Dec 28, 2017 6:58 am

Galahad wrote:
Sun Dec 24, 2017 2:58 pm
samurai321 wrote:
Sun Dec 24, 2017 5:51 am
Galahad wrote:
Fri Dec 22, 2017 9:26 pm
OK I just realized something insane. I was looking at a copy of the wallet.dat on cd and it shows as zero bytes. On every backup it looks the same. So I guess that's it then..
seems like something on the file system messed up. i would recomend stop using any drive where u ever had the wallet.dat and extract it. put it on external drive and run a file recovery tool. if you're succesfull, don't thank me, just remember to hodl...
All I had was the wallet.dat on a cd, this was made 4 years ago.
seems that the file was in use when you made the backup to a cd. You must find the hard drive /computer you were using back then. search that with a recovery tool like recuva.
Keep calm and gather moar namecoins

Galahad
Posts: 18
Joined: Thu Aug 22, 2013 12:16 pm
os: windows

Re: Namecoind won't start with restored wallet.dat

Post by Galahad » Thu Dec 28, 2017 3:09 pm

samurai321 wrote:
Thu Dec 28, 2017 6:58 am
seems that the file was in use when you made the backup to a cd. You must find the hard drive /computer you were using back then. search that with a recovery tool like recuva.
I don't think you're understanding what I'm saying. That pc is long gone, I sold it 4 years ago. All I have is the wallet.dat on CD, which is showing as zero bytes. So it's over. I appreciate your trying to help but this one is beyond hope now, but I don't mind. A couple of weeks ago I finally got into my Ripple wallet after 3 years and recovered £11,000 worth of coins :D

Post Reply