Author

Topic: Bitcoin wallet error on new machine/client (Read 1038 times)

hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
December 16, 2014, 10:45:50 AM
#5
So I had my wallet.dat file backed up and now on my new machine it won't load.  Gives this error on Bitcoin QT 9.3:

EXCEPTION: St13runtime_error
CDB : Error 1, can't open database wallet.dat
c:\Program Files\Bitcoin\bitcoin-qt.exe in Runaway exception

Any ideas?

Positive error codes returned by Berkeley DB library are C errno codes, and error 1 is EPERM: Operation Not Permitted. Try checking the file and directory permissions on the machine that's having trouble to ensure whichever user is running bitcoin-qt has read/write permissions to wallet.dat.
newbie
Activity: 4
Merit: 0
December 16, 2014, 09:01:53 AM
#4
Yes thanks for that.  It is clear.

As discussed however, the wallet was restored OK on my laptop.
legendary
Activity: 1652
Merit: 1007
DMD Diamond Making Money 4+ years! Join us!
December 16, 2014, 04:10:06 AM
#3
It might be caused by a bad sector on your HDD.

Anyway, it s easily resolved, all you need to is to reindex your blockchain to find and replace missing transactions.
You need to start your wallet from a dos shell adding -reindex to the string. So basically, it should be something like bitcoin.qt -reindex.

Let me know if this is still unclear.
newbie
Activity: 4
Merit: 0
December 15, 2014, 11:39:40 PM
#2
So this occurred on a fresh Win7 PC install and fresh Bitcoin 9.3 install.

The bitcoin client started after the install, and then I shut it down to change out the wallet.dat file with the backup.  Then restarted Bitcoin QT.  This is when it gave the error.  Tried several times of course.

Randomly, my wife suggested "checking my laptop", which I reinterpreted as putting the wallet.dat backup file on it, to see what happened.  The laptop is running the previous release, 9.2.1.

Magically, my bitcoins show up there now, i.e., the previously backed-up wallet.dat file was accepted by the program when started up.

Heart attack over but...ugh stupid thing.
newbie
Activity: 4
Merit: 0
December 15, 2014, 09:39:43 PM
#1
So I had my wallet.dat file backed up and now on my new machine it won't load.  Gives this error on Bitcoin QT 9.3:

EXCEPTION: St13runtime_error
CDB : Error 1, can't open database wallet.dat
c:\Program Files\Bitcoin\bitcoin-qt.exe in Runaway exception

Any ideas?
Jump to: