![Tor는 /usr/bin에 있을 때 작동하지만 /usr/sbin/에는 작동하지 않습니다.](https://linux55.com/image/5443/Tor%EB%8A%94%20%2Fusr%2Fbin%EC%97%90%20%EC%9E%88%EC%9D%84%20%EB%95%8C%20%EC%9E%91%EB%8F%99%ED%95%98%EC%A7%80%EB%A7%8C%20%2Fusr%2Fsbin%2F%EC%97%90%EB%8A%94%20%EC%9E%91%EB%8F%99%ED%95%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
매우 이상한 동작이 발생합니다. 두 대의 서버가 실행 중입니다 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?
그래서 몇 가지 질문이 있습니다.
machine B
설치를 결정한 이유 ( 설치 프로그램/usr/sbin/
사용 )와 설치를 결정한 이유apt-get
machine A
/usr/bin/
- 전혀 불평하지 않는 곳에 왜
machine B
기부합니까 ?permission denied
machine 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.