NetWorker:Solaris NetWorker 客户端备份失败,并显示 “无法将套接字绑定到连接端口”
Summary:
连接端口:10001-30000 允许守护程序在备份报告“无法将套接字绑定到系统上已配置端口范围内的连接端口”时在 Solaris 主机上保持连接 : 无法分配请求的地址。
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
- Solaris 主机的定时备份偶尔会报告:
61320:savefs: Cannot bind socket to connection port in configured port range on system <Client_name>: Cannot assign requested address 61320:savefs: Cannot bind socket to connection port in configured port range on system <Client_name>: Cannot assign requested address 97512:savefs: Cannot access NetWorker server '<NetWorker_server_name>': Remote system error - Cannot assign requested address savefs <Client_name>: failed.
- 客户端上的 daemon.raw 文件报告:
61320 1483533202 3 1 126 3 38646 0 <Client_name> nsrexecd SYSTEM error 79 Cannot bind socket to connection port in configured port range on system %s: %s 2 12 10 <Client_name> 24 31 Cannot assign requested address - Port is free
- 客户端上的 netstat 命令为 7937 和 7938 CLOSE_WAIT秒。
root@<Client_Name> # netstat -an | grep -i 7938 <ip_address_1>.37938 <ip_address_1>.9151 49878 0 49152 0 CLOSE_WAIT <ip_address_1>.47938 <ip_address_1>.9151 49877 0 49152 0 CLOSE_WAIT <ip_address_1>.57938 <ip_address_1>.9151 49877 0 49152 0 CLOSE_WAIT root@fmsprochk1 # netstat -an | grep -i 7937 <ip_address_1>.37937 <ip_address_1>.9151 49875 0 49152 0 CLOSE_WAIT <ip_address_1>.57937 <ip_address_1>.9151 49878 0 49152 0 CLOSE_WAIT <ip_address_1>.47937 <ip_address_1>.9151 49878 0 49152 0 CLOSE_WAIT
- 客户端上的 /etc/hosts 文件具有:
::1 localhost 127.0.0.1 localhost localhost.localdomain
- 确认方式
ipfstat -io防火墙(IP 筛选器)未运行或配置。
Cause
Solaris 主机无法使用“connection ports:0-0
Resolution
更新客户端上使用的连接端口。
-
以 root 用户身份登录客户端。
-
运行以下命令
nsrports用于将连接端口范围从默认 (0-0) 设置为传统端口范围 (10001-30000) 的命令:
nsrports -C 10001-30000 -
通过运行以下命令验证新端口设置
nsrports没有其他标记。
[root@lnx-client02]:~# nsrports Service ports: 7937-9936 Connection ports: 10001-30000
解决方法:停止客户端上的 NetWorker 守护程序,并使用 kill 结束任何剩余的守护程序,然后启动这些守护程序可使备份工作一段时间。
Affected Products
NetWorkerProducts
NetWorkerArticle Properties
Article Number: 000054868
Article Type: Solution
Last Modified: 23 Feb 2024
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.