FreeBSD에서 TOR를 데몬으로 시작할 수 없습니다

FreeBSD에서 TOR를 데몬으로 시작할 수 없습니다

FreeBSD 13.2에서 TOR가 서비스로 시작되지 않는 이유를 이해하려고 합니다. 시작하는 동안 표시되는 오류 메시지는 다음과 같습니다.

[notice] Tor 0.4.8.9 running on FreeBSD with Libevent 2.1.12-
stable, OpenSSL 1.1.1t-freebsd, Zlib 1.2.13, Liblzma 5.4.1, Libzstd
1.5.5 and BSD 1302001 as libc.

[notice] Tor can't help you if you use it wrong! Learn how to be
safe at [URL]https://support.torproject.org/faq/staying-anonymous
/[/URL] 

[notice] Read configuration file "/usr/local/etc/tor/torrc". 

[notice] You configured a non-loopback address '192.168.1.2:9100'
for SocksPort. This allows everybody on your local network to use 
your machine as a proxy. Make sure this is what you wanted. 

[notice] Opening Socks listener on 127.0.0.1:9050 

[notice] Opened Socks listener connection (ready) on 127.0.0.1:9050

[notice] Opening Socks listener on 192.168.1.2:9100 

[notice] Opened Socks listener connection (ready) on 
192.168.1.2:9100 

[warn] /var/db/tor is not owned by this user (_tor, 256) but by
root (0). Perhaps you are running Tor as the wrong user? 

[notice] Closing partially-constructed Socks listener connection
(ready) on 127.0.0.1:9050 

[notice] Closing partially-constructed Socks listener connection 
(ready) on 192.168.1.2:9100

[warn] Failed to parse/validate config: Couldn't create private 
data directory "/var/db/tor" 

[err] Reading config failed--see warnings above. 

/etc/rc: WARNING: failed to start tor

TOR 구성 파일은 다음과 같습니다.

SOCKSPort 9050
SOCKSPort 192.168.1.2:9100 
RunAsDaemon 1
DataDirectory /var/db/tor
Nickname me
ContactInfo me <[email protected]>
ExitRelay 0
ExitNodes {ch} StrictNodes 0

관련 정보