Problem
In the NetBackup activity monitor, the 'State Details' column reads "Lack of connectivity detected between media server and master server".
There can be errors opening the NetBackup Administration Console, with the error message 'Unable to read configuration: cannot connect on socket (25)'.
Backup jobs can also fail with status 25.
If run when the problem is being exhibited, the output of 'netstat -an' can show many nbsl sockets in 'Close_Wait' state.
Error Message
waiting for resources - Reason: Lack of connectivity detected between media server and master server
Cause
Insufficient network sockets.
Solution
In the NetBackup Administration Console...
- Navigate to NetBackup Management > Host properties > Master Servers,
- Open Properties for Master Server.
- Select Port Ranges
- Change Server Port Windows values, from the defaults of 1025 to 5000, to 1025 to 32768.
- Click OK.
It will be necessary to restart NetBackup on the master/primary server.
Note: To set & check these values via command line, run the commands per the examples below...
Unix/Linux Example:cd /usr/openv/netbackup/bin/admincmd
bgetconfig | grep SERVER_PORT_WINDOW
Output: SERVER_PORT_WINDOW = 1025 5000
echo SERVER_PORT_WINDOW = 1025 32768 | nbsetconfig
nbgetconfig | grep SERVER_PORT_WINDOW
Output: SERVER_PORT_WINDOW = 1025 32768
Windows Example:cd "\Program Files\Veritas\NetBackup\bin\admincmd"
bgetconfig | findstr SERVER_PORT_WINDOW
Output: SERVER_PORT_WINDOW = 1025 5000
echo SERVER_PORT_WINDOW = 1025 32768 | nbsetconfig
nbgetconfig | findstr SERVER_PORT_WINDOW
Output: SERVER_PORT_WINDOW = 1025 32768