[tor-relays] Who am I?

William Kane ttallink at googlemail.com
Mon Sep 21 08:48:15 UTC 2020


It's obvious whats happening, in the first example Tor can't bind to the
reserved port range, running it as root it can bin of course, but the data
directory is owned by the package-supplied tor user so it refuses to start.

Please read more carefully next time, this is pretty basic linux sysadmin
knowledge and the logs tell you exactly whats wrong - now it is up to you
to find a solution by using the search engine of your choice.

Hint: running it as root is the worst solution to this problem..

William

<Kencf0618 at riseup.net> schrieb am Mo., 21. Sep. 2020, 05:58:

> Whatever the torrc, with "Tor" I get
>
> Sep 18 08:02:12.538 [notice] Tor 0.3.2.10 (git-0edaa32732ec8930) running
> on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma
> 5.2.2, and Libzstd 1.3.3.
> Sep 18 08:02:12.538 [notice] Tor can't help you if you use it wrong!
> Learn how to be safe at
> https://www.torproject.org/download/download#warning
> Sep 18 08:02:12.538 [notice] Read configuration file "/etc/tor/torrc".
> Sep 18 08:02:12.542 [notice] Based on detected system memory,
> MaxMemInQueues is set to 8192 MB. You can override this by setting
> MaxMemInQueues by hand.
> Sep 18 08:02:12.542 [notice] Scheduler type KIST has been enabled.
> Sep 18 08:02:12.542 [notice] Opening OR listener on 0.0.0.0:443
> Sep 18 08:02:12.542 [warn] Could not bind to 0.0.0.0:443: Permission
> denied
> Sep 18 08:02:12.542 [warn] Failed to parse/validate config: Failed to
> bind one of the listener ports.
> Sep 18 08:02:12.542 [err] Reading config failed--see warnings above.
>
> whereas with "sudo Tor" (yeah, yeah, I know, I know -"bad form") I get
>
> ep 18 08:04:12.236 [notice] Tor 0.3.2.10 (git-0edaa32732ec8930) running
> on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma
> 5.2.2, and Libzstd 1.3.3.
> Sep 18 08:04:12.236 [notice] Tor can't help you if you use it wrong!
> Learn how to be safe at
> https://www.torproject.org/download/download#warning
> Sep 18 08:04:12.237 [notice] Read configuration file "/etc/tor/torrc".
> Sep 18 08:04:12.240 [notice] Based on detected system memory,
> MaxMemInQueues is set to 8192 MB. You can override this by setting
> MaxMemInQueues by hand.
> Sep 18 08:04:12.240 [notice] Scheduler type KIST has been enabled.
> Sep 18 08:04:12.240 [notice] Opening OR listener on 0.0.0.0:443
> Sep 18 08:04:12.241 [warn] /home/kenneth/.tor is not owned by this user
> (root, 0) but by kenneth (1000). Perhaps you are running Tor as the
> wrong user?
> Sep 18 08:04:12.241 [warn] Failed to parse/validate config: Couldn't
> access/create private data directory "/home/kenneth/.tor"
> Sep 18 08:04:12.241 [err] Reading config failed--see warnings above.
>
> What is happening?
>
> _______________________________________________
> tor-relays mailing list
> tor-relays at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20200921/43702d6a/attachment.htm>


More information about the tor-relays mailing list