Bitcoin Forum
May 11, 2024, 09:30:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin wallet error on new machine/client  (Read 1016 times)
randominf (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 16, 2014, 02:39:43 AM
Last edit: December 16, 2014, 03:00:15 AM by randominf
 #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?
1715419825
Hero Member
*
Offline Offline

Posts: 1715419825

View Profile Personal Message (Offline)

Ignore
1715419825
Reply with quote  #2

1715419825
Report to moderator
1715419825
Hero Member
*
Offline Offline

Posts: 1715419825

View Profile Personal Message (Offline)

Ignore
1715419825
Reply with quote  #2

1715419825
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715419825
Hero Member
*
Offline Offline

Posts: 1715419825

View Profile Personal Message (Offline)

Ignore
1715419825
Reply with quote  #2

1715419825
Report to moderator
1715419825
Hero Member
*
Offline Offline

Posts: 1715419825

View Profile Personal Message (Offline)

Ignore
1715419825
Reply with quote  #2

1715419825
Report to moderator
randominf (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 16, 2014, 04:39:40 AM
 #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.
crazyivan
Legendary
*
Offline Offline

Activity: 1652
Merit: 1007


DMD Diamond Making Money 4+ years! Join us!


View Profile
December 16, 2014, 09: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.

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
randominf (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 16, 2014, 02:01:53 PM
 #4

Yes thanks for that.  It is clear.

As discussed however, the wallet was restored OK on my laptop.
btchris
Hero Member
*****
Offline Offline

Activity: 672
Merit: 504

a.k.a. gurnec on GitHub


View Profile WWW
December 16, 2014, 03:45:50 PM
 #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.
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!