cancel
Showing results for 
Search instead for 
Did you mean: 

DBA gets status 25 when trying to run a command

DoubleP
Level 5

We are on veritas 8.0; our master and media servers are linux. At our company DBAs do their own restores. A DBA is getting an "EXIT STATUS 25: cannot connect on socket"

When trying to  to find a backup running the following command:

/usr/openv/netbackup/bin/bplist -C clientserver.com.com -S masterserver.com -s 03/10/14 -e 01/03/15 -t 4 -l -R / 

 

The client and master are communicating, so it isn't that type of issue. Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

Run 'bpclntcmd -pn' as a start. 
This command will use default parameters (1st Server entry and CLIENT_NAME in bp.conf)  to initiate connection request to the master server. 

Output should look something like this:

Example of successful response: Master server = master     Client server = client 
   The Command is run on client. 
   C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd -pn 
   expecting response from server master 
   client.domain.com client 10.82.108.42 1117 

   where: 
   "expecting response from server master" returns the master server entry from the server list on the client. 
   "client.domain.com client 10.82.108.42 1117" is the connection name (peername) returned by the master server. The master server obtained this name through   "gethostbyaddr()" 
   Client is client name configured in the NetBackup class client list. 
   In this example, 10.82.108.42 is the IP address of the client connection and 1117 is the port number of the connection on the client. 

https://www.veritas.com/support/en_US/article.100016075

View solution in original post

4 REPLIES 4

Amol_Nair
Level 6
Employee
Are you able to run the same bplist command from the client machine as the root user.?

Marianne
Level 6
Partner    VIP    Accredited Certified
-C is only necessary for redirected list/restore and -S only needed if master server is not the same as 1st bp.conf entry.

What happens when these options are omitted?
What does bpclntcmd -pn show?
Can you telnet from the client to master server hostname on port 1556?

I'll have the DBA try without the -C and -S. Thanks

Marianne
Level 6
Partner    VIP    Accredited Certified

Run 'bpclntcmd -pn' as a start. 
This command will use default parameters (1st Server entry and CLIENT_NAME in bp.conf)  to initiate connection request to the master server. 

Output should look something like this:

Example of successful response: Master server = master     Client server = client 
   The Command is run on client. 
   C:\Program Files\VERITAS\NetBackup\bin>bpclntcmd -pn 
   expecting response from server master 
   client.domain.com client 10.82.108.42 1117 

   where: 
   "expecting response from server master" returns the master server entry from the server list on the client. 
   "client.domain.com client 10.82.108.42 1117" is the connection name (peername) returned by the master server. The master server obtained this name through   "gethostbyaddr()" 
   Client is client name configured in the NetBackup class client list. 
   In this example, 10.82.108.42 is the IP address of the client connection and 1117 is the port number of the connection on the client. 

https://www.veritas.com/support/en_US/article.100016075