Bitcoin Forum
May 05, 2024, 09:47:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ErrorFile log.db, berkeleyEnvironment is not up to standard?  (Read 233 times)
Dydy94 (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
August 04, 2021, 11:25:05 AM
 #1

BTCBTCBTC
Hello,

I'm on Bitcoin Core 0.21.1

I have the blockchain but an error remains,
this debug command line dismays me:

  BerkeleyEnvironment :: Open: LogDir = C: \ Users \ user \ AppData \ Roaming \ Bitcoin \ XXXXXXX \ database ErrorFile = C: \ Users \ user \ AppData \ Roaming \ Bitcoin \ XXXXXXX \ db.log

ErrorFiles from db.log ...

what to do please?
Dydy94.
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
August 04, 2021, 11:37:17 AM
 #2

what to do please?

Write the exact command you used to run Bitcoin Core and paste the full db.log output onto a post or a pastebin or something so that the specific error can be found. We can't do anything about this problem with just:

Quote
BerkeleyEnvironment :: Open: LogDir = C: \ Users \ user \ AppData \ Roaming \ Bitcoin \ XXXXXXX \ database ErrorFile = C: \ Users \ user \ AppData \ Roaming \ Bitcoin \ XXXXXXX \ db.log

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1512
Merit: 7351


Farewell, Leo


View Profile
August 04, 2021, 01:40:31 PM
 #3

You don't seem to have read the reply above. Copy the content of db.log and paste it here (preferably in the code tags). If it's too big and it won't allow you to submit it, just upload it on a text hosting service like pastebin.

Why would we call your wallet file “alix”? Is your wallet file properly opening in Bitcoin Core? I mean, the wallet that is supposed to contain funds, can you load it properly?

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
August 04, 2021, 04:41:50 PM
 #4

  BerkeleyEnvironment :: Open: LogDir = C: \ Users \ user \ AppData \ Roaming \ Bitcoin \ XXXXXXX \ database ErrorFile = C: \ Users \ user \ AppData \ Roaming \ Bitcoin \ XXXXXXX \ db.log

There's nothing wrong with this. That's a normal log line informing you where to find BerkeleyDB's error log file.

If there is an actual error, please describe it instead of picking out the things that you think are relevant.

NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
August 04, 2021, 05:12:34 PM
 #5

Program version 4.8 doesn't match environment version 4.7

It looks like your Bitcoin Core is opening a wallet.dat with an older BerkeleyDB, the wallet should be using v4.8 not v4.7.

Maybe at some point you installed an older Bitcoin Core version that uses BerkeleyDB 4.7 database format and created your walelt.dat file with it?

Try loading the wallet, then opening the Console or make an RPC call from the terminal and run "upgradewallet" to make the wallet.dat use the latest format.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
August 04, 2021, 05:28:59 PM
 #6

I opened wallets before the end of the synchronization.
I have no documents or transactions visible on this.
I closed the open wallets, I created an "Alix" wallet, and I retry a rescanblockchain,
With one of my old wallet.dat, and when I created the "Alix" wallet,
A new folder has been created in \ bitcoin.
"Alix" with 3 files in it including wallet.dat and db.log.
To be clear, you created a new wallet named "Alix" and then replaced its wallet.dat file with one you already had? If so, did you do the replacement while Bitcoin Core was still running, or did you shut it down first?



To restore a wallet, go to the Bitcoin Core data directory and the folder named "wallets" inside of it. Make a new folder with a name that you want the restored wallet to be named. Inside of that new folder, place your wallet.dat file, named wallet.dat. Then start Bitcoin Core. In the GUI, if you go to "File" and "Open Wallet", you should see the name of the folder you just made in that list. Click it and it will open the restored wallet. If you are using the command line, then you can use loadwallet <name> where <name> is the name of the folder you created.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
August 05, 2021, 05:21:34 PM
Merited by ABCbits (1), F2b (1)
 #7

an Alix2 folder in Alix1
Why? That was not the instruction.

Because wallets generate some temporary files, wallets are in their own directories which are located either in the datadir (as you have done) or in a wallets folder inside of the datadir. There is no nesting further than that.

I'm wondering but does the fact that the file is in Notepad format change anything? (. Dat, but opened with Notepad)
If you did not see a bunch of garbage characters in notepad (as in it opened and it looked like normal text), then the file is not a wallet file. If you made any changes, then it would be corrupted and unopenable.



Please follow these instructions and stop doing whatever it is you think is correct.

In Bitcoin Core, go to File > Close All Wallets. Then shut down Bitcoin Core. Go to your data directory and delete (or move out of the datadir) all wallet files and all directories containing wallet files. Inside of the datadir, create a folder named wallets. Inside of the wallets folder, create a folder with the name you want your wallet to be named. Inside of this new folder, copy the wallet.dat that you have. Start Bitcoin Core, there should not be any wallet loaded. Go to File > Open Wallet and choose your wallet. Please inform us whether this worked or if there was an error. If there was an error, then tell us what the error is. Even better would be to post a screenshot of the error.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
August 06, 2021, 04:52:35 PM
 #8

To be clear, there is no error message when you open your wallet file? And you followed my instructions exactly? The only problem is that the wallet is empty and you are expecting it to not be?

Please post your debug.log.

I looked at the debug.log there should be something in this wallet
What makes you think that?

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!