tor startet nicht

Started by manilg, 2015/06/28, 16:38:12

Previous topic - Next topic

manilg

Hi,

bei mir funktioniert tor seit einer Zeit nicht:

/etc/init.d/tor start
[....] Starting tor (via systemctl): tor.serviceJob for tor.service failed because the control process exited with error code. See "systemctl status tor.service" and "journalctl -xe" for details.
failed!
root@charon:/home/manfred# journalctl -xe


journalctl -xe
...
Unit tor.service has begun starting up.
Jun 28 16:30:57 charon tor[18297]: Jun 28 16:30:57.934 [notice] Tor v0.2.6.9 (git-145b2587d1269af4) running on Linux with Libevent 2.0.21-stab$
Jun 28 16:30:57 charon tor[18297]: Jun 28 16:30:57.934 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.to$
Jun 28 16:30:57 charon tor[18297]: Jun 28 16:30:57.934 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Jun 28 16:30:57 charon tor[18297]: Jun 28 16:30:57.934 [notice] Read configuration file "/etc/tor/torrc".
Jun 28 16:30:57 charon tor[18297]: Configuration was valid
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.094 [notice] Tor v0.2.6.9 (git-145b2587d1269af4) running on Linux with Libevent 2.0.21-stab$
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.094 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.to$
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.094 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.094 [notice] Read configuration file "/etc/tor/torrc".
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.095 [notice] Opening Socks listener on 127.0.0.1:9050
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.096 [notice] Opening Control listener on /var/run/tor/control
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.000 [warn] Couldn't open file for 'Log notice file /var/log/tor/log': No such file or direc$
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.000 [notice] Closing partially-constructed Socks listener on 127.0.0.1:9050
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.000 [notice] Closing partially-constructed Control listener on /var/run/tor/control:0
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.000 [warn] Failed to parse/validate config: Failed to init Log options. See logs for detail$
Jun 28 16:30:58 charon tor[18301]: Jun 28 16:30:58.000 [err] Reading config failed--see warnings above.
Jun 28 16:30:58 charon systemd[1]: ^[[1;39mtor.service: Main process exited, code=exited, status=255/n/a
Jun 28 16:30:58 charon systemd[1]: Failed to start Anonymizing overlay network for TCP.
-- Subject: Unit tor.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit tor.service has failed.
--
-- The result is failed.
Jun 28 16:30:58 charon systemd[1]: ^[[1;39mtor.service: Unit entered failed state.
Jun 28 16:30:58 charon systemd[1]: ^[[1;39mtor.service: Failed with result 'exit-code'.
Jun 28 16:30:58 charon systemd[1]: tor.service: Service hold-off time over, scheduling restart.
Jun 28 16:30:58 charon systemd[1]: ^[[1;39mtor.service: Start request repeated too quickly.
Jun 28 16:30:58 charon systemd[1]: Failed to start Anonymizing overlay network for TCP.
-- Subject: Unit tor.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit tor.service has failed.
--
-- The result is failed.
Jun 28 16:30:58 charon systemd[1]: ^[[1;39mtor.service: Unit entered failed state.
Jun 28 16:30:58 charon systemd[1]: ^[[1;39mtor.service: Failed with result 'start-limit'.



Ich bin hier nur Bahnhofsversteher..

manilg

Geier0815

Moin manilg,

ich vermute das Du die Datei /var/log/tor/log nicht (mehr) auf deinem System hast, deswegen die Konfig nicht richtig durchlaufen wird und deshalb der Dienst nicht startet.
Die Datei könntest Du zwar per Hand anlegen aber da kann ich dir nicht sagen welchen Owner die haben muß oder ob die normalerweise automatisch angelegt wird. Von daher entweder warten bis jemand mit mehr Ahnung antwortet oder einfach probieren ob manuelles Anlegen schon hilft.
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

manilg

Hi Geier0815,

das manuelle Anlegen der Datei hilft in Prinzip schon; aber der Ordner tor "überlebt" ein reboot nicht..

manilg