Bitcoin Forum
May 12, 2024, 11:41:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I got error after rebooting my Mac  (Read 73 times)
Security breach (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 19, 2021, 11:11:25 PM
 #1

Hi
i've been using bitcoin core wallet 21.0.1 on my mac untill yday. but after i rebooted the pc yday(for other reason) btc core started showing an error. when i open it it stucks on loading block index, and shows this error message.
'You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
Please restart with -reindex or -reindex-chainstate to recover.' when i clicked ok, debug log like this appeared
should not be overwriting a chainstate
Error: Error opening block database
Shutdown: In progress...
scheduler thread exit
Shutdown: done
Anyone knows the solution?
1715514105
Hero Member
*
Offline Offline

Posts: 1715514105

View Profile Personal Message (Offline)

Ignore
1715514105
Reply with quote  #2

1715514105
Report to moderator
1715514105
Hero Member
*
Offline Offline

Posts: 1715514105

View Profile Personal Message (Offline)

Ignore
1715514105
Reply with quote  #2

1715514105
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2971


Block halving is coming.


View Profile WWW
November 19, 2021, 11:33:14 PM
 #2

Can you post the whole debug.log here and don't forget to put it inside the "insert code tag" with icon #.

I think the reason why you get this error it's because you have corrupted blockchains.
I'd like to suggest is to try manually reindexing the wallet through the terminal.

Use this command below

Code:
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -reindex

Let see if it will work.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Security breach (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 19, 2021, 11:35:21 PM
 #3

Can you post the whole debug.log here and don't forget to put it inside the "insert code tag" with icon #.

I think the reason why you get this error it's because you have corrupted blockchains.
I'd like to suggest is to try manually reindexing the wallet through the terminal.

Use this command below

Code:
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -reindex

Let see if it will work.
hi. thanks for ur reply. i compared it with ordinary successful open log. error started from that. also error message said to reindex as ur suggestion. will i redownload the whole blockchain if i reindex...??
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2971


Block halving is coming.


View Profile WWW
November 19, 2021, 11:59:37 PM
 #4

hi. thanks for ur reply. i compared it with ordinary successful open log. error started from that. also error message said to reindex as ur suggestion. will i redownload the whole blockchain if i reindex...??


I think if your wallet is set to pruned mode and you use -reindex it will only download the latest blockchain and delete old blockchain you recently downloaded.

I don't know what would be the outcome after you use the command above but better add prune=(N) at bitcoin.conf file so that it won't download the whole blockchain.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!