Ubuntu 上的 tor 错误

Ubuntu 上的 tor 错误

当我在终端上输入并输入时tor显示以下消息:

Sep 02 01:00:34.889 [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 02 01:00:34.889 [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 02 01:00:34.889 [notice] Read configuration file "/etc/tor/torrc".
Sep 02 01:00:34.894 [notice] Scheduler type KIST has been enabled.
Sep 02 01:00:34.894 [notice] Opening Socks listener on 127.0.0.1:9050
Sep 02 01:00:34.894 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Sep 02 01:00:34.894 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Sep 02 01:00:34.894 [err] Reading config failed--see warnings above.

答案1

错误信息“ Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?”意味着此 conytor无法独占使用9050上的端口localhost,甚至还提出了一个可能的原因。

你可以看看是否tor还在运行

pgrep tor

然后杀死它

pkill -9 tor 

答案2

默认情况下,当您安装软件包时,tor它会创建一个服务并在后台运行 Tor。例如,您可以通过运行以下命令查看服务状态:

service tor status

它应该说active,这意味着它正在运行。

相关内容