首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >18.04 TOR中继错误“无法绑定到0.0.0.0:9050:地址已在使用中。Tor已在运行吗?”

18.04 TOR中继错误“无法绑定到0.0.0.0:9050:地址已在使用中。Tor已在运行吗?”
EN

Ask Ubuntu用户
提问于 2018-08-30 12:11:09
回答 1查看 2.2K关注 0票数 1

首先-很大程度上是Ubuntu的新手。已经在一台旧电脑上运行了大约12个月,TOR继电器也在运行。

跟踪了多个方法,终于开始工作了。然而,昨晚刚刚更新到18.04,对于我的生命来说,我无法重新启动和运行我的接力。我搜索了所有的东西,运行了几乎所有我能找到的命令,而且我一直遇到同样的基本问题。

以前我用手臂来监视继电器,但是在升级之后,我安装了NYX。当我试图运行时,上面写着“无法连接到tor,您确定它正在运行吗?”(不-我不知道,我想是的)

代码语言:javascript
复制
$ tor
Aug 30 22:01:00.220 [notice] Tor 0.3.3.9 (git-ca1a436fa8e53a32) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0g, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.3.
Aug 30 22:01:00.220 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Aug 30 22:01:00.220 [notice] Read configuration file "/etc/tor/torrc".
Aug 30 22:01:00.224 [notice] Based on detected system memory, MaxMemInQueues is set to 2862 MB. You can override this by setting MaxMemInQueues by hand.
Aug 30 22:01:00.225 [notice] Scheduler type KIST has been enabled.
Aug 30 22:01:00.225 [notice] Opening Socks listener on 127.0.0.1:9050
Aug 30 22:01:00.225 [notice] Opening Control listener on 127.0.0.1:9051
Aug 30 22:01:00.225 [notice] Opening OR listener on 0.0.0.0:9001
Aug 30 22:01:00.225 [notice] Opening Directory listener on 0.0.0.0:9050
Aug 30 22:01:00.225 [warn] Could not bind to 0.0.0.0:9050: Address already in use. Is Tor already running?
Aug 30 22:01:00.225 [notice] Closing partially-constructed Socks listener on 127.0.0.1:9050
Aug 30 22:01:00.225 [notice] Closing partially-constructed Control listener on 127.0.0.1:9051
Aug 30 22:01:00.225 [notice] Closing partially-constructed OR listener on 0.0.0.0:9001
Aug 30 22:01:00.225 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Aug 30 22:01:00.225 [err] Reading config failed--see warnings above.

我想无论出于什么原因,它的安装都不正确。我遵循TOR项目网站上的安装说明,并再次执行。同样的信息。

我想,也许最好把它全部去掉,然后重新开始,所以我跑了:

代码语言:javascript
复制
sudo apt-get remove --auto-remove tor

然后再次运行整个安装过程。同样的结果/错误。

我的torrc文件看起来是原始的,因为每当我编辑它来检查它时,它都有我以前设置的所有原始设置。

在这里发现了两个几乎相同的线程(除了不同的IP地址),所以我也尝试了所有建议的解决方案,包括:

代码语言:javascript
复制
killall tor
tor:no process found

但是没有改变-我不确定这是否真的是一个TOR问题,一个IP地址问题,我是否已经安装了4份TOR?

Sidenote能够安装TOR浏览器,这很好。

我很想让我的接力开始和运行,所以我会感谢任何建议。提亚

Tried这个建议:

感谢您的回复,不幸的是,我已经尝试过了,而tor似乎并没有真正运行:

代码语言:javascript
复制
ben@ben-OptiPlex-755:~$ ps aux | grep -i tor
ben       2435  0.0  0.2 299360  8828 ?        Ssl  11:27   0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
ben       2442  0.0  0.1 371736  7616 ?        Ssl  11:27   0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
ben       2447  0.0  0.1 281680  6616 ?        Ssl  11:27   0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
ben       2454  0.0  0.1 268764  6056 ?        Ssl  11:27   0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
ben       2458  0.0  0.1 266968  5916 ?        Ssl  11:27   0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
ben       2593  0.0  0.2 464988 10476 tty2     Sl+  11:27   0:00 /usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service
ben       2603  0.0  0.2 366280  7828 tty2     Sl+  11:27   0:00 /usr/lib/x86_64-linux-gnu/indicator-messages/indicator-messages-service
ben       2636  0.0  1.6 884620 66384 ?        Ssl  11:27   0:00 /usr/lib/evolution/evolution-calendar-factory
ben       2704  0.0  1.5 1054588 61800 ?       Sl   11:27   0:00 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2636x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2636/2
ben       2733  0.0  0.6 725764 24104 ?        Ssl  11:27   0:00 /usr/lib/evolution/evolution-addressbook-factory
ben       2746  0.0  0.6 1075752 26984 ?       Sl   11:27   0:00 /usr/lib/evolution/evolution-addressbook-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.AddressBookx2733x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/AddressBook/2733/2
ben       3786  0.0  0.8 101515084 32172 tty2  Sl+  11:29   0:00 /usr/lib/deja-dup/deja-dup-monitor
ben       4383  0.0  0.0  14428  1088 pts/0    S+   11:40   0:00 grep --color=auto -i tor

或者这是最后一个过程4383 -- Tor过程?不,当我运行时,它不会出现,因为它说没有这样的过程

杀戮-9 4383

其他建议?)

EN

回答 1

Ask Ubuntu用户

发布于 2018-08-30 12:42:12

请您获取正在运行的tor进程,并终止它:

代码语言:javascript
复制
ps aux | grep -i tor

它将向您显示tor进程id,如果它正在运行,现在您可以关闭它:

代码语言:javascript
复制
kill -9 process_id

希望这能帮到你。:)

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1070469

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档