Tor Relay Server gets new fingerprints upon reboots

After some googling, I realized that the default data directory is /var/lib/tor which is in RAM, hence is volatile.

Editing torrc and pointing DataDirectory to places such as /etc/tor or /mnt/sda1/tor doesn't seem to work.

Any help and guidance would be much appreciated.


1 Like

Check Tor logs for specific error messages.

Thanks for the prompt reply. In both cases tor simply won't run and the log showed "tor::instance1 s in a crash loop 6 crashes, 0 seconds since last crash"

edit, my torrc
User tor
RelayBandwidthRate 500 KBytes
RelayBandwidthBurst 1000 KBytes
PublishServerDescriptor 1
ORPort 9001
MaxMemInQueues 0
Log notice syslog
ExitRelay 0
ExitPolicy reject :
DirCache 0
DataDirectory /etc/tor/keys #with keys being a link to /mnt/sda1/tor
ContactInfo Random Person
BridgeRelay 0

1 Like

It seems you need the proper permissions/ownership:

chmod go=rX /mnt/sda1
chown -R tor:tor /mnt/sda1/tor
/etc/init.d/tor restart
1 Like

it works! thanks!

1 Like

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