NetWorker: dbgcommand가 "임시 파일 '/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 루트로 로그인하지 않으면 실패합니다.

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 루트 사용자로 실행하지 않으면 실패합니다.

그 이유는 dbgcommand 임시 파일에 대한 액세스 시도 '/nsr/tmp/lgdbg.tmp' 루트가 아닌 사용자 이름으로 실행할 때 열 수 없습니다.

특정 조건

이 문제는 다음과 같은 경우에 발생합니다. dbgcommand 루트 권한이 없는 사용자 이름에서 수행됩니다.

관련 오류 메시지

오류 메시지 "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 명령어와 동일한 방식으로 AUTHC를 사용합니다.

$ 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.