Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3636 - missing /etc/tor/data crash tor service : TOR do not start because of a missing required folder #8672

Closed
openwrt-bot opened this issue Feb 21, 2021 · 1 comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release

Comments

@openwrt-bot
Copy link

erdoukki:

In All 19.07.x versions :

Feb 21 09:51:19 LPM procd: Instance tor::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
Feb 21 09:52:49 LPM procd: Instance tor::instance1 s in a crash loop 6 crashes, 0 seconds since last crash

root@LPM:~# tor
Feb 21 10:51:51.580 [notice] Tor 0.4.4.5 running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1j, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Feb 21 10:51:51.580 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Feb 21 10:51:51.580 [notice] Read configuration file "/etc/tor/torrc".
Feb 21 10:51:51.591 [warn] Skipping obsolete configuration option "AllowInvalidNodes".
Feb 21 10:51:51.592 [warn] Skipping obsolete configuration option "TransListenAddress".
Feb 21 10:51:51.592 [warn] Skipping obsolete configuration option "DNSListenAddress".
Feb 21 10:51:51.593 [warn] Skipping obsolete configuration option "SocksListenAddress".
Feb 21 10:51:51.608 [notice] You configured a non-loopback address '10.4.2.1:9050' for SocksPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Feb 21 10:51:51.609 [notice] Opening Socks listener on 127.0.0.1:9050
Feb 21 10:51:51.610 [notice] Opened Socks listener on 127.0.0.1:9050
Feb 21 10:51:51.611 [notice] Opening Socks listener on 10.4.2.1:9050
Feb 21 10:51:51.611 [notice] Opened Socks listener on 10.4.2.1:9050
Feb 21 10:51:51.612 [notice] Opening DNS listener on 127.0.0.1:9053
Feb 21 10:51:51.612 [notice] Opened DNS listener on 127.0.0.1:9053
Feb 21 10:51:51.612 [notice] Opening Transparent pf/netfilter listener on 127.0.0.1:9040
Feb 21 10:51:51.612 [notice] Opened Transparent pf/netfilter listener on 127.0.0.1:9040
Feb 21 10:51:51.613 [warn] /etc/tor/data/ is not owned by this user (tor, 52) but by root (0). Perhaps you are running Tor as the wrong user?
Feb 21 10:51:51.613 [notice] Closing partially-constructed Socks listener on 127.0.0.1:9050
Feb 21 10:51:51.613 [notice] Closing partially-constructed Socks listener on 10.4.2.1:9050
Feb 21 10:51:51.614 [notice] Closing partially-constructed DNS listener on 127.0.0.1:9053
Feb 21 10:51:51.614 [notice] Closing partially-constructed Transparent pf/netfilter listener on 127.0.0.1:9040
Feb 21 10:51:51.615 [warn] Failed to parse/validate config: Couldn't create private data directory "/etc/tor/data/"
Feb 21 10:51:51.616 [err] Reading config failed--see warnings above.

FIXME :
mkdir /etc/tor/data/
chown tor:tor /etc/tor/data/
service tor restart
--> OK

@aparcar aparcar added release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release core packages pull request/issue for core (in-tree) packages labels Feb 22, 2022
@ynezz
Copy link
Member

ynezz commented May 24, 2022

OpenWrt 19.07 release is EOL, try to reproduce the issue with latest supported release and feel free to ask for issue reopening if the problem is still present, thanks.

@ynezz ynezz closed this as completed May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release
Projects
None yet
Development

No branches or pull requests

3 participants