Bitcoin Forum
April 16, 2014, 08:44:25 AM *
News: ♦♦ A bug in OpenSSL, used by Bitcoin-Qt/Bitcoin Core, could allow your bitcoins to be stolen. Immediately updating Bitcoin Core to 0.9.1 is required in some cases, especially if you're using 0.9.0. Download. More info.
The same bug also affected the forum. Changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: can't use my wallet? error -30974 <solved>  (Read 1600 times)
ericools
Member
**
Offline Offline

Activity: 80



View Profile

Ignore
April 18, 2013, 12:19:10 AM
 #1

I get this each time I try to open my bitcoin-qt

System error: CDB() : can't open database file wallet.dat, error -30974

I can't find any posts showing that same error #.

I installed a new copy of bitcoin-qt on another computer and tried both my wallet from the old one then my backedup copy of the wallet.  Both still caused this error.  It happens if I try to do anything with the wallet.  If I just let it sync it runs for a while then shows the error.  Once it shows the error I am forced to press ok and the program closes.

Both machines are running Ubuntu.

Any ideas?

1397637865
Hero Member
*
Offline Offline

Posts: 1397637865

View Profile Personal Message (Offline)

Ignore
1397637865
Reply with quote  #2

1397637865
Report to moderator
1397637865
Hero Member
*
Offline Offline

Posts: 1397637865

View Profile Personal Message (Offline)

Ignore
1397637865
Reply with quote  #2

1397637865
Report to moderator
1397637865
Hero Member
*
Offline Offline

Posts: 1397637865

View Profile Personal Message (Offline)

Ignore
1397637865
Reply with quote  #2

1397637865
Report to moderator
      0.0065 BTC / GHs for 5 years. NO FEES!    PB Mining
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1397637865
Hero Member
*
Offline Offline

Posts: 1397637865

View Profile Personal Message (Offline)

Ignore
1397637865
Reply with quote  #2

1397637865
Report to moderator
grue
Moderator
Hero Member
*
Offline Offline

Activity: 1036


It is pitch black. You are likely to be eaten by a grue.


View Profile

Ignore
April 18, 2013, 01:52:16 AM
 #2

1. backup your wallet
2. get pywallet
3. extract all the private keys
4. delete wallet (not the backup!)
5. import your keys
jackjack
Hero Member
*****
Offline Offline

Activity: 504


May Bitcoin be touched by his Noodly Appendage


View Profile

Ignore
April 18, 2013, 07:25:12 AM
 #3

If you're going to import the 100+ keys from your wallet you should use pywallet's ability to import a file full of private keys

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
ericools
Member
**
Offline Offline

Activity: 80



View Profile

Ignore
April 18, 2013, 04:31:36 PM
 #4

I don't know if I am doing something wrong, but when I go to import.

I got a lot of errors like this when I tried to import:
2013-04-18 11:22:19-0500 [HTTPChannel,1,127.0.0.1] Hexadecimal private keys must be 64 or 66 characters long (specified one is 34 characters long)

grue
Moderator
Hero Member
*
Offline Offline

Activity: 1036


It is pitch black. You are likely to be eaten by a grue.


View Profile

Ignore
April 18, 2013, 05:23:57 PM
 #5

sounds like your wallet is corrupt
jackjack
Hero Member
*****
Offline Offline

Activity: 504


May Bitcoin be touched by his Noodly Appendage


View Profile

Ignore
April 18, 2013, 08:39:18 PM
 #6

I don't know if I am doing something wrong, but when I go to import.

I got a lot of errors like this when I tried to import:
2013-04-18 11:22:19-0500 [HTTPChannel,1,127.0.0.1] Hexadecimal private keys must be 64 or 66 characters long (specified one is 34 characters long)

I think you're trying to import a private key in WIF format: so you must uncheck the 'hexadecimal' check box

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
ericools
Member
**
Offline Offline

Activity: 80



View Profile

Ignore
April 21, 2013, 07:51:04 PM
 #7

Hex, is not checked.  On a retry I got it to say that it imported, however no coins show in the new wallet.  Tried merging too, no luck.

jackjack
Hero Member
*****
Offline Offline

Activity: 504


May Bitcoin be touched by his Noodly Appendage


View Profile

Ignore
April 21, 2013, 08:07:22 PM
 #8

So Hex is not checked but pywallet says "Hexadecimal private keys must be 64 or 66 characters long (specified one is 34 characters long)" ?

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
ericools
Member
**
Offline Offline

Activity: 80



View Profile

Ignore
April 21, 2013, 08:18:38 PM
 #9

It may have been when I tried before, but this time it wasn't checked and still failed.

In any case I have fixed it.

I went to:
https://blockchain.info/wallet/import-wallet

Dropped my wallet.dat file into their page, it imported my keys without issue, I then created a new wallet on my pc and sent myself my coins.


Thanks for the help.

odinhf
Member
**
Offline Offline

Activity: 66


View Profile WWW

Ignore
March 12, 2014, 03:58:12 PM
 #10

It may have been when I tried before, but this time it wasn't checked and still failed.

In any case I have fixed it.

I went to:
https://blockchain.info/wallet/import-wallet

Dropped my wallet.dat file into their page, it imported my keys without issue, I then created a new wallet on my pc and sent myself my coins.


Thanks for the help.
I tried that and I get the error: Wallet decrypter returned empty response

regenerationx.net come talk about politics, culture, science, and history!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!