Bitcoin Forum
November 01, 2024, 10:41:52 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: not 0.8.2 index error  (Read 826 times)
sdp (OP)
Sr. Member
****
Offline Offline

Activity: 469
Merit: 281



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?





Coinsbank: Left money in their costodial wallet for my signature.  Then they kept the money.
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4270
Merit: 8805



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

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

Activity: 1302
Merit: 1026



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:  

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