Bitcoin Forum
May 07, 2024, 08:48:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Problem] Error at shutdown, check the debug.log file  (Read 956 times)
Fakhoury (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1027


Permabull Bitcoin Investor


View Profile
October 20, 2016, 06:09:10 PM
 #1

Hello again,

Well, I've solved the issue on here (https://bitcointalk.org/index.php?topic=1656197.0).

But after solving it and each time I close the client, I get this error.



And each time I start the client, re-scanning takes place.

Part of the debug file, I'm running Bitcoin Core 0.12.1 btw.

Code:
2016-10-20 18:07:28 tor: Thread interrupt
2016-10-20 18:07:28 torcontrol thread exit
2016-10-20 18:07:28 scheduler thread interrupt
2016-10-20 18:07:28 opencon thread interrupt
2016-10-20 18:07:28 addcon thread interrupt
2016-10-20 18:07:28 msghand thread interrupt
2016-10-20 18:07:28 net thread interrupt
2016-10-20 18:07:28 Shutdown: In progress...
2016-10-20 18:07:28 StopNode()
2016-10-20 18:07:28 *** System error while flushing: CDB: Error -30974, can't open database
2016-10-20 18:07:56 CDBEnv::EnvShutdown: Error -30974 shutting down database environment: DB_RUNRECOVERY: Fatal error, run database recovery
2016-10-20 18:07:56 Shutdown: done

Thanks in advance and have a great day.

Quote from:  Satoshi Nakamoto
Feb. 14, 2010: I’m sure that in 20 years there will either be very large transaction volume or no volume.
1715071722
Hero Member
*
Offline Offline

Posts: 1715071722

View Profile Personal Message (Offline)

Ignore
1715071722
Reply with quote  #2

1715071722
Report to moderator
1715071722
Hero Member
*
Offline Offline

Posts: 1715071722

View Profile Personal Message (Offline)

Ignore
1715071722
Reply with quote  #2

1715071722
Report to moderator
1715071722
Hero Member
*
Offline Offline

Posts: 1715071722

View Profile Personal Message (Offline)

Ignore
1715071722
Reply with quote  #2

1715071722
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715071722
Hero Member
*
Offline Offline

Posts: 1715071722

View Profile Personal Message (Offline)

Ignore
1715071722
Reply with quote  #2

1715071722
Report to moderator
1715071722
Hero Member
*
Offline Offline

Posts: 1715071722

View Profile Personal Message (Offline)

Ignore
1715071722
Reply with quote  #2

1715071722
Report to moderator
longbob72
Hero Member
*****
Offline Offline

Activity: 574
Merit: 503


V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==


View Profile
October 20, 2016, 06:15:51 PM
 #2

Looks a lot like the problem in this thread On second read, no it's not that similar. I'd try reindexing first and see if it works (start core with -reindex), if not then it's a hardware problem.

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


.
.
.
        ▄▄▀                ▀▄▄
     ▄ ▀▀                    ▀▀ ▄
   ▄ ▀▀▀                      ▀▀▀ ▄
  ▄▀▀▀                          ▀▀▀▄
 ▀█▄▄                            ▄▄█▀
▄█  ▄                            ▄  █▄
▀█ █▀                            ▀█ █▀
█▄  ▄                            ▄  ▄█
▀█ █                              █ █▀
█▄   █                          █   ▄█
 ██▄█▀                          ▀█▄██
  ▀▀  ▄█                      █▄  ▀▀
  ▀██▄ ▀  █▄              ▄█  ▀ ▄██▀
    ▀▀▀   ██  █▄      ▄█  ██   ▀▀▀
     ▀███▄▄▀  ███    ███  ▀▄▄███▀
        ▀▀▀▀▄▄▄▄▀    ▀▄▄▄▄▀▀▀▀
          ▀▀█████▀▀▀▀█████▀▀
.
.
Free Bitcoins
Chat Lottery & Games
Level Up System with Rewards
▄████████▄  ▄████████▄
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
 ████████    ████████
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
▀████████▀  ▀████████▀
.
Fakhoury (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1027


Permabull Bitcoin Investor


View Profile
October 20, 2016, 06:19:32 PM
 #3

Looks a lot like the problem in this thread On second read, no it's not that similar. I'd try reindexing first and see if it works (start core with -reindex), if not then it's a hardware problem.

No other solution beside re-indexing ?

Quote from:  Satoshi Nakamoto
Feb. 14, 2010: I’m sure that in 20 years there will either be very large transaction volume or no volume.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6598


Just writing some code


View Profile WWW
October 20, 2016, 06:23:13 PM
 #4

Post the contents of the db.log file.

longbob72
Hero Member
*****
Offline Offline

Activity: 574
Merit: 503


V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==


View Profile
October 20, 2016, 06:54:22 PM
 #5

Looks a lot like the problem in this thread On second read, no it's not that similar. I'd try reindexing first and see if it works (start core with -reindex), if not then it's a hardware problem.

No other solution beside re-indexing ?

If your problem is corrupted blocks then reindex or deleting all the corrupted block files and redownloading them are the only solutions. If it's a hardisk problem then you have to move them to other hardisk.
If it's a wallet.dat corruption (found that here) then run core with -salvagewallet.

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


.
.
.
        ▄▄▀                ▀▄▄
     ▄ ▀▀                    ▀▀ ▄
   ▄ ▀▀▀                      ▀▀▀ ▄
  ▄▀▀▀                          ▀▀▀▄
 ▀█▄▄                            ▄▄█▀
▄█  ▄                            ▄  █▄
▀█ █▀                            ▀█ █▀
█▄  ▄                            ▄  ▄█
▀█ █                              █ █▀
█▄   █                          █   ▄█
 ██▄█▀                          ▀█▄██
  ▀▀  ▄█                      █▄  ▀▀
  ▀██▄ ▀  █▄              ▄█  ▀ ▄██▀
    ▀▀▀   ██  █▄      ▄█  ██   ▀▀▀
     ▀███▄▄▀  ███    ███  ▀▄▄███▀
        ▀▀▀▀▄▄▄▄▀    ▀▄▄▄▄▀▀▀▀
          ▀▀█████▀▀▀▀█████▀▀
.
.
Free Bitcoins
Chat Lottery & Games
Level Up System with Rewards
▄████████▄  ▄████████▄
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
 ████████    ████████
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
▀████████▀  ▀████████▀
.
Fakhoury (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1027


Permabull Bitcoin Investor


View Profile
October 21, 2016, 12:46:32 AM
 #6

Looks a lot like the problem in this thread On second read, no it's not that similar. I'd try reindexing first and see if it works (start core with -reindex), if not then it's a hardware problem.

No other solution beside re-indexing ?

If your problem is corrupted blocks then reindex or deleting all the corrupted block files and redownloading them are the only solutions. If it's a hardisk problem then you have to move them to other hardisk.
If it's a wallet.dat corruption (found that here) then run core with -salvagewallet.

Thanks for your input, could you please tell me more (from your word/expreience) what is -salvagewallet and what does it do ?

Thank you Smiley

Quote from:  Satoshi Nakamoto
Feb. 14, 2010: I’m sure that in 20 years there will either be very large transaction volume or no volume.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6598


Just writing some code


View Profile WWW
October 21, 2016, 12:49:24 AM
 #7

Thanks for your input, could you please tell me more (from your word/expreience) what is -salvagewallet and what does it do ?

Thank you Smiley
-salvagewallet does exactly what the name suggests, it attempt to salvage a corrupted wallet. That means that Bitcoin Core will try to read the wallet and recover as many keys as it can from that wallet.

Fakhoury (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1027


Permabull Bitcoin Investor


View Profile
October 21, 2016, 08:13:56 PM
 #8

Thanks for your input, could you please tell me more (from your word/expreience) what is -salvagewallet and what does it do ?

Thank you Smiley
-salvagewallet does exactly what the name suggests, it attempt to salvage a corrupted wallet. That means that Bitcoin Core will try to read the wallet and recover as many keys as it can from that wallet.

I didn't forget to thank you achow101, and I wanted to PM you to thank you so much because you've always been there for ME exactly whenever I need any help with Core.

I'm sorry if my thanks came late, but I never forgot it.

Thank you so much my friend and from the bottom of my heart, I wish you all the best.

I will leave the thread open for you if you wish to reply or to lock it, the issue is solved as I've had a good copy of the chain, I've used it and it synced well and everything went well Smiley

Quote from:  Satoshi Nakamoto
Feb. 14, 2010: I’m sure that in 20 years there will either be very large transaction volume or no volume.
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!