Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: hristo1988 в Apr 07, 2012, 19:52



Титла: Инсталиране на tor под ubuntu 10.04
Публикувано от: hristo1988 в Apr 07, 2012, 19:52
Здравейте. Имам проблем с инсталирането и използването на програмата tor+Vidalia. Инсталирам ги, видалия ми се почвява в менюто, но когато е стартирам ми вади Vidalia detected that the Tor software exited unexpectedly.
Please check the message log for recent warning or error messages.

След като дам да ми покаже лога и в графата Advanced е записано следното

Apr 07 19:47:30.685 [Notice] Tor v0.2.3.13-alpha (git-e783afd37ecddc1b) running on Linux i686.
Apr 07 19:47:30.685 [Notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Apr 07 19:47:30.686 [Notice] This version is not a stable Tor release. Expect more bugs than usual.
Apr 07 19:47:30.701 [Notice] Read configuration file "/home/hristo/.vidalia/torrc".
Apr 07 19:47:30.756 [Notice] Initialized libevent version 1.4.13-stable using method epoll. Good.
Apr 07 19:47:30.756 [Notice] Opening Socks listener on 127.0.0.1:9050
Apr 07 19:47:30.758 [Warning] /var/run/tor is not owned by this user (hristo, 1000) but by debian-tor (117). Perhaps you are running Tor as the wrong user?
Apr 07 19:47:30.759 [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 connect to it, so Tor is being careful.)
Apr 07 19:47:30.759 [Notice] Closing partially-constructed listener Socks listener on 127.0.0.1:9050
Apr 07 19:47:30.760 [Warning] Failed to parse/validate config: Failed to bind one of the listener ports.
Apr 07 19:47:30.761 [Error] Reading config failed--see warnings above.

Търсих в гоогле, правих струвах но все удрях на греда  >:( Какво трябва да направя вече за да тръгне програмата ???


Титла: Re: Инсталиране на tor под ubuntu 10.04
Публикувано от: laskov в Apr 07, 2012, 20:03
като root:
mkdir /var/run/tor
chown hristo /var/run/tor
и пробваш да стартираш отново


Титла: Re: Инсталиране на tor под ubuntu 10.04
Публикувано от: hristo1988 в Apr 08, 2012, 13:35
Няма промяна.


Титла: Re: Инсталиране на tor под ubuntu 10.04
Публикувано от: laskov в Apr 08, 2012, 15:23
Добре. Изпълни следното като root и пак пробвай
chmod 700 /var/run/tor


Титла: Re: Инсталиране на tor под ubuntu 10.04
Публикувано от: hristo1988 в Apr 08, 2012, 22:51
Сега тръгна(частично). В главния екран на видалиа изписва Conecting to tor и до там. В логовете последните редове са

Apr 08 22:49:27.216 [Notice] Reloaded microdescriptor cache.  Found 2848 descriptors.
Apr 08 22:49:27.245 [Notice] We now have enough directory information to build circuits.
Apr 08 22:49:27.246 [Notice] Bootstrapped 80%: Connecting to the Tor network.
Apr 08 22:49:28.283 [Notice] Heartbeat: Tor's uptime is 0:00 hours, with 4 circuits open. I've sent 0 kB and received 0 kB.
Apr 08 22:49:28.313 [Notice] Bootstrapped 85%: Finishing handshake with first hop.
Apr 08 22:49:29.777 [Notice] Bootstrapped 90%: Establishing a Tor circuit.
Apr 08 22:49:30.817 [Notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Apr 08 22:49:30.817 [Notice] Bootstrapped 100%: Done.

Едит:
След няколко рестарта на програмата се свързах. Дано нямам проблеми за напред. Мерси много  [_]3