Tor“无法解析/validation配置”

我昨晚在Ubuntu 12.04中完全使用Tor。 我安装了TorChat然后当我今天使用它时,我收到以下错误消息。

Oct 15 22:45:57.888 [notice] Initialized libevent version 2.0.16-stable using method epoll. Good. Oct 15 22:45:57.888 [notice] Opening Socks listener on 127.0.0.1:9050 Oct 15 22:45:57.889 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running? Oct 15 22:45:57.889 [warn] Failed to parse/validate config: Failed to bind one of the listener ports. Oct 15 22:45:57.889 [err] Reading config failed--see warnings above. 

所以我使用ps试图杀死正在运行的Tor进程并发现没有。 我重新启动计算机并注意到在加载操作系统时,一些文本很快就出现了,这与此错误消息相同。 我卸载了TorChat,看看是不是问题但是没有任何好处。 这是进程列表

 1835 ? 00:00:00 lightdm 1875 ? 00:00:00 gnome-keyring-d 1886 ? 00:00:00 gnome-session 1922 ? 00:00:00 ssh-agent 1925 ? 00:00:00 dbus-launch 1926 ? 00:00:00 dbus-daemon 1939 ? 00:00:00 gnome-settings- 1944 ? 00:00:00 gvfsd 1946 ? 00:00:00 gvfs-fuse-daemo 1953 ? 00:00:01 compiz 1962 ? 00:00:00 pulseaudio 1965 ? 00:00:00 gconf-helper 1967 ? 00:00:00 gconfd-2 1971 ? 00:00:00 gvfsd-metadata 1973 ? 00:00:00 nautilus 1974 ? 00:00:00 polkit-gnome-au 1975 ? 00:00:00 bluetooth-apple 1976 ? 00:00:00 gnome-fallback- 1979 ? 00:00:00 nm-applet 1985 ? 00:00:00 gvfs-gdu-volume 2005 ? 00:00:00 gvfs-gphoto2-vo 2007 ? 00:00:00 gvfs-afc-volume 2028 ? 00:00:00 gvfsd-trash 2030 ? 00:00:00 gvfsd-burn 2036 ? 00:00:00 bamfdaemon 2050 ? 00:00:00 sh 2051 ? 00:00:00 gtk-window-deco 2056 ? 00:00:00 gdu-notificatio 2058 ? 00:00:00 unity-panel-ser 2060 ? 00:00:00 hud-service 2079 ? 00:00:00 indicator-datet 2083 ? 00:00:00 indicator-messa 2084 ? 00:00:00 indicator-sessi 2087 ? 00:00:00 indicator-sound 2088 ? 00:00:00 indicator-appli 2089 ? 00:00:00 indicator-print 2114 ? 00:00:00 geoclue-master 2120 ? 00:00:00 ubuntu-geoip-pr 2133 ? 00:00:00 telepathy-indic 2140 ? 00:00:00 mission-control 2145 ? 00:00:00 goa-daemon 2150 ? 00:00:00 gnome-screensav 2151 ? 00:00:00 zeitgeist-datah 2159 ? 00:00:00 zeitgeist-daemo 2165 ? 00:00:00 zeitgeist-fts 2173 ? 00:00:00 cat 2176 ? 00:00:00 gnome-terminal 2188 ? 00:00:00 gnome-pty-helpe 2189 pts/0 00:00:00 bash 2246 ? 00:00:00 unity-applicati 2249 ? 00:00:00 unity-music-dae 2251 ? 00:00:00 unity-lens-vide 2252 ? 00:00:00 unity-files-dae 2285 ? 00:00:00 unity-musicstor 2314 ? 00:00:00 unity-scope-vid 2328 pts/0 00:00:00 ps 

为什么在启动时会显示此错误消息,此列表中是否有任何内容可能表明某些内容正在运行但我没有收到并导致错误?

我解决了这个问题。

 sudo gedit /etc/default/tor 

在以下文件中将“是”更改为“否”

 RUN_DAEMON="yes" 

即使应用了A H提供的解决方案,Tor也无法启动。
试试这个

  ps aux | grep tor debian-+ 1011 0.1 0.2 77836 33608 ? Ss 21:28 0:00 /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 

试着杀死这个过程。 你可能需要sudo。