LINUX.ORG.RU

Нода Tor на CentOS 7

 , , ,


0

1

Приветствую, есть простенький VPS c CentOS 7, решил сделать на нем торовскую ноду, предварительно обновил пакеты и поставил сам тор по инструкции отсюда

Проблема возникла на 6 шаге, при попытке стартануть ругается:

Job for tor.service failed because the control process exited with error code. See "systemctl status tor.service" and "journalctl -xe" for details.

в логах есть следующее:

systemctl status tor.service -l

 tor.service - Anonymizing overlay network for TCP
   Loaded: loaded (/usr/lib/systemd/system/tor.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Sat 2022-10-08 14:11:10 EEST; 31s ago
  Process: 13184 ExecStartPre=/usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc --verify-config (code=exited, status=1/FAILURE)

systemd[1]: tor.service: control process exited, code=exited status=1
systemd[1]: Failed to start Anonymizing overlay network for TCP.
systemd[1]: Unit tor.service entered failed state.
systemd[1]: tor.service failed.
tor.service holdoff time over, scheduling restart.
Stopped Anonymizing overlay network for TCP.
start request repeated too quickly for tor.service
Failed to start Anonymizing overlay network for TCP.
Unit tor.service entered failed state.
tor.service failed.
journalctl -xe

tor.service has begun starting up.
[notice] Tor 0.4.7.10 running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.2k-fips, Zlib 1.2.7, L
[notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.or
[notice] Read configuration file "/usr/share/tor/defaults-torrc".
[notice] Read configuration file "/etc/tor/torrc".
[notice] Based on detected system memory, MaxMemInQueues is set to 743 MB. You can override this by se
[warn] No permission to set capabilities pre-setuid: Permission denied
[warn] Failed to parse/validate config: Problem with User value. See logs for details.
[err] Reading config failed--see warnings above.
tor.service: control process exited, code=exited status=1
Failed to start Anonymizing overlay network for TCP.
-- Subject: Unit tor.service has failed

пробовал искать, находил разные решения, но пока ничего не помогло, проблема вероятно связана с правами, первоначально была ошибка с тем что нет юзера tor, добавил его следующими командами

adduser tor
usermod –aG wheel tor
★★★