Torは/ usr / binにあるときは機能しますが、/ usr / sbin /には機能しません。

Torは/ usr / binにあるときは機能しますが、/ usr / sbin /には機能しません。

非常に奇妙な動作が発生します。 2台のサーバーが稼働しています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アップデート:2台のコンピュータで実行した結果は次のとおりです。

これはまだ私には理解されていませんが、誰かがそれが何を意味するのかを知ることもできます。

ㅏ:

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.

関連情報