Re: [tor-relays] minor typos in tor-instance-create
> fixed, thanks. https://gitweb.torproject.org/debian/tor.git/commit/?id=040fffc07b430d825e5acc88e6d2085a17b718fa There is a little typo in the fix tor@$name " vs tor@$name" ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
[tor-relays] tor-instance-create users: beware all your instances are always started
This is only relevant for debian users. If you assume you can manage your instances with the usual systemctl commands like systemctl disable/enable tor@myinstance beware that they have no effect. Note: systemctl start/stop works as expected. This is important to know especially if you have multiple configurations and want to enable/disable some of them to avoid running them concurrently. I don't know the reasoning behind that design decision but all your instances are enabled due to [1], you cannot use the well known systemctl disable command like systemctl disable tor@myinstance to disable a specific instance. If you want to disable them you can use the 'mask' command: systemctl mask tor@myinstance this is less convenient because this way you wont be able to run systemctl start tor@myinstance (on a masked unit) or move configuration files away (also less convenient than native disable/enable) [1] https://gitweb.torproject.org/debian/tor.git/tree/debian/systemd/tor-generator ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
On Sat, 06 Aug 2016, pa011 wrote: > The only instance in /etc/tor/instances/ is tor2 > There is no tor and nothing else in that directory > > And I do have a torrc file in /etc/tor/ What does find /run/systemd -name 'tor@*' list? What do those files look like? -- | .''`. ** Debian ** Peter Palfrader | : :' : The universal https://www.palfrader.org/ | `. `' Operating System | `-https://www.debian.org/ ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
The only instance in /etc/tor/instances/ is tor2 There is no tor and nothing else in that directory And I do have a torrc file in /etc/tor/ Best Regards Paul Am 06.08.2016 um 22:30 schrieb Peter Palfrader: > On Sat, 06 Aug 2016, pa011 wrote: > >> Actually not - you are right Alexander! >> But then the question are: >> >> - why do I need a user "_tor-tor" since the last update, when I didn’t need >> that before >> - why is it not self creating >> - what do I have to do - really creating "_tor-tor" with the same privileges >> as "_tor-tor2"? > > My guess is you manually created an /etc/tor/instances/tor next to your > tor2. That's not the default instance that's failing here. > > From your logs, you don't appear to have a default service. Do you not > have a /etc/tor/torrc? > ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] minor typos in tor-instance-create
On Sat, 06 Aug 2016, tor relay wrote: > > https://gitweb.torproject.org/debian/tor.git/tree/debian/tor-instance-create#n89 > > is: > > systemctl tor@$name start > > should be: > > systemctl start tor@$name mailto:tor@$name > > > https://gitweb.torproject.org/debian/tor.git/tree/debian/tor-instance-create.8.txt#n18 > > brdige -> bridge fixed, thanks. -- | .''`. ** Debian ** Peter Palfrader | : :' : The universal https://www.palfrader.org/ | `. `' Operating System | `-https://www.debian.org/ ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
On Sat, 06 Aug 2016, pa011 wrote: > Actually not - you are right Alexander! > But then the question are: > > - why do I need a user "_tor-tor" since the last update, when I didn’t need > that before > - why is it not self creating > - what do I have to do - really creating "_tor-tor" with the same privileges > as "_tor-tor2"? My guess is you manually created an /etc/tor/instances/tor next to your tor2. That's not the default instance that's failing here. From your logs, you don't appear to have a default service. Do you not have a /etc/tor/torrc? -- | .''`. ** Debian ** Peter Palfrader | : :' : The universal https://www.palfrader.org/ | `. `' Operating System | `-https://www.debian.org/ ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
I haven't used tor-instance-create yet, but looking at "man tor-instance-create", it sounds like the user should have been created automatically when creating the instance named "tor", like it did for "tor2". You could backup the "tor" instance's configuration and data files, create it again and restore the relevant files. Or maybe someone familiar with tor-instance-create has a better idea for fixing this. Best regards, Alexander --- PGP Key: https://dietrich.cx/pgp | 0x52FA4EE1722D54EB On 2016-08-06 16:49, pa011 wrote: Actually not - you are right Alexander! But then the question are: - why do I need a user "_tor-tor" since the last update, when I didn’t need that before - why is it not self creating - what do I have to do - really creating "_tor-tor" with the same privileges as "_tor-tor2"? Thanks Paul Am 06.08.2016 um 15:49 schrieb Alexander Dietrich: The error message "Ungültiger Anwender „_tor-tor“" appears several times in your log, while there are no error messages about user "_tor-tor2". Does the first user exist? Best regards, Alexander --- PGP Key: https://dietrich.cx/pgp | 0x52FA4EE1722D54EB On 2016-08-06 14:56, pa011 wrote: Thank you Michael for your hint - corrected that, but still having that problem with main instance not running: Aug 6 14:30:02 systemd-sysctl[142]: Failed to write '10 # to reboot after kernel panic' to '/proc/sys/kernel/panic': Invalid argument Aug 6 14:30:02 systemd[1]: systemd-sysctl.service: main process exited, code=exited, status=1/FAILURE Aug 6 14:30:02 systemd[1]: Failed to start Apply Kernel Variables. Aug 6 14:30:02 systemd[1]: Unit systemd-sysctl.service entered failed state. Aug 6 14:30:02 kbd[135]: Setting console screen modes. Aug 6 14:30:02 kbd[135]: setterm: $TERM ist nicht festgelegt. Aug 6 14:30:02 keyboard-setup[158]: Setting preliminary keymap...done. Aug 6 14:30:02 netfilter-persistent[277]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start Aug 6 14:30:02 netfilter-persistent[277]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start Aug 6 14:30:02 console-setup[220]: Setting up console font and keymap...done. Aug 6 14:30:02 networking[297]: Configuring network interfaces...done. Aug 6 14:30:02 rpcbind[399]: Starting rpcbind daemon Aug 6 14:30:02 rpc.statd[416]: Version 1.2.8 starting Aug 6 14:30:02 sm-notify[417]: Version 1.2.8 starting Aug 6 14:30:02 nfs-common[411]: Starting NFS common utilities: statd idmapd. Aug 6 14:30:02 atd[433]: Cannot change to /var/spool/cron/atjobs: No such file or directory Aug 6 14:30:02 install[431]: /usr/bin/install: Ungültiger Anwender „_tor-tor“ Aug 6 14:30:02 sysstat[445]: Starting the system activity data collector: sadc.Aug 6 14:30:02 systemd[1]: tor@tor.service: control process exited, code=exited status=1 Aug 6 14:30:02 systemd[1]: Failed to start Anonymizing overlay network for TCP (instance tor). Aug 6 14:30:02 systemd[1]: Unit tor@tor.service entered failed state. Aug 6 14:30:02 systemd[1]: atd.service: main process exited, code=exited, status=1/FAILURE Aug 6 14:30:02 systemd[1]: Unit atd.service entered failed state. Aug 6 14:30:02 sed[481]: DataDirectory /var/lib/tor-instances/tor2 Aug 6 14:30:02 sed[481]: PidFile /var/run/tor-instances/tor2/tor.pid Aug 6 14:30:02 sed[481]: RunAsDaemon 0 Aug 6 14:30:02 sed[481]: User _tor-tor2 Aug 6 14:30:02 sed[481]: SyslogIdentityTag tor2 Aug 6 14:30:02 sed[481]: ControlSocket /var/run/tor-instances/tor2/control GroupWritable RelaxDirModeCheck Aug 6 14:30:02 sed[481]: SocksPort unix:/var/run/tor-instances/tor2/socks WorldWritable Aug 6 14:30:02 sed[481]: CookieAuthentication 1 Aug 6 14:30:02 sed[481]: CookieAuthFileGroupReadable 1 Aug 6 14:30:02 sed[481]: CookieAuthFile /var/run/tor-instances/tor2/control.authcookie Aug 6 14:30:02 sed[481]: Log notice syslog Aug 6 14:30:03 acpid: starting up with netlink and the input layer Aug 6 14:30:03 acpid: 1 rule loaded Aug 6 14:30:03 acpid: waiting for events: event logging is off Aug 6 14:30:03 install[491]: /usr/bin/install: Ungültiger Anwender „_tor-tor“ Aug 6 14:30:03 systemd[1]: tor@tor.service: control process exited, code=exited status=1 Aug 6 14:30:03 systemd[1]: Failed to start Anonymizing overlay network for TCP (instance tor). Aug 6 14:30:03 systemd[1]: Unit tor@tor.service entered failed state. Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.109 [notice] Tor v0.2.8.6 (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1t and Zlib$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.110 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/downl$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.112 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc". Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.114 [notice] Read configuration file
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
Actually not - you are right Alexander! But then the question are: - why do I need a user "_tor-tor" since the last update, when I didn’t need that before - why is it not self creating - what do I have to do - really creating "_tor-tor" with the same privileges as "_tor-tor2"? Thanks Paul Am 06.08.2016 um 15:49 schrieb Alexander Dietrich: > The error message "Ungültiger Anwender „_tor-tor“" appears several times in > your log, while there are no error messages about user "_tor-tor2". Does the > first user exist? > > Best regards, > Alexander > --- > PGP Key: https://dietrich.cx/pgp | 0x52FA4EE1722D54EB > > On 2016-08-06 14:56, pa011 wrote: >> Thank you Michael for your hint - corrected that, but still having >> that problem with main instance not running: >> >> Aug 6 14:30:02 systemd-sysctl[142]: Failed to write '10 # to reboot >> after kernel panic' to '/proc/sys/kernel/panic': Invalid argument >> Aug 6 14:30:02 systemd[1]: systemd-sysctl.service: main process >> exited, code=exited, status=1/FAILURE >> Aug 6 14:30:02 systemd[1]: Failed to start Apply Kernel Variables. >> Aug 6 14:30:02 systemd[1]: Unit systemd-sysctl.service entered failed >> state. >> Aug 6 14:30:02 kbd[135]: Setting console screen modes. >> Aug 6 14:30:02 kbd[135]: setterm: $TERM ist nicht festgelegt. >> Aug 6 14:30:02 keyboard-setup[158]: Setting preliminary keymap...done. >> Aug 6 14:30:02 netfilter-persistent[277]: run-parts: executing >> /usr/share/netfilter-persistent/plugins.d/15-ip4tables start >> Aug 6 14:30:02 netfilter-persistent[277]: run-parts: executing >> /usr/share/netfilter-persistent/plugins.d/25-ip6tables start >> Aug 6 14:30:02 console-setup[220]: Setting up console font and >> keymap...done. >> Aug 6 14:30:02 networking[297]: Configuring network interfaces...done. >> Aug 6 14:30:02 rpcbind[399]: Starting rpcbind daemon >> Aug 6 14:30:02 rpc.statd[416]: Version 1.2.8 starting >> Aug 6 14:30:02 sm-notify[417]: Version 1.2.8 starting >> Aug 6 14:30:02 nfs-common[411]: Starting NFS common utilities: statd >> idmapd. >> Aug 6 14:30:02 atd[433]: Cannot change to /var/spool/cron/atjobs: No >> such file or directory >> Aug 6 14:30:02 install[431]: /usr/bin/install: Ungültiger Anwender >> „_tor-tor“ >> Aug 6 14:30:02 sysstat[445]: Starting the system activity data >> collector: sadc.Aug 6 14:30:02 systemd[1]: tor@tor.service: control >> process exited, code=exited status=1 >> Aug 6 14:30:02 systemd[1]: Failed to start Anonymizing overlay >> network for TCP (instance tor). >> Aug 6 14:30:02 systemd[1]: Unit tor@tor.service entered failed state. >> Aug 6 14:30:02 systemd[1]: atd.service: main process exited, >> code=exited, status=1/FAILURE >> Aug 6 14:30:02 systemd[1]: Unit atd.service entered failed state. >> Aug 6 14:30:02 sed[481]: DataDirectory /var/lib/tor-instances/tor2 >> Aug 6 14:30:02 sed[481]: PidFile /var/run/tor-instances/tor2/tor.pid >> Aug 6 14:30:02 sed[481]: RunAsDaemon 0 >> Aug 6 14:30:02 sed[481]: User _tor-tor2 >> Aug 6 14:30:02 sed[481]: SyslogIdentityTag tor2 >> Aug 6 14:30:02 sed[481]: ControlSocket >> /var/run/tor-instances/tor2/control GroupWritable RelaxDirModeCheck >> Aug 6 14:30:02 sed[481]: SocksPort >> unix:/var/run/tor-instances/tor2/socks WorldWritable >> Aug 6 14:30:02 sed[481]: CookieAuthentication 1 >> Aug 6 14:30:02 sed[481]: CookieAuthFileGroupReadable 1 >> Aug 6 14:30:02 sed[481]: CookieAuthFile >> /var/run/tor-instances/tor2/control.authcookie >> Aug 6 14:30:02 sed[481]: Log notice syslog >> Aug 6 14:30:03 acpid: starting up with netlink and the input layer >> Aug 6 14:30:03 acpid: 1 rule loaded >> Aug 6 14:30:03 acpid: waiting for events: event logging is off >> Aug 6 14:30:03 install[491]: /usr/bin/install: Ungültiger Anwender >> „_tor-tor“ >> Aug 6 14:30:03 systemd[1]: tor@tor.service: control process exited, >> code=exited status=1 >> Aug 6 14:30:03 systemd[1]: Failed to start Anonymizing overlay >> network for TCP (instance tor). >> Aug 6 14:30:03 systemd[1]: Unit tor@tor.service entered failed state. >> Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.109 [notice] Tor v0.2.8.6 >> (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, >> OpenSSL 1.0.1t and Zlib$ >> Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.110 [notice] Tor can't help >> you if you use it wrong! Learn how to be safe at >> https://www.torproject.org/download/downl$ >> Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.112 [notice] Read >> configuration file "/usr/share/tor/tor-service-defaults-torrc". >> Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.114 [notice] Read >> configuration file "/etc/tor/torrc". >> Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.116 [notice] Tor v0.2.8.6 >> (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, >> OpenSSL 1.0.1t and Zlib$ >> Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.117 [notice] Tor can't help >> you if you use it wrong! Learn how to be safe at >>
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
The error message "Ungültiger Anwender „_tor-tor“" appears several times in your log, while there are no error messages about user "_tor-tor2". Does the first user exist? Best regards, Alexander --- PGP Key: https://dietrich.cx/pgp | 0x52FA4EE1722D54EB On 2016-08-06 14:56, pa011 wrote: Thank you Michael for your hint - corrected that, but still having that problem with main instance not running: Aug 6 14:30:02 systemd-sysctl[142]: Failed to write '10 # to reboot after kernel panic' to '/proc/sys/kernel/panic': Invalid argument Aug 6 14:30:02 systemd[1]: systemd-sysctl.service: main process exited, code=exited, status=1/FAILURE Aug 6 14:30:02 systemd[1]: Failed to start Apply Kernel Variables. Aug 6 14:30:02 systemd[1]: Unit systemd-sysctl.service entered failed state. Aug 6 14:30:02 kbd[135]: Setting console screen modes. Aug 6 14:30:02 kbd[135]: setterm: $TERM ist nicht festgelegt. Aug 6 14:30:02 keyboard-setup[158]: Setting preliminary keymap...done. Aug 6 14:30:02 netfilter-persistent[277]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start Aug 6 14:30:02 netfilter-persistent[277]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start Aug 6 14:30:02 console-setup[220]: Setting up console font and keymap...done. Aug 6 14:30:02 networking[297]: Configuring network interfaces...done. Aug 6 14:30:02 rpcbind[399]: Starting rpcbind daemon Aug 6 14:30:02 rpc.statd[416]: Version 1.2.8 starting Aug 6 14:30:02 sm-notify[417]: Version 1.2.8 starting Aug 6 14:30:02 nfs-common[411]: Starting NFS common utilities: statd idmapd. Aug 6 14:30:02 atd[433]: Cannot change to /var/spool/cron/atjobs: No such file or directory Aug 6 14:30:02 install[431]: /usr/bin/install: Ungültiger Anwender „_tor-tor“ Aug 6 14:30:02 sysstat[445]: Starting the system activity data collector: sadc.Aug 6 14:30:02 systemd[1]: tor@tor.service: control process exited, code=exited status=1 Aug 6 14:30:02 systemd[1]: Failed to start Anonymizing overlay network for TCP (instance tor). Aug 6 14:30:02 systemd[1]: Unit tor@tor.service entered failed state. Aug 6 14:30:02 systemd[1]: atd.service: main process exited, code=exited, status=1/FAILURE Aug 6 14:30:02 systemd[1]: Unit atd.service entered failed state. Aug 6 14:30:02 sed[481]: DataDirectory /var/lib/tor-instances/tor2 Aug 6 14:30:02 sed[481]: PidFile /var/run/tor-instances/tor2/tor.pid Aug 6 14:30:02 sed[481]: RunAsDaemon 0 Aug 6 14:30:02 sed[481]: User _tor-tor2 Aug 6 14:30:02 sed[481]: SyslogIdentityTag tor2 Aug 6 14:30:02 sed[481]: ControlSocket /var/run/tor-instances/tor2/control GroupWritable RelaxDirModeCheck Aug 6 14:30:02 sed[481]: SocksPort unix:/var/run/tor-instances/tor2/socks WorldWritable Aug 6 14:30:02 sed[481]: CookieAuthentication 1 Aug 6 14:30:02 sed[481]: CookieAuthFileGroupReadable 1 Aug 6 14:30:02 sed[481]: CookieAuthFile /var/run/tor-instances/tor2/control.authcookie Aug 6 14:30:02 sed[481]: Log notice syslog Aug 6 14:30:03 acpid: starting up with netlink and the input layer Aug 6 14:30:03 acpid: 1 rule loaded Aug 6 14:30:03 acpid: waiting for events: event logging is off Aug 6 14:30:03 install[491]: /usr/bin/install: Ungültiger Anwender „_tor-tor“ Aug 6 14:30:03 systemd[1]: tor@tor.service: control process exited, code=exited status=1 Aug 6 14:30:03 systemd[1]: Failed to start Anonymizing overlay network for TCP (instance tor). Aug 6 14:30:03 systemd[1]: Unit tor@tor.service entered failed state. Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.109 [notice] Tor v0.2.8.6 (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1t and Zlib$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.110 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/downl$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.112 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc". Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.114 [notice] Read configuration file "/etc/tor/torrc". Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.116 [notice] Tor v0.2.8.6 (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1t and Zlib$ Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.117 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/downl$ Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.117 [notice] Read configuration file "/var/run/tor-instances/tor2.defaults". Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.118 [notice] Read configuration file "/etc/tor/instances/tor2/torrc". Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.120 [notice] Based on detected system memory, MaxMemInQueues is set to 370 MB. You can override this by setting MaxMem$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.120 [notice] Based on detected system memory, MaxMemInQueues is set to 370 MB. You can override this by setting MaxMem$ Aug 6
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
Thank you Michael for your hint - corrected that, but still having that problem with main instance not running: Aug 6 14:30:02 systemd-sysctl[142]: Failed to write '10 # to reboot after kernel panic' to '/proc/sys/kernel/panic': Invalid argument Aug 6 14:30:02 systemd[1]: systemd-sysctl.service: main process exited, code=exited, status=1/FAILURE Aug 6 14:30:02 systemd[1]: Failed to start Apply Kernel Variables. Aug 6 14:30:02 systemd[1]: Unit systemd-sysctl.service entered failed state. Aug 6 14:30:02 kbd[135]: Setting console screen modes. Aug 6 14:30:02 kbd[135]: setterm: $TERM ist nicht festgelegt. Aug 6 14:30:02 keyboard-setup[158]: Setting preliminary keymap...done. Aug 6 14:30:02 netfilter-persistent[277]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start Aug 6 14:30:02 netfilter-persistent[277]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start Aug 6 14:30:02 console-setup[220]: Setting up console font and keymap...done. Aug 6 14:30:02 networking[297]: Configuring network interfaces...done. Aug 6 14:30:02 rpcbind[399]: Starting rpcbind daemon Aug 6 14:30:02 rpc.statd[416]: Version 1.2.8 starting Aug 6 14:30:02 sm-notify[417]: Version 1.2.8 starting Aug 6 14:30:02 nfs-common[411]: Starting NFS common utilities: statd idmapd. Aug 6 14:30:02 atd[433]: Cannot change to /var/spool/cron/atjobs: No such file or directory Aug 6 14:30:02 install[431]: /usr/bin/install: Ungültiger Anwender „_tor-tor“ Aug 6 14:30:02 sysstat[445]: Starting the system activity data collector: sadc.Aug 6 14:30:02 systemd[1]: tor@tor.service: control process exited, code=exited status=1 Aug 6 14:30:02 systemd[1]: Failed to start Anonymizing overlay network for TCP (instance tor). Aug 6 14:30:02 systemd[1]: Unit tor@tor.service entered failed state. Aug 6 14:30:02 systemd[1]: atd.service: main process exited, code=exited, status=1/FAILURE Aug 6 14:30:02 systemd[1]: Unit atd.service entered failed state. Aug 6 14:30:02 sed[481]: DataDirectory /var/lib/tor-instances/tor2 Aug 6 14:30:02 sed[481]: PidFile /var/run/tor-instances/tor2/tor.pid Aug 6 14:30:02 sed[481]: RunAsDaemon 0 Aug 6 14:30:02 sed[481]: User _tor-tor2 Aug 6 14:30:02 sed[481]: SyslogIdentityTag tor2 Aug 6 14:30:02 sed[481]: ControlSocket /var/run/tor-instances/tor2/control GroupWritable RelaxDirModeCheck Aug 6 14:30:02 sed[481]: SocksPort unix:/var/run/tor-instances/tor2/socks WorldWritable Aug 6 14:30:02 sed[481]: CookieAuthentication 1 Aug 6 14:30:02 sed[481]: CookieAuthFileGroupReadable 1 Aug 6 14:30:02 sed[481]: CookieAuthFile /var/run/tor-instances/tor2/control.authcookie Aug 6 14:30:02 sed[481]: Log notice syslog Aug 6 14:30:03 acpid: starting up with netlink and the input layer Aug 6 14:30:03 acpid: 1 rule loaded Aug 6 14:30:03 acpid: waiting for events: event logging is off Aug 6 14:30:03 install[491]: /usr/bin/install: Ungültiger Anwender „_tor-tor“ Aug 6 14:30:03 systemd[1]: tor@tor.service: control process exited, code=exited status=1 Aug 6 14:30:03 systemd[1]: Failed to start Anonymizing overlay network for TCP (instance tor). Aug 6 14:30:03 systemd[1]: Unit tor@tor.service entered failed state. Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.109 [notice] Tor v0.2.8.6 (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1t and Zlib$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.110 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/downl$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.112 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc". Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.114 [notice] Read configuration file "/etc/tor/torrc". Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.116 [notice] Tor v0.2.8.6 (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1t and Zlib$ Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.117 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/downl$ Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.117 [notice] Read configuration file "/var/run/tor-instances/tor2.defaults". Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.118 [notice] Read configuration file "/etc/tor/instances/tor2/torrc". Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.120 [notice] Based on detected system memory, MaxMemInQueues is set to 370 MB. You can override this by setting MaxMem$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.120 [notice] Based on detected system memory, MaxMemInQueues is set to 370 MB. You can override this by setting MaxMem$ Aug 6 14:30:03 tor[482]: Aug 06 14:30:03.122 [notice] Not disabling debugger attaching for unprivileged users. Aug 6 14:30:03 tor[482]: Configuration was valid Aug 6 14:30:03 tor[489]: Aug 06 14:30:03.126 [notice] Not disabling debugger attaching for unprivileged users. Aug
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
Hi Paul, You have applied a wrong ExitPolicy entry somewhere in your torrc for the default instance. You wrote "ExitPolicy reject x.x.x.x/80" though most probably you wanted to block the port 80 on a specific address, so you have to provide "ExitPolicy reject x.x.x.x:80" instead, with a colon, not a slash. The slash is there to block a specific address *range*. You can read more about subnets and the calculation for a bitmask here: https://en.wikipedia.org/wiki/Subnetwork Best, Michael On 2016-08-06 at 13:30, pa011 wrote: > I am inexperienced an have probably the same problem after upgrading to > 0.2.8.6. > > Even after reboot my second instance Tor-tor2 is running while the default > service is exiting - syslog looks like this: > > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.744 [notice] Tor v0.2.8.6 > (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, OpenSSL > 1.0.1t and Zlib$ > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.745 [notice] Tor can't help you if > you use it wrong! Learn how to be safe at > https://www.torproject.org/download/downl$ > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.745 [notice] Read configuration > file "/usr/share/tor/tor-service-defaults-torrc". > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.745 [notice] Read configuration > file "/etc/tor/torrc". > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.747 [notice] Based on detected > system memory, MaxMemInQueues is set to 370 MB. You can override this by > setting MaxMem$ > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.751 [warn] Bad number of mask bits > (80) on address range; rejecting. > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.751 [warn] Couldn't parse line > "x.x.x.x/80". Dropping > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.751 [warn] Malformed policy > 'reject x.x.x.x/80'. Discarding entire policy list. > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.752 [warn] Failed to > parse/validate config: Error in ExitPolicy entry. > Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.752 [err] Reading config > failed--see warnings above. > Aug 6 12:11:33 systemd[1]: tor@default.service: control process exited, > code=exited status=1 > Aug 6 12:11:33 systemd[1]: Failed to start Anonymizing overlay network for > TCP. > Aug 6 12:11:33 systemd[1]: Unit tor@default.service entered failed state. > Aug 6 12:11:33 systemd[1]: tor@default.service start request repeated too > quickly, refusing to start. > Aug 6 12:11:33 systemd[1]: Failed to start Anonymizing overlay network for > TCP. > Aug 6 12:11:33 systemd[1]: Unit tor@default.service entered failed state. > Aug 6 12:11:38 Tor-tor2[492]: Bootstrapped 80%: Connecting to the Tor > network > Aug 6 12:11:38 Tor-tor2[492]: Signaled readiness to systemd > Aug 6 12:11:38 Tor-tor2[492]: Opening Control listener on > /var/run/tor-instances/tor2/control > Aug 6 12:11:38 Tor-tor2[492]: Self-testing indicates your ORPort is > reachable from the outside. Excellent. > Aug 6 12:11:39 Tor-tor2[492]: Bootstrapped 85%: Finishing handshake with > first hop > Aug 6 12:11:39 Tor-tor2[492]: Bootstrapped 90%: Establishing a Tor circuit > Aug 6 12:11:40 Tor-tor2[492]: Tor has successfully opened a circuit. Looks > like client functionality is working. > Aug 6 12:11:40 Tor-tor2[492]: Bootstrapped 100%: Done > > > Could somebody please give me a detailed hint what to do please? > > Thanks > Paul > > > Am 05.08.2016 um 20:27 schrieb tor relay: >>> So there is no way to disable the default instance using systemctl after >>> all? >> >> To answer my own question: >> systemctl mask tor@default >> disables the default instance for real. >> >> ..but I'm still curious why tor@default is a static unit (without [Install] >> section) >> https://bbs.archlinux.org/viewtopic.php?id=147964 >> ___ >> tor-relays mailing list >> tor-relays@lists.torproject.org >> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays >> > ___ > tor-relays mailing list > tor-relays@lists.torproject.org > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays > signature.asc Description: OpenPGP digital signature ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Re: [tor-relays] experiences with debian tor 0.2.8.6 package from deb.torproject.org
I am inexperienced an have probably the same problem after upgrading to 0.2.8.6. Even after reboot my second instance Tor-tor2 is running while the default service is exiting - syslog looks like this: Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.744 [notice] Tor v0.2.8.6 (git-b88847615faea7c8) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1t and Zlib$ Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.745 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/downl$ Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.745 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc". Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.745 [notice] Read configuration file "/etc/tor/torrc". Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.747 [notice] Based on detected system memory, MaxMemInQueues is set to 370 MB. You can override this by setting MaxMem$ Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.751 [warn] Bad number of mask bits (80) on address range; rejecting. Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.751 [warn] Couldn't parse line "x.x.x.x/80". Dropping Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.751 [warn] Malformed policy 'reject x.x.x.x/80'. Discarding entire policy list. Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.752 [warn] Failed to parse/validate config: Error in ExitPolicy entry. Aug 6 12:11:33 tor[542]: Aug 06 12:11:33.752 [err] Reading config failed--see warnings above. Aug 6 12:11:33 systemd[1]: tor@default.service: control process exited, code=exited status=1 Aug 6 12:11:33 systemd[1]: Failed to start Anonymizing overlay network for TCP. Aug 6 12:11:33 systemd[1]: Unit tor@default.service entered failed state. Aug 6 12:11:33 systemd[1]: tor@default.service start request repeated too quickly, refusing to start. Aug 6 12:11:33 systemd[1]: Failed to start Anonymizing overlay network for TCP. Aug 6 12:11:33 systemd[1]: Unit tor@default.service entered failed state. Aug 6 12:11:38 Tor-tor2[492]: Bootstrapped 80%: Connecting to the Tor network Aug 6 12:11:38 Tor-tor2[492]: Signaled readiness to systemd Aug 6 12:11:38 Tor-tor2[492]: Opening Control listener on /var/run/tor-instances/tor2/control Aug 6 12:11:38 Tor-tor2[492]: Self-testing indicates your ORPort is reachable from the outside. Excellent. Aug 6 12:11:39 Tor-tor2[492]: Bootstrapped 85%: Finishing handshake with first hop Aug 6 12:11:39 Tor-tor2[492]: Bootstrapped 90%: Establishing a Tor circuit Aug 6 12:11:40 Tor-tor2[492]: Tor has successfully opened a circuit. Looks like client functionality is working. Aug 6 12:11:40 Tor-tor2[492]: Bootstrapped 100%: Done Could somebody please give me a detailed hint what to do please? Thanks Paul Am 05.08.2016 um 20:27 schrieb tor relay: >> So there is no way to disable the default instance using systemctl after all? > > To answer my own question: > systemctl mask tor@default > disables the default instance for real. > > ..but I'm still curious why tor@default is a static unit (without [Install] > section) > https://bbs.archlinux.org/viewtopic.php?id=147964 > ___ > tor-relays mailing list > tor-relays@lists.torproject.org > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays > ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
[tor-relays] minor typos in tor-instance-create
https://gitweb.torproject.org/debian/tor.git/tree/debian/tor-instance-create#n89 is: systemctl tor@$name start should be: systemctl start tor@$name mailto:tor@$name https://gitweb.torproject.org/debian/tor.git/tree/debian/tor-instance-create.8.txt#n18 brdige -> bridge ___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays