Tor bridge (Failed to parse/validate config)

Hi, I am trying to run a TOR bridge on my server 2012 R2, to help circumvent censorship. I followed the TOR Project document but seems like my TOR bridge is not active. I am not able to see the “notice.log” file in c:\users%username%\AppData\Roaming\TOR folder and here is the output of the “tor.exe -f torrc” command:

Oct 19 11:01:12.029 [notice] Tor 0.4.7.10 (git-f732a91a73be3ca6) running on Wind
ows Server 2012 [or later] with Libevent 2.1.12-stable, OpenSSL 1.1.1q, Zlib 1.2
.12, Liblzma N/A, Libzstd N/A and Unknown N/A as libc.
Oct 19 11:01:12.029 [notice] Tor can't help you if you use it wrong! Learn how t
o be safe at https://support.torproject.org/faq/staying-anonymous/
Oct 19 11:01:12.075 [notice] Read configuration file "C:\Users\XXXX\AppData\Roa
ming\tor\torrc".
Oct 19 11:01:12.091 [notice] Based on detected system memory, MaxMemInQueues is
set to 1535 MB. You can override this by setting MaxMemInQueues by hand.
Oct 19 11:01:12.107 [notice] Opening Socks listener on 127.0.0.1:9050
Oct 19 11:01:12.107 [notice] Opened Socks listener connection (ready) on 127.0.0
.1:9050
Oct 19 11:01:12.107 [notice] Opening OR listener on 0.0.0.0:10500
Oct 19 11:01:12.107 [notice] Opened OR listener connection (ready) on 0.0.0.0:10
500
Oct 19 11:01:12.107 [notice] Opening OR listener on [::]:10500
Oct 19 11:01:12.107 [notice] Opened OR listener connection (ready) on [::]:10500

Oct 19 11:01:12.107 [notice] Opening Extended OR listener on 127.0.0.1:0
Oct 19 11:01:12.107 [notice] Extended OR listener listening on port 49387.
Oct 19 11:01:12.107 [notice] Opened Extended OR listener connection (ready) on 1
27.0.0.1:49387
Oct 19 11:01:12.000 [warn] Couldn't open file for 'Log notice file C:\Users\<use
r>\AppData\Roaming\tor\notice.log': Invalid argument
Oct 19 11:01:12.000 [notice] Closing partially-constructed Socks listener connec
tion (ready) on 127.0.0.1:9050
Oct 19 11:01:12.000 [notice] Closing partially-constructed OR listener connectio
n (ready) on 0.0.0.0:10500
Oct 19 11:01:12.000 [notice] Closing partially-constructed OR listener connectio
n (ready) on [::]:10500
Oct 19 11:01:12.000 [notice] Closing partially-constructed Extended OR listener
connection (ready) on 127.0.0.1:49387
Oct 19 11:01:12.000 [warn] Failed to parse/validate config: Failed to init Log o
ptions. See logs for details.
Oct 19 11:01:12.000 [err] Reading config failed--see warnings above.

Any help is appreciated.
Thanks,
Ramin

1 Like

but

Did you forgot to change <user> in path for log file?

2 Likes

Ah, that was the trick. I had to enter in some other places like GeoIP as well.
Thanks a lot!

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.