lightning community – Why may my db be locked on beginning bitcoin-qt after a clear shutdown and reboot?

0
51


I’ve LND v.16.2 working underneath Home windows 10 with Bitcoin Core 23.0 on identical machine.

Once I must reboot, I gracefully cease my LND node and shut bitcoin-qt from the GUI, ready till it has fully shut down. Then, when I attempt to restart bitcoin-qt after rebooting, it claims that the db is locked. Bitcoin-Qt is just not working already, it isn’t within the autostart.

I’ve discovered that deleting the pockets.dat and creating a brand new one allows me to proceed. I’m not fearful a few monetary loss, for the reason that Bitcoin pockets accommodates no BTC, but it surely’s a yellow flag.

Can anybody clarify why this could be taking place and the way I can stop it?

.conf information beneath.


bitcoin.conf

server=1
hear=1
daemon=1
rpcuser=xxxxx
rpcpassword=yyyyyyyyyyyyyyy
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333 
txindex=1

lnd.conf

debuglevel=data
hear=0.0.0.0:9735
externalip=x.x.x.x   (my exterior mounted IP)
rpclisten=0.0.0.0:10009
restlisten=0.0.0.0:10010
tlsextraip=x.x.x.x    (my exterior mounted IP)
alias=nodenodealias
coloration=#ffdc00
maxpendingchannels=10
bitcoin.mainnet=1
bitcoin.energetic=1
bitcoin.node=bitcoind
bitcoind.rpcuser=xxxxxxx
bitcoind.rpcpass=yyyyyyyyyy
bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332
bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333

The bottom listing that accommodates the node’s knowledge, logs, configuration file, and many others.

bitcoind.dir=~/.bitcoin

LEAVE A REPLY

Please enter your comment!
Please enter your name here