Bitcoin Forum
May 04, 2024, 06:31:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: can't use my wallet? error -30974 <solved>  (Read 4333 times)
ericools (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10



View Profile
April 18, 2013, 12:19:10 AM
Last edit: April 21, 2013, 08:18:57 PM by ericools
 #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?

1714847464
Hero Member
*
Offline Offline

Posts: 1714847464

View Profile Personal Message (Offline)

Ignore
1714847464
Reply with quote  #2

1714847464
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
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

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

Adblock for annoying signature ads | Enhanced Merit UI
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
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 (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10



View Profile
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
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
April 18, 2013, 05:23:57 PM
 #5

sounds like your wallet is corrupt

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

Adblock for annoying signature ads | Enhanced Merit UI
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
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 (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10



View Profile
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
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
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 (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10



View Profile
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
Merit: 10


View Profile WWW
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:  

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