I'm running Ubuntu 18.04 server, headless and installed tor using the debian instructions on the tor project. However, nyx will not run to show me tor connection information, when I enter
nyx I receive the message:
Unable to connect to tor. Maybe it's running without a ControlPort?
However, I can see tor running when I run
921 root 20 0 75448 19400 6356 S 0.3 0.5 0:03.12 tor
But, when I run
systemctl | grep tor I see:
● tor.service loaded active exited Anonymizing overlay network for TCP (multi-instance-master) ● firstname.lastname@example.org loaded failed failed Anonymizing overlay network for TCP
I've configured my 'tor service' in
/usr/share/tor/tor-service-defaults-torrc and that file's contents are:
DataDirectory /var/lib/tor PidFile /run/tor/tor.pid RunAsDaemon 1 User debian-tor ControlSocket /run/tor/control GroupWritable RelaxDirModeCheck ControlSocketsGroupWritable 1 SocksPort unix:/run/tor/socks WorldWritable SocksPort 9050 ControlPort 9051 CookieAuthentication 1 CookieAuthFileGroupReadable 1 CookieAuthFile /run/tor/control.authcookie Log notice syslog
Any help to get nyx working and improve my tor implementation is appreciated.