NetWorker NMM SQL Server 원격 에이전트 등록 실패 - nsrnmsqlra -i

Podsumowanie: NetWorker NMM SQL Server 원격 에이전트가 SQL Server 등록에 등록되지 않습니다. 오류: 인증을 위해 파이프라는 클라이언트 측을 열 수 없습니다.

Ten artykuł dotyczy Ten artykuł nie dotyczy Ten artykuł nie jest powiązany z żadnym konkretnym produktem. Nie wszystkie wersje produktu zostały zidentyfikowane w tym artykule.

Objawy

NetWorker NMM SQL Server 원격 에이전트가 등록되지 않습니다. NMM이 SQL Server에 설치된 경우 NetWorker에 원격 에이전트를 자동으로 등록해야 합니다.
이 명령 사용
nsrnmsqlra -i 
 


이 오류가 오류로 등록되지 않습니다.  인증을 위해 파이프라는 클라이언트 측을 열 수 없습니다.

원인은 Windows(SMB) 서버 메시지 블록 프로토콜과 관련이 있습니다.

Przyczyna

Microsoft Windows 운영 체제는 인증에 명명된 파이프를 사용하고 파일, 프린터 및 공유에 액세스합니다.

명명된 파이프는 SMB(Server Message Block)를 기본 전송 프로토콜로 사용합니다.   

SMB가 비활성화되면 명명된 파이프를 사용해야 하는 인증으로 인해 NMM 원격 에이전트가 실패합니다.

엔지니어링 근본 원인 정의:
Named Pipe uses the SMB protocol. Please find reference link.

[[MS-WPO]: Named Pipes | Microsoft Learn|https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wpo/4de75e21-36fd-440a-859b-75accc74487c]

This is windows requirement.
 
During authentication process, Server will create the named pipe file in the client and open the named pipe to get the RPCSEC_GSS 
credentials. But when SMB protocol is disabled,  server fails to get the details from the client.




참고

1. Microsoft Windows 서버에는 기본적으로 SMB1 기능이 설치되어 있습니다. 

2. Windows 2019 서버부터 SMB1은 기본적으로 설치되지 않습니다.
따라서 SMB1이 설치되지 않은 동시에 SMB를 비활성화하면 원격 에이전트가 실패합니다.

예제  
POWERSHELL

//*  THIS  SHOWS  
//  SMB1  is disabled (not installed)  
//  SMB2  is enabled
//  RESULT ----  remote agent works 


PS  
Get-SmbServerConfiguration |select enablesm*

EnableSMB1Protocol EnableSMB2Protocol
------------------ ------------------
             False               True

//*  THIS  SHOWS  
//  SMB1  is disabled (not installed)  
//  SMB2  is disabled  (in Powershell)
//  RESULT ----  remote agent fails



PS 
Set-SmbServerConfiguration -EnableSMB2Protocol $False

Confirm
Are you sure you want to perform this action?
Performing operation 'Modify' on Target 'SMB Server Configuration'.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):

PS
   Get-SmbServerConfiguration |select enablesm*

EnableSMB1Protocol EnableSMB2Protocol
------------------ ------------------
             False              False


결과-
 
nsrnmsqlra -D5 -i 2> deb5ra.txt
The remote agent resource with the same values already exists.

--
02/21/23 20:54:22.013511 Auth methods not set, using default
02/21/23 20:54:22.016510 RPC Authentication: Client failed to obtain RPCSEC_GSS credentials: Cannot open client side named pipe for authentication: The specified network name is no longer available. (Win32 error 0x40).

02/21/23 20:54:22.016510 Could not get a session key for GSS authentication.  Perhaps this authentication method is not allowed/supported by both the local and remote remote machines.
02/21/23 20:54:22.016510 Falling back to use the older protocol which does not support pipe impersonation. Perhaps were are talking to an older auth server.
02/21/23 20:54:22.017511 Auth methods not set, using default


02/21/23 20:54:26.575461 Auth methods not set, using default
02/21/23 20:54:26.576462 RPC Authentication: Client failed to obtain RPCSEC_GSS credentials: Cannot open client side named pipe for authentication: The specified network name is no longer available. (Win32 error 0x40).

02/21/23 20:54:26.576462 Could not get a session key for GSS authentication.  Perhaps this authentication method is not allowed/supported by both the local and remote remote machines.
02/21/23 20:54:26.576462 Falling back to use the older protocol which does not support pipe impersonation. Perhaps were are talking to an older auth server.
02/21/23 20:54:26.576462 Auth methods not set, using default
02/21/23 20:54:26.592460 lg_getnameinfo(): Found the entry in getnameinfo_cache ...
                 backup type: SQL Server;
                    features: Configuration, NMM;
                        name: SQL Server;
             product version: 19.7.0.54;
     remote agent executable: nsrnmsqlra;
remote agent protocol version: 1;
                        type: NSR remote agent;
02/21/23 20:54:26.595460 Received unkown message
02/21/23 20:54:26.595460 Failed to build reply object list for Unknown message
02/21/23 20:54:26.595460 Remote Agent Ending*********


Rozwiązanie

SMB2 프로토콜

POWERSHELL 활성화

 

 Set-SmbServerConfiguration -EnableSMB2Protocol $true




이 작업을 수행하시겠습니까?
타겟 'SMB 서버 구성'에서 'Modify' 작업을 수행합니다.
[Y] Yes [A] Yes to all [N] No [L] No to all [S] Suspend [?] 도움말(기본값은 "Y"):

 

 

 Get-SmbServerConfiguration |select enablesm*

EnableSMB1Protocol EnableSMB2Protocol
------------------ ------------------
             False               True

RESULT

nsrnmsqlra -D5 -i 2> deb5okra.txt
The remote agent resource with the same values already exists.

---------- DEB5OKRA.TXT

02/21/23 21:00:53.406661 lg_getnameinfo(): Successfully added entry into getnameinfo_cache ...
02/21/23 21:00:53.407661 lgto_auth for `nsrexec' succeeded
02/21/23 21:00:53.407661 Auth methods not set, using default
02/21/23 21:00:53.407661 Auth methods not set, using default
02/21/23 21:00:53.407661 Auth methods not set, using default
02/21/23 21:00:53.424661 lg_getnameinfo(): Found the entry in getnameinfo_cache ...
                 backup type: SQL Server;
                    features: Configuration, NMM;
                        name: SQL Server;
             product version: 19.7.0.54;
     remote agent executable: nsrnmsqlra;
remote agent protocol version: 1;
                        type: NSR remote agent;
Właściwości artykułu
Numer artykułu: 000209922
Typ artykułu: Solution
Ostatnia modyfikacja: 17 mar 2026
Wersja:  5
Znajdź odpowiedzi na swoje pytania u innych użytkowników produktów Dell
Usługi pomocy technicznej
Sprawdź, czy Twoje urządzenie jest objęte usługą pomocy technicznej.