Bitcoin Forum
August 17, 2018, 07:59:06 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: not 0.8.2 index error  (Read 753 times)
sdp
Sr. Member
****
Offline Offline

Activity: 424
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?





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

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

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

▄███████████▄  ██████████████
█           █  █            █
█           █  █            █
█           █  █            █
█           █  █            █
█           █  █            █
█           █  █            █
█           █  █            █
██████▀██████  ██████▀███████
 ▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀
1534492746
Hero Member
*
Offline Offline

Posts: 1534492746

View Profile Personal Message (Offline)

Ignore
1534492746
Reply with quote  #2

1534492746
Report to moderator
1534492746
Hero Member
*
Offline Offline

Posts: 1534492746

View Profile Personal Message (Offline)

Ignore
1534492746
Reply with quote  #2

1534492746
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1534492746
Hero Member
*
Offline Offline

Posts: 1534492746

View Profile Personal Message (Offline)

Ignore
1534492746
Reply with quote  #2

1534492746
Report to moderator
1534492746
Hero Member
*
Offline Offline

Posts: 1534492746

View Profile Personal Message (Offline)

Ignore
1534492746
Reply with quote  #2

1534492746
Report to moderator
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 2478
Merit: 1383



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!