Skip to main content
Topic: Torrc not Valid (Read 1544 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Torrc not Valid

Hai all,

I installed tor and tor-openrc. Then (as root) modified torrc located in /etc/tor  and executed /etc/init.d/tor start. This shows:
Code: [Select]
tor               | * Tor configuration (/etc/tor/torrc) is not valid.
tor               | * Example is in /etc/tor/torrc.sample
tor               | * ERROR: tor failed to start

As root I ran sudo -u tor tor --verify-config which returned:
Code: [Select]
Oct 04 19:49:39.234 [notice] Tor 0.3.4.8 (git-da95b91355248ad8) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.5.Oct 04 19:49:39.235 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Oct 04 19:49:39.235 [notice] Read configuration file "/etc/tor/torrc".
Configuration was valid

Can anyone help? Thanks.
The sig to end all sigs.

Re: Torrc not Valid

Reply #1
Tor is working fine here. Whatever you changed in /etc/tor/torrc must be in error.

Re: Torrc not Valid

Reply #2
Tor is very sensitive to rights and ownership, so maybe by editing you changed something.
I'd do a total removal and reinstallation.