Vzdálený agent NetWorker NMM SQL Server se nedaří registrovat – nsrnmsqlra -i
Zusammenfassung: Vzdálený agent NetWorker NMM SQL Server se neregistruje v registru systému SQL Server Chyba: Při ověřování nelze otevřít pojmenovanou "pipe" na straně klienta:
Dieser Artikel gilt für
Dieser Artikel gilt nicht für
Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden.
In diesem Artikel werden nicht alle Produktversionen aufgeführt.
Symptome
Vzdálený agent NetWorker NMM SQL Server se neregistruje. Když je nástroj NMM nainstalován na serveru SQL, musí se (automaticky) zaregistrovat vzdálený agent pomocí nástroje NetWorker.
Použití tohoto příkazu
Použití tohoto příkazu
nsrnmsqlra -i
Nedaří se to registrovat s chybou: Nelze otevřít pojmenovanou na klientské straně kanál pro ověřování:
Příčina souvisí s protokolem SMB (Windows Server Message Block).
Ursache
Operační systém Microsoft Windows používá pojmenované kanály k ověřování a přístupu k souborům, tiskárnám a sdíleným složkám.
Pojmenované kanály používají jako základní přenosový protokol server Message Block (SMB).
Je-li protokol SMB zakázán, vzdálený agent NMM selže z důvodu ověřování, které vyžaduje použití pojmenovaných kanálů.
Hlavní příčina technického oddělení je definována jako:
POZNÁMKY
1. Servery Microsoft Windows mají ve výchozím nastavení nainstalovanou funkci SMB1.
2. Počínaje systémem Windows 2019 Server není protokol SMB1 ve výchozím nastavení nainstalován.
Pokud je tedy protokol SMB také zakázán ve stejnou dobu, kdy není nainstalován protokol SMB1, vzdálený agent selže.
PŘÍKLAD
VÝSLEDEK-
Pojmenované kanály používají jako základní přenosový protokol server Message Block (SMB).
Je-li protokol SMB zakázán, vzdálený agent NMM selže z důvodu ověřování, které vyžaduje použití pojmenovaných kanálů.
Hlavní příčina technického oddělení je definována jako:
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.
POZNÁMKY
1. Servery Microsoft Windows mají ve výchozím nastavení nainstalovanou funkci SMB1.
2. Počínaje systémem Windows 2019 Server není protokol SMB1 ve výchozím nastavení nainstalován.
Pokud je tedy protokol SMB také zakázán ve stejnou dobu, kdy není nainstalován protokol SMB1, vzdálený agent selže.
PŘÍKLAD
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
VÝSLEDEK-
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*********
Lösung
POVOLENÍ PROSTŘEDÍ POWERSHELL protokolu
SMB2
Set-SmbServerConfiguration -EnableSMB2Protocol $true
Potvrďte
, že chcete provést tuto akci?
Provedení operace "Modify" v cílové "konfiguraci serveru SMB".
[Y] Ano [A] Ano všem [N] Ne [L] Ne všem [S] Pozastavit [?] Help (výchozí hodnota je "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;
Artikeleigenschaften
Artikelnummer: 000209922
Artikeltyp: Solution
Zuletzt geändert: 20 Jän. 2026
Version: 4
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.