NetWorker: Backup fails with: Unable to create session channel with nsrexecd on host client-name to execute command 'savefs ....
Résumé: Backup fails with Unable to create session channel with nsrexecd on host client-name to execute command 'savefs -s server-name -c client-name -g
Cet article concerne
Cet article ne concerne pas
Cet article n’est associé à aucun produit spécifique.
Toutes les versions du produit ne sont pas identifiées dans cet article.
Symptômes
NetWorker client-based backup fails with:
Unable to create session channel with nsrexecd on host client-name to execute command 'savefs -s server-name -c client-name'
Cause
There is a communication issue between the server and client.
Résolution
Initial Steps:
- Check that nsrexecd is running on the client.
-
Linux: ps -ef | grep nsrexecd Windows: tasklist | findstr nsrexecd
-
- If client services are not running, start them and monitor for any service issues:
-
Linux: systemctl start networker Windows: net start nsrexecd
-
- Service startup issues can be monitored in the client's daemon.raw file:
-
Linux: /nsr/logs/daemon.raw Windows: C:\Program Files\EMC NetWorker\nsr\logs\daemon.raw
- How to use nsr_render_log: NetWorker: How to use nsr_render_log
- How to enable real-time log rendering: NetWorker: How to automatically render daemon.raw to daemon.log in real time
-
- Confirm that name resolution is working correctly from both the NetWorker server and client using nslookup. The FQDN, shortname, and IP should all return correctly.
Connectivity Troubleshooting:
- Check that nsradmin can connect from server to client and vice versa:
nsradmin -p nsrexecd -s client-nameWhere 'client-name' is the hostname of the client as defined in the NetWorker config.
- Check the port range on the server and client, with nsrports to confirm they match. The default service port range used by NetWorker is 7937-9936.
- On the NetWorker server, check which ports/processes are visible from the client:
nsrrprcinfo -p client-nameWhere 'client-name' is the hostname of the client as defined in the NetWorker config.
PS C:\Windows\system32> nsrrpcinfo -p winsrvr2k16.emclab.local
PROGRAM VERSION PROTOCOL PORT SERVICE
100000 2 tcp 7938 nsrportmapper Port Mapper
100000 2 udp 7938 nsrportmapper Port Mapper
390436 1 tcp 8655 nsrexecd GSS Authentication
390435 1 tcp 9220 nsrexecd Resource Mirror
390113 1 tcp 7937 nsrexecd Remote Execution
390440 1 tcp 9500 nsrexecd_nsrfa Remote File Access
Ports are dynamically assigned from the configured port range.
- Check if there is a software firewall running on the client, and that if there is, the port range included the NetWorker ports:
- Linux:
firewall-cmd --list-all
A typical config, with the default NetWorker ports is:
- Linux:
# firewall-cmd --list-all
public (active)
target: %%REJECT%%
icmp-block-inversion: no
interfaces: ens3
sources:
services:
ports: 7937-9936/tcp
protocols:
forward: no
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule family="ipv4" source ipset="jump-servers" service name="ssh" accept
However a misconfigured firewall config might look like:
# firewall-cmd --list-all
public (active)
target: %%REJECT%%
icmp-block-inversion: yes
interfaces: ens3
sources:
services:
ports: 7936-7996/tcp
protocols:
forward: no
masquerade: no
forward-ports:
source-ports:
icmp-blocks: echo-reply echo-request
rich rules:
rule family="ipv4" source ipset="jump-servers" service name="ssh" accept
Windows:
Open Windows Defender Firewall with Advanced Security and review the inbound and outbound rules. Check for any rules blocking or restricting the NetWorker port range (as shown with nsrports). The Local Port column displays the port range the rule is applied to.
NOTE: The operating system administrator should be engaged to review any additional operating system settings or software which could potentially block communication. If no operating system level configurations are found the communication may be blocked by a network device. The network admin should also be engaged to review any potential network configurations which may block communication.
- It is recommended to use the default port range (7937-9936) when possible. The port range can be set using the nsrports command:
nsrports -S 7937-9936
Produits concernés
NetWorker Family, NetWorkerPropriétés de l’article
Numéro d’article: 000207523
Type d’article: Solution
Dernière modification: 20 avr. 2023
Version: 4
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.