Tor는 /usr/bin에 있을 때 작동하지만 /usr/sbin/에는 작동하지 않습니다.

Tor는 /usr/bin에 있을 때 작동하지만 /usr/sbin/에는 작동하지 않습니다.

매우 이상한 동작이 발생합니다. 두 대의 서버가 실행 중입니다 Ubuntu 14.04. 둘 다에 Tor를 설치했습니다. Tor 에는 machine A(기본적으로) 설치되어 /usr/bin/문제 없이 실행됩니다. Tor가 machine B설치되었으며(다시 기본값) /usr/sbin/권한이 거부되었습니다.

 is not owned by this user (debian-tor, 109) but by root (0). Perhaps you are running Tor as the wrong user?

그래서 몇 가지 질문이 있습니다.

  1. machine B설치를 결정한 이유 ( 설치 프로그램 /usr/sbin/사용 )와 설치를 결정한 이유apt-getmachine A/usr/bin/
  2. 전혀 불평하지 않는 곳에 왜 machine B기부합니까 ?permission deniedmachine A

노트. 두 시스템 모두에서 다음 스크립트를 실행합니다.

sudo tor --RunAsDaemon 1 --CookieAuthentication 0 --HashedControlPassword "" --ControlPort $control_port --PidFile tor$i.pid --SocksPort $socks_port --DataDirectory data/tor$i

update-alternatives –-config tor업데이트: 두 대의 컴퓨터에서 실행한 결과는 다음과 같습니다.

이것은 여전히 ​​나에게 이해가 되지 않지만 누군가는 그것이 무엇을 의미하는지 알 수도 있습니다.

ㅏ:

update-alternatives: error: no alternatives for tor

두번째:

There is only one alternative in link group tor: /usr/bin/
Nothing to configure.
update-alternatives: warning: forcing reinstallation of alternative /usr/bin/ because link group tor is broken.
update-alternatives: warning: not replacing /usr/sbin/tor with a link.

관련 정보