I'm setting up a Lightning node using bitcoind and lnd and this guide:

How to Install and Use the Lightning Network with bitcoind on the Bitcoin Mainnet

It's been an interesting couple of days, but I've made it to step 8.

It looks like lnd is running and I've created a wallet. But when I do lncli unlock, even though lnd says it was successful, the line lncli newaddress p2wkh doesn't work because it appears lnd shutdown immediately after the unlock:

2019-03-09 07:35:10.393 [INF] LTND: Version: 0.5.2-99-beta commit=v0.5.1-beta-839-g3895a4f27698924eb5d1d72b157febf29014f81b, build=production, logging=default
2019-03-09 07:35:10.393 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2019-03-09 07:35:10.525 [INF] CHDB: Checking for schema update: latest_version=8, db_version=8
2019-03-09 07:35:10.543 [INF] RPCS: password gRPC proxy started at
2019-03-09 07:35:10.543 [INF] RPCS: password RPC server listening on
2019-03-09 07:35:10.543 [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-03-09 07:40:48.804 [INF] LNWL: Opened wallet
2019-03-09 07:40:50.389 [INF] LTND: Primary chain is set to: bitcoin
2019-03-09 07:40:50.704 [INF] LTND: Initializing bitcoind backed fee estimator
2019-03-09 07:40:50.704 [INF] LNWL: Started listening for bitcoind transaction notifications via ZMQ on tcp://
2019-03-09 07:40:50.704 [INF] LNWL: Started listening for bitcoind block notifications via ZMQ on tcp://
2019-03-09 07:40:51.883 [INF] LNWL: The wallet has been unlocked without a time limit
2019-03-09 07:40:51.885 [INF] LTND: LightningWallet opened
2019-03-09 07:40:53.113 [INF] LNWL: Caught up to height 0
2019-03-09 07:40:54.095 [INF] HSWC: Restoring in-memory circuit state from disk
2019-03-09 07:40:54.145 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0
2019-03-09 07:40:54.145 [ERR] SRVR: unable to create server: no active channels exist

2019-03-09 07:40:54.145 [INF] LTND: Shutdown complete

I wouldn't expect there to be active channels, because I haven't got to that step and I have no bitcoin in my wallet to set one up.

Are there default channels in the database (channels.db, I presume)?

Network consideration

Is it because the node may not be getting to the outside world? This is on a desktop, connected to a laptop which is sharing the laptop's wifi to the desktop. I have the router forwarding 9735 to the laptop, which has rinetd forwarding that port to the desktop. Unless I've configured something wrong, I would assume that should work.


  • If you have not funded your wallet yet - could you just try to create a new one (instead of unlocking the existing one)? – Dmitry Laptev Mar 10 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.