NetWorker: dbgコマンドが「一時ファイル '/nsr/tmp/lgdbg.tmp を開くことができません」で失敗します

Summary: rootとしてログインしていないと、dbgコマンドが「一時ファイル '/nsr/tmp/lgdbg.tmp' を開くことができません」というエラーで失敗します。su [Substitute User]またはsudo [Super User Do]を使用してコマンドを実行します。

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

特定された問題

dbgcommand rootとしてログインしていないと失敗します。

Cannot open temporary file '/nsr/tmp/lgdbg.tmp'.

エラーメッセージ

エラー メッセージは、 dbgcommand 一時ファイルを開くことができません。

[USERNAME@HOSTNAME logs]$ dbgcommand -n nsrsnmd Debug=1
Process ID List : 2454232
Processing PID:2454232
Cannot open temporary file '/nsr/tmp/lgdbg.tmp'.

Cause

問題の根本原因

この問題の根本原因は、 dbgcommand rootユーザーとして実行しないと失敗します。

これは、 dbgcommand 一時ファイルにアクセスしようとしています '/nsr/tmp/lgdbg.tmp'は、root以外のユーザー名で実行すると開くことができません。

具体的条件

この問題は、 dbgcommand root権限のないユーザー名から実行されます。

関連するエラー メッセージ

エラーメッセージ「Cannot open temporary file '/nsr/tmp/lgdbg.tmp「」は、問題の根本原因を示す重要な指標です。
また、ユーザーがsudoを使用してコマンドを実行しようとすると、 sudo リスト

$ sudo dbgcommand -n nsrsnmd Debug=1

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for DELLEMC:
DELLEMC is not in the sudoers file.  This incident will be reported.

Resolution

この問題を解決するには、次のコマンドを実行します。 dbgcommand 昇格された権限で、 su または sudo に指定します。

$ whoami
$ su -
Password: 
# dbgcommand -n nsrsnmd Debug=1

または、ユーザーがsudo'ersリストに載っている場合、ユーザーは sudo コマンドを実行して dbgcommandの詳細を確認してください。

$ sudo dbgcommand -n nsrsnmd Debug=1
注:ユーザーがsudoersファイルに含まれていない場合は、ユーザーにエラー メッセージが表示され、インシデントが報告されます。

解決策の確認

dbgcommand 昇格された権限で、コマンドの出力を確認して、問題が解決されたことを確認します。また、デーモン ログを nsr_render_log メッセージ「nsrsnmd SYSTEM notice Changing Debug level from 0 to 1

Additional Information

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000331479
Article Type: Solution
Last Modified: 25 مايو 2026
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.