[tor-relays] More than one instance with Debian Jessie

nusenu nusenu at openmailbox.org
Sat Jul 2 16:21:00 UTC 2016


> Still unsuccessful, even after reboot -here is what I did:
> 
> sudo tor-instance-create tor2
> 
> sudo adduser xxx _tor-tor2

no need to create that user manually, tor-instance-create does that


> sudo systemctl start tor at tor2
> 
> Job for tor at tor2.service failed. See 'systemctl status tor at tor2.service'
> and 'journalctl -xn' for details.
> 
> xxx at xxx:~$ systemctl status tor at tor2.service
>tor at tor2.service - Anonymizing overlay network for TCP (instance tor2)
>    Loaded: loaded (/lib/systemd/system/tor at .service; disabled)
>    Active: failed (Result: start-limit) since Sat 2016-07-02 17:37:32
> CEST; 12s ago
> 
>   Process: 710 ExecStart=/usr/bin/tor --defaults-torrc
> /var/run/tor-instances/%i.defaults -f /etc/tor/instances/%i/torrc
> (code=exited, status=1/FAILURE)
> 


>> these are my current settings:
>>
>> SocksPort auto
>> RunAsDaemon 0
>> Log notice file /var/log/tor/notices2.log

This is a bad idea (file permissions), why did you add that Log line?
I recommend you stick with the default behaviour (syslog), just remove
that line.


If you simply want to setup multiple tor instances on a debian 8 target
machine, you might also just use ansible

https://github.com/nusenu/ansible-relayor

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20160702/7ff7cb69/attachment-0001.sig>


More information about the tor-relays mailing list