Bitcoin Forum
September 16, 2025, 07:20:21 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Error reading from database shutting down  (Read 565 times)
qasimilyas99 (OP)
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
July 07, 2017, 12:26:06 PM
 #1

I have installed Bitcoin core non external drive & my drive cable accidentally pulled from USB now this error showing when i try to open bitcoin core >>>>> error reading from database shutting down.
ranochigo
Legendary
*
Offline Offline

Activity: 3178
Merit: 4506



View Profile
July 07, 2017, 12:48:44 PM
 #2

Your Bitcoin Core is likely corrupted, it is never okay to pluck the data directory out when Bitcoin Core is running.

You likely have to run Bitcoin Core with the reindex flag to reorganise the blockchain all over again. Just in case, can you post the debug log here?

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3072


https://bit.ly/387FXHi lightning theory


View Profile
July 08, 2017, 07:33:28 PM
 #3

I have installed Bitcoin core non external drive & my drive cable accidentally pulled from USB now this error showing when i try to open bitcoin core >>>>> error reading from database shutting down.

Can you post the debug log. If not, try these commands in this order:
1.
Code:
bitcoin-qt -datadir=<file>
Change '<file>' to the actual location of the place the wallet.dat file is.

2.
Code:
bitcoin-qt -reindex

The first will just change the config file and will take a few seconds and cause no damage to anything. The second will completely rescan the blockchain for the block again so will take a while.
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!