lnd: Unable to set up wallet password listeners: missing address manager namespace
Background
Setting up a fresh regtest wallet, I get this error.
$ ./lnd-debug --bitcoin.active --bitcoin.regtest --bitcoin.node=bitcoind --bitcoind.zmqpubrawblock=localhost:40000 --bitcoind.zmqpubrawtx=40000 --bitcoind.rpcuser=user --bitcoind.rpcpass=pass --bitcoind.rpchost=localhost:8332
2019-10-18 07:27:36.915 [WRN] LTND: open /home/janus/.lnd/lnd.conf: no such file or directory
2019-10-18 07:27:36.916 [INF] LTND: Version: 0.8.0-beta commit=v0.8.0-beta-18-g93247d0304260c8cfa6af5b19988a55ed5e39f14, build=development, logging=default
2019-10-18 07:27:36.919 [INF] LTND: Active chain: Bitcoin (network=regtest)
2019-10-18 07:27:36.922 [INF] CHDB: Checking for schema update: latest_version=11, db_version=11
2019-10-18 07:27:36.953 [INF] RPCS: password gRPC proxy started at 127.0.0.1:8080
2019-10-18 07:27:36.955 [INF] RPCS: password RPC server listening on 127.0.0.1:10009
2019-10-18 07:27:36.964 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.
2019-10-18 07:28:46.366 [ERR] LTND: Could not unload new wallet: wallet is not loaded
2019-10-18 07:28:46.367 [ERR] LTND: Unable to set up wallet password listeners: missing address manager namespace
2019-10-18 07:28:46.368 [INF] LTND: Shutdown complete
Unable to set up wallet password listeners: missing address manager namespace
Your environment
- version of
lnd
commit 93247d0304260c8cfa6af5b19988a55ed5e39f14
- which operating system (
uname -a
on *Nix)
Ubuntu on WSL on Windows 10
- version of
btcd
,bitcoind
, or other backend
bitcoind 0.18.1
- any other relevant environment details
Steps to reproduce
Seems like you just need to create a fresh wallet to hit this.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (4 by maintainers)
From some debugging, it will not happen if Swap file system is enabled.
Got hit by this also when deploying LND with kubernetes - helm on a ZFS filesystem on Ubuntu 22.04 without swap:
checked there is no swap configured:
Installed zram
and working after reboot:
LND now deploys without errors.
Thanks a lot! This solved the problem for me.
What command did you run from
lncli
to get this output? Did you runlncli create
and thenlncli unlock
later or is this error directly from thecreate
command?It looks like the
wallet.db
file is corrupt. Or it cant’ be read. Can you check that it exists and that you have write permission to it?