Bitcoin Forum
December 16, 2018, 04:33:25 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: not 0.8.2 index error  (Read 756 times)
sdp
Sr. Member
****
Offline Offline

Activity: 432
Merit: 251



View Profile WWW
May 14, 2013, 07:11:32 PM
 #1

Sorry about putting this bug report here but I don't want to create yet another account.

The first time I ran it is started rapidly decreasing the number of weeks left.  I left the computer running when it was a year out of date.  The second time I started it up, it gave me the following error:

I am using Linux/32
I get the following error:
-----------------------------------
************************                                                                                                                                                           
EXCEPTION: St13runtime_error                                                                                                                                                       
CDB() : can't open database file blkindex.dat, error 22                                                                                                                             
bitcoin in Runaway exception
-----------------------------------

Using ls I get:
-----------------------------------
bash-4.2$ ls -l ~/.bitcoin/blkindex.dat
-rw------- 1 shawn users 429834240 May 11 18:44 /home/shawn/.bitcoin/blkindex.dat
-----------------------------------

I am using ext3 (journaled filesystem).  Now the file size is just under the maximum size of a 32-bit integer. 
Is there a way to recover this?





██████████████████████████████████████████████
██████████████████████████████████████████████
█████                                    █████
█████                                    █████
█████                                    █████
█████           ▄█▄        ▄█▄           █████
█████          ████████████████          █████
█████           ▀████████████▀           █████
█████           ████▀    ▀████           █████
█████           ████▄    ▄████           █████
█████           ▄████████████▄           █████
█████          ████████████████          █████
█████           ▀█▀        ▀█▀           █████
█████                                    █████
█████                                    █████
█████                                    █████
██████████████████████████████████████████████
██████████████████████████████████████████████
▄██████████████████████████▄
██                        ██
██                        ██
██                        ██
██             ▄█▀███████████
██              ▀▀▀▀▀▀▀▀▀▀██▀
██                        ██
██                        ██
██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▄██████████████████████████▄
██                        ██
██                        ██
██                        ██
██                        ██
████████████████████████████
██                        ██
██                        ██
██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄██████████████████████████▄
██                 ▄███▀  ██
██             ▄▄██▀▀  ▄█ ██
██     ▄    ▄███▀▀  ▄███  ██
██    ██▄▄██▀▀   ▄█████   ██
██   ████▀▀  ▄▄██▀▀ ▀█    ██
██  █▀▀   ▄▄██▀           ██
██    ▄▄███▀              ██
██▄▄▄████▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▄██████████████████████████▄
██                        ██
██  ████▄  ▄▄▄▄▄▄▄▄▄▄▄▄   ██
██     ▀█▄ ▀▀▀▀▀▀▀▀▀██    ██
██      ██         ██     ██
██       ███████████      ██
██        ▄▄     ▄▄       ██
██       ▀██▀   ▀██▀      ██
██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄██████████████████████████▄
██                       ▄██
██                     █████
██         ▄         ███▀ ██
██       ▄███     ▄███▀   ██
██   ▄▄███▀▀███▄████▀     ██
██▄▄███▀     ▀███▀        ██
████▀                     ██
██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▄███████████▄  ██████████████
█           █  █            █
█           █  █            █
█           █  █            █
█           █  █            █
█           █  █            █
█           █  █            █
█           █  █            █
██████▀██████  ██████▀███████
 ▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀
1544978005
Hero Member
*
Offline Offline

Posts: 1544978005

View Profile Personal Message (Offline)

Ignore
1544978005
Reply with quote  #2

1544978005
Report to moderator
1544978005
Hero Member
*
Offline Offline

Posts: 1544978005

View Profile Personal Message (Offline)

Ignore
1544978005
Reply with quote  #2

1544978005
Report to moderator
100% New Software
PC, Mac, Android, & HTML5 Clients
Krill Rakeback
Low Rake
Bitcoin Poker 3.0
Bad Beat Jackpot
SwC Poker Relaunch
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1544978005
Hero Member
*
Offline Offline

Posts: 1544978005

View Profile Personal Message (Offline)

Ignore
1544978005
Reply with quote  #2

1544978005
Report to moderator
1544978005
Hero Member
*
Offline Offline

Posts: 1544978005

View Profile Personal Message (Offline)

Ignore
1544978005
Reply with quote  #2

1544978005
Report to moderator
1544978005
Hero Member
*
Offline Offline

Posts: 1544978005

View Profile Personal Message (Offline)

Ignore
1544978005
Reply with quote  #2

1544978005
Report to moderator
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 2590
Merit: 1754



View Profile
May 14, 2013, 07:41:04 PM
 #2

What version are you running? Only old and ~no longer supported versions using a blkindex.dat.

Bitcoin will not be compromised
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1001



View Profile
May 14, 2013, 08:24:05 PM
 #3

-rw------- 1 shawn users 429834240 May 11 18:44 /home/shawn/.bitcoin/blkindex.dat

I am using ext3 (journaled filesystem).  Now the file size is just under the maximum size of a 32-bit integer. 
Is there a way to recover this?

Your numbers are a bit off.  You are ~ 500 MB, not ~ 4 GB.

Most likely, you didn't shut down cleanly and your databases got broken.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
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!