Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Proxy Tor does not start (Read 1917 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Proxy Tor does not start

 [notice] Read configuration file "/etc/tor/torrc".
 [notice] Opening Socks listener on  0.0.1:9050
 [notice] Opened Socks listener connection (ready) on 0.1:9050
 [warn] Error setting groups to gid 43: "Operation not permitted".
 [warn] If you set the "User" option, you must start Tor as root.
 [notice] Closing partially-constructed Socks listener connection (ready) on 0.1:9050
 [warn] Failed to parse/validate config: Problem with User value. See logs for details.
[err] Reading config failed--see warnings above.

I'm using OpenRC

Re: Proxy Tor does not start

Reply #1
I just pushed a updated version in galaxy-gremlins repo if you can test that and see if it works as it should. After enabling, without updating whole system to galaxy-gremlins you can do 'pacman -Sy tor-openrc'

Edit: May take a moment for mirrors to sync, but in my testing it seems to work w/o error.

Re: Proxy Tor does not start

Reply #2
I can not connect the Tor at all Desktop Artix Linux

I can not connect proxy in QbitTorrent too

[tor start
 [notice] Tor 0.4.5.8 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1k, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.5.0 and Glibc 2.33 as libc.
 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
 [warn] Tor was compiled with zstd 1.4.9, but is running with zstd 1.5.0. For safety, we'll avoid using advanced zstd functionality.
 [warn] Command-line option 'start' with no value. Failing.
 [err] Reading config failed--see warnings above]

Re: Proxy Tor does not start

Reply #3
tor 0.4.5.8-2 fixed problem with zstd

Re: [SOLVED] Proxy Tor does not start

Reply #4
using tor with s6/lxde image, but daemon doesn't start on boot.. messages :
Quote
[warn] /var/lib/tor is not owned by this user (root, 0) but by tor (43). Perhaps you are running Tor as the wrong user?
[warn] Failed to parse/validate config: Couldn't create private data directory "/var/lib/tor"

at the moment i'm just deleting /var/lib/tor each time (just using tor as a proxy, no HS or anything) and restart tor service.
probably related to this message as well :
Quote
[warn] You are running Tor as root. You don't need to, and you probably shouldn't.

any ideas on how to fix that?
thanks.

 

Re: [SOLVED] Proxy Tor does not start

Reply #5
You should have made a new thread since this one is already solved. Anyway that's an issue with the tor-s6 script. I just pushed an update to fix it. When you get the new tor-s6 package, delete the /var/lib/tor directory once and then after that it should work.