我在 Ubuntu 12.04 x64 上安装了tor
。vidalia
当我尝试运行 Vidalia 时,我收到以下消息
Vidalia 检测到 Tor 软件意外退出。请检查消息日志以查找最近的警告或错误消息。
以下是日志
Jul 05 16:56:24.348 [Notice] Tor v0.2.2.35 (git-73ff13ab3cc9570d). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
Jul 05 16:56:24.348 [Notice] Initialized libevent version 2.0.16-stable using method epoll. Good.
Jul 05 16:56:24.348 [Notice] Opening Socks listener on 127.0.0.1:9050
Jul 05 16:56:24.348 [Warning] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Jul 05 16:56:24.348 [Warning] /var/run/tor is not owned by this user (jeffrey, 1000) but by debian-tor (118). Perhaps you are running Tor as the wrong user?
Jul 05 16:56:24.348 [Warning] Before Tor can create a control socket in "/var/run/tor/control", the directory "/var/run/tor" needs to exist, and to be accessible only by the user account that is running Tor. (On some Unix systems, anybody who can list a socket can conect to it, so Tor is being careful.)
Jul 05 16:56:24.348 [Warning] Failed to parse/validate config: Failed to bind one of the listener ports.
Jul 05 16:56:24.348 [Error] Reading config failed--see warnings above.
运行sudo /etc/init.d/tor status
结果为tor is running
。
有人知道这里发生了什么以及我该如何解决它吗?
答案1
正如它所说
无法绑定到 127.0.0.1:9050:地址已被使用
你可能已启用并运行 tor 守护程序。因此每次启动系统时它都会自动启动
您可以编辑
/etc/默认/tor
并设置在那里
RUN_DEAMON="否"。
答案2
在终端中输入以下命令:
sudo killall tor
重启后Vidalia
它应该可以使用了tor
。但真正的问题是每次你想使用时tor
,Vidalia
你都需要在终端中输入该命令。
问题:安装后,当您打开Vidalia时,TOR将自动启动,它将首先检查是否存在现有的TOR进程并尝试连接到TOR的控制端口。
我们需要做的就是重新配置 tor,以便允许 Vidalia 连接并开始使用 tor 进程。