NetWorker:rootまたは管理者コマンド プロンプトとしてログに記録されている場合、nsrコマンドが失敗します。
Summary: rootとしてログに記録されている間、または管理者コマンド プロンプトからnsrコマンドを実行すると、nsrコマンドが失敗します。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
rootとしてログに記録されているとき、または管理者のコマンド プロンプトからnsrコマンドを実行すると、nsrコマンドが失敗します。
nsrlogin でログインした後の nsr コマンドは正常に動作します。
例:
nsraddadmin -H <authc server> -P 9090
134747:nsraddadmin: Bad resource file.
nsraddadmin -H <NetWorker server> -P 9090
88924:nsraddadmin: Cannot connect to resource database: Unable to set user privileges based on user token for root on <NetWorker server>: Failed to validate security token.
root> nsraddadmin -u <user@NetWorker server>
nsraddadmin: Cannot connect to resource database: Unable to set user privileges based on user token for root on <NetWorker server>: Failed to validate security token.Cause
これは、ユーザーがnsrlogoutを実行せずに以前にnsrloginを発行したことが原因で発生する可能性があります。以前の nsrlogin セッションの古いトークンは、NetWorkerサーバーの/nsr/tmp/sec/tokensに存在します。
Resolution
nsrlogoutを実行してトークンをクリアします。トークンが残っている場合は、ファイルを/nsr/tmp/sec/tokensから別のディレクトリー(/tmpなど)に移動するか、ファイルを削除します。
NetWorkerサーバー/サービスを再起動する必要はありません。
NetWorkerタスクに nsrlogin を使用した後、完了したら nsrlogout を実行します。rootとして、または管理者プロンプトからNetWorkerコマンドを実行する場合、 nsrlogin は不要です。
Affected Products
NetWorker Family, NetWorkerArticle Properties
Article Number: 000224499
Article Type: Solution
Last Modified: 10 Oct 2024
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.