I have a server with Ubuntu Linux 16.04. I installed tor like written in https://www.torproject.org/docs/debian.html.en#ubuntu (chose Xenial repos). I wrote what I believe to be the correct rows in the Tor config file, but I executed:
sudo service tor restart
(also tried start argument).
As well as
/etc/init.d/tor startBut in the end I received this error:
/usr/bin/pkttyagent: error while loading shared libraries: libsystemd-login.so.0: cannot open shared object file: No such file or directoryI have no libsystemd-login.so.0 file in system. Packages.ubuntu.com says there is no package that provides that file in Xenial, only in Trusty.
How can I run a tor relay on my Xenial-based system?
service
command, not /etc/init.d/tor. What doessudo journalctl -u tor@default --no-pager
output?