NetWorker: Impossibile creare la connessione con 'portmapper'

Summary: I backup dal client NetWorker Linux hanno talvolta esito negativo a causa di un errore di comunicazione tra il server NetWorker e il client, sebbene non vi siano restrizioni di rete tra il client e il server. NetWorker si basa sul protocollo TCP/IP per la comunicazione tra il client e il server e la modifica di alcuni parametri del kernel TCP sul server o sul client può influire sulle funzionalità di NetWorker. ...

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

Il client NetWorker Linux non riesce a eseguire il backup con il seguente errore segnalato nei log delle azioni di backup:
nsrjobd RPC error RPC client handle: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
nsrjobd RPC error Unable to create the connection with 'portmapper' to host 'client_name' with address 'ip_address' at port number 7938.  
nsrjobd RPC critical Check whether the firewall is blocking the client ports on the host 'ip_address'.
I seguenti parametri TCP sono stati abilitati sul sistema nel file /etc/sysctl.conf .
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle  = 1
Errori dal server NetWorker /nsr/logs/daemon.raw:
nsrjobd RPC error Unable to create the connection with 'portmapper' to host 'client_name' with address 'ip_address' at port number 7938.
nsrexecd RPC error Unable to create the connection with 'portmapper' to host 'client_name' with address 'ip_address' at port number 7938. 
nsrd RPC error Unable to create the connection with 'portmapper' to host 'client_name' with address 'ip_address' at port number 7938.
nsrexecd RPC critical Check whether the firewall is blocking the client ports on the host 'ip_address'. 
nsrjobd RPC critical Check whether the firewall is blocking the client ports on the host 'ip_address'.
Errori da altri comandi:
  • Dal server, il comando nsrrpcinfo -p client_name non sempre funziona.
    • La prima esecuzione del comando comunica correttamente con il client, ma la seconda esecuzione immediata ha esito negativo.
    • Il comando non riesce a comunicare con il client se il backup viene eseguito dal client.
  • Il seguente comando dal server al client non sempre funziona:
  • La prima esecuzione del comando comunica correttamente con il client, ma la seconda esecuzione immediata ha esito negativo.
nsrports -t client_name -p 7938

Cause

L'abilitazione dei seguenti parametri del kernel Linux causa un errore di comunicazione in NetWorker:
net.ipv4.tcp_tw_reuse 
net.ipv4.tcp_tw_recycle 
I parametri influenzano la gestione del kernel per i socket in TIME_WAIT Stato.

Resolution

Nel file /etc/sysctl.conf, impostare i seguenti parametri.  
net.ipv4.tcp_tw_reuse = 0
net.ipv4.tcp_tw_recycle = 0
Dove 1 (abilitato) e 0 (disabilitato)
 
Nota: L'abilitazione di questi parametri TCP non è consigliata ed è consigliata consultare il fornitore Linux prima di abilitarli. 

Additional Information

Il campo tcp_tw_reuse consente all host di riutilizzare la connessione TCP in TIME_WAIT stato per una nuova connessione, senza attendere che la presa venga chiusa.

Il parametro tcp_tw_recycle Consente il riciclo rapido delle prese in TIME_WAIT Stato. Per impostazione predefinita, il kernel Linux attende due minuti (2 x MSL) prima di chiudere i socket in TIME_WAIT stato se non viene chiuso dall'applicazione.

Affected Products

NetWorker

Products

NetWorker
Article Properties
Article Number: 000081987
Article Type: Solution
Last Modified: 24 May 2024
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.