[...]
I have a little problem with this. It worked, I did setup a second lightning node, I did make it connect with my mobile phone (using zeus), but it has now stopped working.
I run:
lightningd --conf=/home/bitcoin/.lightningmobile/lightningd.conf --lightning-dir=/home/bitcoin/.lightningmobile
And it just lags. It isn't running, because I run
getinfo and this is what I get:
bitcoin@raspibolt:~ $ lightning-cli --lightning-dir=/home/bitcoin/.lightningmobile getinfo
lightning-cli: Connecting to 'lightning-rpc': Connection refused
I've killed the process, retried, nothing. I've also rebooted. My main node (from the default directory) works fine:
bitcoin@raspibolt:~ $ lightning-cli getinfo
{
"id": "03cd32110547654132187f08e217b20e3ce69f49dff5119da5597a5c0f8a2c7a5e",
"alias": "Lightning Vortex",
"color": "03cd32",
"num_peers": 11,
"num_pending_channels": 0,
"num_active_channels": 11,
"num_inactive_channels": 0,
"address": [
{
"type": "torv3",
"address": "xixzo67fevmab7wytj5qp7mowvbildpbr7xgaj4hp5dbqgr36termcyd.onion",
"port": 9735
}
],
"binding": [
{
"type": "ipv4",
"address": "127.0.0.1",
"port": 9735
}
],
"version": "v0.10.2",
"blockheight": 745385,
"network": "bitcoin",
"msatoshi_fees_collected": 16898,
"fees_collected_msat": "16898msat",
"lightning-dir": "/home/bitcoin/.lightning/bitcoin"
}
Edit: One thing that's weird is that from above, you can see that it says "num_active_channels": 11, but from RTL, there are 10 active, and 1 inactive, which is right, because my second node is offline.
Edit #2: Whoever helps me fix it gets 9,001 Lightning sats.
Before starting your second LN node, add
debug to your
log-level setting in your config file.
log-level=debug
Then start the output of that debug by running this command (it will use one ssh session unless you run it with
screen or some such. I use
screen.
tail -f /path/to/your/LNnodeFolder/debug.log
Using
screen:
screen -S cl-debug -fa -m tail -f /path/to/your/LNnodeFolder/debug.log
To bring this screen back to the terminal so that you can see what is going on, you run:
screen -r cl-debug
And to send the screen back to the "background" you hit the following shortcut keys
CTRL + A + D
You have to press CTRL and hold it, then press A and lift it and then press D and lift it and CTRL.
This way, maybe you can get some more info about the problem!
Then, start your node in a new ssh session, so that you can look to the debug session and see what is going on.