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) 作為基礎傳輸通訊協定。
停用 SMB 時,NMM 遠端代理程式會因為需要使用指定管道的驗證而失敗。
工程的根本原因定義為:
注意
1.Microsoft Windows 伺服器的 SMB1 功能預設為安裝。
2.從 Windows 2019 Server 開始,SMB1 預設為未安裝。
因此,如果未安裝 SMB1 同時停用 SMB1,則遠端代理程式會失敗。
例子
結果-
指定的管道會使用伺服器訊息區塊 (SMB) 作為基礎傳輸通訊協定。
停用 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 Server 開始,SMB1 預設為未安裝。
因此,如果未安裝 SMB1 同時停用 SMB1,則遠端代理程式會失敗。
例子
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 Server Configuration」上執行「修改」作業。
[Y] 是 [A] 是,所有 [N] 否 [L] 否,所有 [S] 皆暫停 [?]說明 (預設值為「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.