Difference between revisions of "Debug.log"

From DeFiChain-Wiki
Line 1: Line 1:
 
If the DeFiChain App Wallet does not work properly, it can be helpful to check the debug.log file for error messages.  
 
If the DeFiChain App Wallet does not work properly, it can be helpful to check the debug.log file for error messages.  
  
# Windows: Go to C:/Users\"username"\AppData\Roaming\DeFi Blockchain  
+
# Windows: Go to C:/Users\%username%\AppData\Roaming\DeFi Blockchain  
# Mac: Got to /Users/"username"/Library/Application Support/DeFi
+
# Mac: Got to /Users/%username%/Library/Application Support/DeFi
 
# Open the debug.log
 
# Open the debug.log
 
#Read the error message at the end of the file and try to find and fix the error.
 
#Read the error message at the end of the file and try to find and fix the error.
Line 15: Line 15:
 
Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
 
Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
  
Using wallet C:/Users\"Username"\Download\DeFiChain Wallets\Wallet.dat
+
Using wallet C:/Users\%username%\Download\DeFiChain Wallets\Wallet.dat
  
BerkeleyEnvironment::Open: LogDir=C:/Users\"Username"\Download\DeFiChain Wallets\database ErrorFile=C:/Users\"Username"\Download\DeFiChain Wallets\db.log
+
BerkeleyEnvironment::Open: LogDir=C:/Users\%username%\Download\DeFiChain Wallets\database ErrorFile=C:/Users\%username%\Download\DeFiChain Wallets\db.log
  
 
Failed to rename Wallet.dat to Wallet.dat.1614585866.bak
 
Failed to rename Wallet.dat to Wallet.dat.1614585866.bak
Line 31: Line 31:
 
===Solution:===
 
===Solution:===
 
#Restart the computer
 
#Restart the computer
#Move the folder mentioned above to another location. In this example above: C:/Users\"Username"\Download\DeFiChain Wallets
+
#Move the folder mentioned above to another location. In this example above: C:/Users\%username%\Download\DeFiChain Wallets
 
# Launch the DeFiChain app
 
# Launch the DeFiChain app
  

Revision as of 23:09, 12 March 2021

If the DeFiChain App Wallet does not work properly, it can be helpful to check the debug.log file for error messages.

  1. Windows: Go to C:/Users\%username%\AppData\Roaming\DeFi Blockchain
  2. Mac: Got to /Users/%username%/Library/Application Support/DeFi
  3. Open the debug.log
  4. Read the error message at the end of the file and try to find and fix the error.

Some error messages are documented below.

Wallet.dat corrupt, salvage failed

Detailed error message:

init message: Verifying wallet(s)...

Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)

Using wallet C:/Users\%username%\Download\DeFiChain Wallets\Wallet.dat

BerkeleyEnvironment::Open: LogDir=C:/Users\%username%\Download\DeFiChain Wallets\database ErrorFile=C:/Users\%username%\Download\DeFiChain Wallets\db.log

Failed to rename Wallet.dat to Wallet.dat.1614585866.bak

Error: Wallet.dat corrupt, salvage failed

Shutdown: In progress...

scheduler thread interrupt

Shutdown: done

Solution:

  1. Restart the computer
  2. Move the folder mentioned above to another location. In this example above: C:/Users\%username%\Download\DeFiChain Wallets
  3. Launch the DeFiChain app


I have not found a solution for the corrupted wallet dat file. It seems that I destroyed this file myself because I opened it with the editor program and saved it again. This seems to destroy the file.

Solution: Use original BackUp.