Video Screencast Help

Restore failied with EC25 (cannot connect on socket ),

Created: 02 Jan 2013 • Updated: 20 Mar 2013 | 4 comments
This issue has been solved. See solution.

Hi,

 

We have an issue, where restore is failing for a windows client , though backups complete fine.

 

The error log is as follows:

 

Jan 3, 2013 5:26:33 AM - connecting
Jan 3, 2013 5:26:35 AM - Warning bptm (pid=10864) failure logging message to client asprd222 in log /usr/openv/netbackup/logs/user_ops/mm087w/logs/jbp-08905357170971900337000000025-HOaizr.log:  client hostname could not be found (48)
Jan 3, 2013 5:26:36 AM - Error bpbrm (pid=2432) bpcd on asprd222 exited with status 48: client hostname could not be found
Jan 3, 2013 5:26:37 AM - Error bpbrm (pid=2432) cannot put rename file on gaalpa1dsilfsa1-ebr.aldc.att.com
Jan 3, 2013 5:26:36 AM - requesting resource DA0876
Jan 3, 2013 5:26:38 AM - granted resource  DA0876
Jan 3, 2013 5:26:38 AM - granted resource  A100_F10_S3_D111
Jan 3, 2013 5:50:27 AM - Warning bprd (pid=432) Restore must be resumed prior to first image expiration on Thu Jan 03 19:01:01 2013
Jan 3, 2013 5:50:28 AM - end Restore; elapsed time 0:24:13
cannot connect on socket  (25)

telnet is not working when we try it from master server, although its pingable.

Please assist.

 

Regards

Samrat Chowdhury

 

Comments 4 CommentsJump to latest comment

captain jack sparrow's picture

Ensure name lookup is working fine and is allowed for NBU communication (allow ports in between master/media and target client)

Jan 3, 2013 5:26:35 AM - Warning bptm (pid=10864) failure logging message to client asprd222 in log /usr/openv/netbackup/logs/user_ops/mm087w/logs/jbp-08905357170971900337000000025-HOaizr.log:  client hostname could not be found (48)
Jan 3, 2013 5:26:36 AM - Error bpbrm (pid=2432) bpcd on asprd222 exited with status 48: client hostname could not be found

Verify Hostname (update host files for restore)

Create No.restrictions touch file under/netbackup/db/config/altnames

(altnames directory may need to be created, if does not exist)

 

Let us know how it goes

 Cheers !!!

CJS

 

SOLUTION
Manjunath Rajanna's picture

try to use this command bpclntcmd & nslookup check communication is happening between master to client & vice versa
e.g.
bpclntcmd -hn (client or master hostname)
bpclntcmd -self
bpclntcmd -ip (client or master ip address)
nslookup (client or master hostname) TWICE
nslookup (client or master ip address) TWICE

If the no communication is happening then add the client entry in bp.conf on master server and also check in the client host file master server entry is added.

Marianne's picture

status 48: client hostname could not be found

Please share all of the following:

Master server hostname
Media server hostname
Source client hostname (client name in backup policy)
Destination client hostname (client name specified in restore selection)

Provide output of:

From media server:
ping <destination-client-name>
bptestbpcd -client <destination-client-name> -verbose -debug

It seems that you are using a mix of shortname and FQDN.
Best to be consistent to prevent issues like this.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Dan@NB's picture

mantu2a,

Since the restore logs shows "client hostname could not be found (48)", Please check the following:

1. Client asprd222 entry(proper: with both shortname and FQDN) in hosts file of master and media server(if any)
2. Connectivity between the client and master exists.
3. Go to backup, archive & restore > file > NetBackup Client properties and ensure correct hostname is provided which is same as configured at NetBackup master
4. Go to backup, archive & restore > file > Specify Netbackup machines and policy types... and ensure correct master server is listed in drop down menu for "server to use for backup and restore". Also click on "edit server List" and ensure all entries of master and media server exists. I prefer to add FQDN, IP and shortnames of master and media servers in the list. It helps sometimes.

Hope this helps.

+ Dan