Hello everyone,
I'm doing some research on Tor and I'm trying to set up a small sample Tor network to play with. I cloned the Chutney repository with /$ git clone https://git.torproject.org/chutney.git/ and then I ran /$ ./chutney configure networks/basic/ which generated the keys for each of the three authorities and also set up five relays and two clients. Everything looked good, but when I ran /$ ./chutney start networks/basic/ it says:
/Starting nodes// //Couldn't launch test000a (tor --quiet -f <path>/net/nodes/000a/torrc): 255// //Couldn't launch test001a (tor --quiet -f ///<path>//net/nodes/001a/torrc): 255// //Couldn't launch test002a (tor --quiet -f ///<path>//net/nodes/002a/torrc): 255// //Couldn't launch test003r (tor --quiet -f ///<path>//net/nodes/003r/torrc): 255// //Couldn't launch test004r (tor --quiet -f ///<path>//net/nodes/004r/torrc): 255// //Couldn't launch test005r (tor --quiet -f ///<path>//net/nodes/005r/torrc): 255// //Couldn't launch test006r (tor --quiet -f ///<path>//net/nodes/006r/torrc): 255// //Couldn't launch test007r (tor --quiet -f ///<path>//net/nodes/007r/torrc): 255// //Couldn't launch test008c (tor --quiet -f ///<path>//net/nodes/008c/torrc): 255// //Couldn't launch test009c (tor --quiet -f ///<path>//net/nodes/009c/torrc): 255/
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?
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.