[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] Chutney couldn't start Tor instances



Thanks Sukhbir,

This was exactly it. I took me a few times, but I got it in the end. To make Chutney work:

1) Comment out the "TestingClientDownloadSchedule" line in torrc_templates/client.tmpl and in torrc_templates/client.tmpl
2) Comment out the "TestingV3AuthVotingStartOffset" line in torrc_templates/authority.tmpl
3) In torrc_templates/authority.tmpl, change the value of "TestingV3AuthInitialVoteDelay" from 2 to 20
4) In the same file, change the value of "TestingV3AuthInitialDistDelay" from 2 to 20. These are the lowest these values can go.
5) $ ./chutney configure networks/basic
6) $ ./chutney start networks/basic
7) $ ./chutney status networks/basic

As you pointed out, removing line 469 of lib/chutney/TorNet.py (removing the --quiet option at launch) does give some great diagnostic information.
10/10 nodes now running, thanks again for the help. Hopefully the Chutney devs see this!

Relevant: https://xkcd.com/196/

--
Jesse V.

On 07/27/2014 04:00 AM, tor-dev-request@xxxxxxxxxxxxxxxxxxxx wrote:
> Date: Sat, 26 Jul 2014 18:51:44 -0400
> From: Sukhbir Singh <sukhbir.in@xxxxxxxxx>
> To: tor-dev@xxxxxxxxxxxxxxxxxxxx
> Subject: Re: [tor-dev] Chutney couldn't start Tor instances
> Message-ID:
> 	<CADtjFvXs=Zfvus75iSs6oUZ1tXmwayVG+3HZv8n4OVR8-5+5+w@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
>> No log files are generated in <path>/net/nodes/000a, so I don't know what
>> happened. I don't see any conflicts with ports on localhost as far as I can
>> see.
>> Tor version 0.2.4.22 and Python 2.7.5+ are installed. Any ideas?
> I find it helpful to remove the "--quiet" switch from
> lib/chutney/TorNet.py (line 469) so that I can actually see why Tor
> failed to start. That is the right place to start looking.
>
> In your case, it is probably TestingClientDownloadSchedule or
> TestingServerDownloadSchedule that is causing the issue since I
> remember something with one of the versions in 0.2.4 (not exactly sure
> which). Try removing these lines from torrc_templates/client.tmpl,
> torrc_template/relay.tmpl and then reconfigure the network and then
> start it. It is either this, or DirServer/DirAuthority but the verbose
> output will tell you the exact problem (look for "err").
>
> I have found these issues to be common when using an earlier version
> because of mismatch between the templates Chuntey is configured to use
> (recent versions of Tor) versus earlier versions with different
> options. But the fix is easy -- just update the template and
> reconfigure the network.
>


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev