torproxy: Service is not running
- FreedomBox version: 23.14~bpo12+1
- Debian version: bookworm
Tor Proxy service failed to start:
Aug 03 21:52:02 freedombox tor[9214]: Aug 03 21:52:02.283 [notice] Opening Socks listener on [::]:9050
Aug 03 21:52:02 freedombox tor[9214]: Aug 03 21:52:02.283 [notice] Opened Socks listener connection (ready) on [::]:9050
Aug 03 21:52:02 freedombox tor[9214]: Aug 03 21:52:02.283 [notice] Opening Socks listener on 0.0.0.0:9050
Aug 03 21:52:02 freedombox tor[9214]: Aug 03 21:52:02.283 [warn] Could not bind to 0.0.0.0:9050: Address already in use. Is Tor already running?
Another tor instance is using the port:
root@freedombox:/home/vagrant# lsof -i :9050
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
tor 1270 debian-tor 6u IPv4 12997 0t0 TCP localhost:9050 (LISTEN)
Based on the user, this looks like a default tor instance set up by the tor package.
After stopping and disabling the tor service, then restarting Tor Proxy, the service is running ok.
Edited by James Valleroy