Tor Fails to Start on Ubuntu 16.04

Hey everyone I have a fresh install of Ubuntu 16.04 that is unable to start Tor. Some useful output: root@tor-1 ~ # uname -a Linux tor-1 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux root@tor-1 ~ # apt-cache policy tor tor: Installed: 0.2.8.9-1~xenial+1 Candidate: 0.2.8.9-1~xenial+1 Version table: *** 0.2.8.9-1~xenial+1 500 500 http://deb.torproject.org/torproject.org xenial/main amd64 Packages 100 /var/lib/dpkg/status root@tor-1 ~ # journalctl -u tor ... Nov 13 00:52:39 tor-1 systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)... Nov 13 00:52:39 tor-1 systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master). <and then nothing else as it hangs> Tor fails to get beyond this message for any config I have tried (including the default). I tried replacing the systemd unit file with one of my own and was able to start Tor, however it would crash every 5 minutes (though the logs. The commands used in the systemd file and the command init.d script are both able to start Tor correctly if I run them in a TTY as I can see from a second terminal. Is anyone else running Tor on Xenial, and if so, have they run into this problem? -h

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/13/2016 02:17 AM, heartsucker wrote:
Is anyone else running Tor on Xenial, and if so, have they run into this problem?
Hi, I run a Tor relay on Ubuntu Xenial and I didn't encounter any issue so far. Regards, Clèm -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYJ8IaAAoJEIACgnANMTD1pX0P/idSGKaaQeo3a2gQF9aStYhb dFzxS173LPHnMFRyYiUOjColWGwZftuH8/gXs7MxKaj7O5syzRoNQHfU7aqhxanA gy39lV+OchW0IpEPJ35fiKr/xh1uVv3q+rzyxjao+9ElyqJDupOwBqMMjuXauUfh bZYrkH2ZSxNwXI4/e7LqCeEIw1tYyqguIhqp1yYtqnWD24lYyw00oCds27sIjAVp Z1r42jGX798WrcW3b1te7MPNQ7gY91MA406rI3nWD5vNLyPV70rXvJRzEab/ApeX ROAag01onsfopaYh7fs9uULK0voTCX2l8zguYRT8I/UTFiGGJ9OrO2oMDWPE61rh ndCbgI2mrINBAshpLdQZgHS83w5G0cUrP/lRPQEXtF0OXTYVYdhmlfCxbXSitvX5 V4S5GqKxASaGIt18LPLthNMPspJA2D7FeQvYPaAocte+Y0W+Oz99qxI01GqZX+0h weOn9DuRIC/JGGhmgSWVmswg0aBqkQqa7BrQiQEd3M2+y8K7PFOr98SM3d8AzAjJ YJe53LvvDVHs9EaicE/BguG+x8FNxjP2tf4gMo1kd95yRSwN0D46iUuo5KVUD9+/ Gev/cZfIEBEWLgRY7jQL0P2i9/3aStJwUO3duO1ZxiKciRTkQXQZHMa688GsZSnA DvcgyUmdd/SHahUO75M6 =g38C -----END PGP SIGNATURE-----

On 13 Nov. 2016, at 12:17, heartsucker <heartsucker@autistici.org> wrote:
Hey everyone
I have a fresh install of Ubuntu 16.04 that is unable to start Tor.
Some useful output:
root@tor-1 ~ # uname -a Linux tor-1 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux root@tor-1 ~ # apt-cache policy tor tor: Installed: 0.2.8.9-1~xenial+1 Candidate: 0.2.8.9-1~xenial+1 Version table: *** 0.2.8.9-1~xenial+1 500 500 http://deb.torproject.org/torproject.org xenial/main amd64 Packages 100 /var/lib/dpkg/status root@tor-1 ~ # journalctl -u tor ... Nov 13 00:52:39 tor-1 systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)... Nov 13 00:52:39 tor-1 systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master). <and then nothing else as it hangs>
Tor fails to get beyond this message for any config I have tried (including the default). I tried replacing the systemd unit file with one of my own and was able to start Tor, however it would crash every 5 minutes (though the logs. The commands used in the systemd file and the command init.d script are both able to start Tor correctly if I run them in a TTY as I can see from a second terminal.
Is anyone else running Tor on Xenial, and if so, have they run into this problem?
Do you have apparmor installed? If so, what are the logs? In any case, what does Tor try to do every 5 minutes? (Look at the info or debug logs.) T -- Tim Wilson-Brown (teor) teor2345 at gmail dot com PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B ricochet:ekmygaiu4rzgsk6n xmpp: teor at torproject dot org ------------------------------------------------------------------------------

No, I don't have apparmor installed. -h On 11/13/2016 04:42 AM, teor wrote:
On 13 Nov. 2016, at 12:17, heartsucker <heartsucker@autistici.org> wrote:
Hey everyone
I have a fresh install of Ubuntu 16.04 that is unable to start Tor.
Some useful output:
root@tor-1 ~ # uname -a Linux tor-1 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux root@tor-1 ~ # apt-cache policy tor tor: Installed: 0.2.8.9-1~xenial+1 Candidate: 0.2.8.9-1~xenial+1 Version table: *** 0.2.8.9-1~xenial+1 500 500 http://deb.torproject.org/torproject.org xenial/main amd64 Packages 100 /var/lib/dpkg/status root@tor-1 ~ # journalctl -u tor ... Nov 13 00:52:39 tor-1 systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)... Nov 13 00:52:39 tor-1 systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master). <and then nothing else as it hangs>
Tor fails to get beyond this message for any config I have tried (including the default). I tried replacing the systemd unit file with one of my own and was able to start Tor, however it would crash every 5 minutes (though the logs. The commands used in the systemd file and the command init.d script are both able to start Tor correctly if I run them in a TTY as I can see from a second terminal.
Is anyone else running Tor on Xenial, and if so, have they run into this problem?
Do you have apparmor installed? If so, what are the logs?
In any case, what does Tor try to do every 5 minutes? (Look at the info or debug logs.)
T

On Sun, 13 Nov 2016, 04:43 teor, <teor2345@gmail.com> wrote:
On 13 Nov. 2016, at 12:17, heartsucker <heartsucker@autistici.org> wrote:
Hey everyone
I have a fresh install of Ubuntu 16.04 that is unable to start Tor.
Some useful output:
root@tor-1 ~ # uname -a Linux tor-1 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux root@tor-1 ~ # apt-cache policy tor tor: Installed: 0.2.8.9-1~xenial+1 Candidate: 0.2.8.9-1~xenial+1 Version table: *** 0.2.8.9-1~xenial+1 500 500 http://deb.torproject.org/torproject.org xenial/main amd64 Packages 100 /var/lib/dpkg/status root@tor-1 ~ # journalctl -u tor ... Nov 13 00:52:39 tor-1 systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)... Nov 13 00:52:39 tor-1 systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master). <and then nothing else as it hangs>
Tor fails to get beyond this message for any config I have tried (including the default). I tried replacing the systemd unit file with one of my own and was able to start Tor, however it would crash every 5 minutes (though the logs. The commands used in the systemd file and the command init.d script are both able to start Tor correctly if I run them in a TTY as I can see from a second terminal.
Is anyone else running Tor on Xenial, and if so, have they run into this problem?
Do you have apparmor installed? If so, what are the logs?
In any case, what does Tor try to do every 5 minutes? (Look at the info or debug logs.)
T
-- Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B ricochet:ekmygaiu4rzgsk6n xmpp: teor at torproject dot org
------------------------------------------------------------------------------
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/ <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays> tor-relays
After having installed tor on 16.04, i had to disable & re-enable te service manually to make it start. Then i also had to disable apparmor, override profile to none Then it worked Seb
participants (4)
-
Clément Février
-
heartsucker
-
r1610091651
-
teor