Suddenly started getting this error, where should I look to try and fix it? Tor version 0.4.7.10 Tor compiled with GCC version 12.2.0 and lightning v0.11.2
e: lightning_connectd: Connecting stream socket to Tor service: Connection refused
lightningd: connectd failed (exit status 1), exiting.
tor.service - Anonymizing overlay network for TCP (multi-instance-master) Loaded: loaded (/lib/systemd/system/tor.service; enabled; preset: enabled) Active: active (exited) since Mon 2022-12-19 11:59:13 AEDT; 8h ago Process: 15294 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Main PID: 15294 (code=exited, status=0/SUCCESS) CPU: 1ms Dec 19 11:59:13 Sophia systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)... Dec 19 11:59:13 Sophia systemd[1]: Finished Anonymizing overlay network for TCP (multi-instance-master). Is tor working??? – user209474
My debug.log file does not open when I just enter tor. I get the message Couldn't open file for 'Log debug file var/log/tor/debug.log': No such file or directory debug.log has my user name as the group in file properties. How do I correct this problem. Appreciate any ideas.
torrc config: Log debug file /var/log/tor/debug.log ControlPort 9051 HashedControlPassword16:XXXXX ExitPolicy reject : # no exits allowed
and the ln config;
proxy=127.0.0.1:9050 bind-addr=127.0.0.1:9735 addr=statictor:127.0.0.1:9051 always-use-proxy=true
wallet=sqlite3:///home/rick/.lightning/bitcoin/lightningd.sqlite3:/home/rick/Documents/backup/lightningd.sqlite3
and finally when I now try to start LN I get: Tor returned '515 Authentication failed: Password did not match HashedControlPassword value from configuration
tor-service-password=yourpassword
sudo systemctl status tor
. If it showsdisabled
or some other error code, then you need to address that issue or simply restart it.sudo -u debian-tor ls -l /var/log/tor/
, although the tor username could be different on your system.