cancel
Showing results for 
Search instead for 
Did you mean: 

backup failed with error code 21

wannawin
Level 6

Hi Team,

 

Master Server is AIX and NBU Is 7.1.0.4

Media server is AIX and  NBU is 7.1.0.1

Client is AIX and NBU is 6.5

Backup is failing with error code 21.

 

Detailed Logs:

 

06/25/2014 21:16:22 - Info bpbrm (pid=6750288) chidrxga01dm is the host to backup data from
06/25/2014 21:16:23 - Info bpbrm (pid=6750288) starting bptm
06/25/2014 21:16:23 - Info bpbrm (pid=6750288) Started media manager using bpcd successfully
06/25/2014 21:16:24 - Info nbjm (pid=5701736) starting backup job (jobid=4152556) for client chidrxga01dm, policy CERT_PROD_UNIX_clients, schedule DLY_DINC
06/25/2014 21:16:24 - Info nbjm (pid=5701736) requesting STANDARD_RESOURCE resources from RB for backup job (jobid=4152556, request id:{DCDE4B6A-FC7F-11E3-8514-4219FCE70000})
06/25/2014 21:16:24 - requesting resource ictcvnb35
06/25/2014 21:16:24 - requesting resource sctclbk02.NBU_CLIENT.MAXJOBS.chidrxga01dm
06/25/2014 21:16:24 - requesting resource sctclbk02.NBU_POLICY.MAXJOBS.CERT_PROD_UNIX_clients
06/25/2014 21:16:25 - Waiting for scan drive stop Shared-4, Media server: ictcvnb35
06/25/2014 21:16:25 - granted resource  sctclbk02.NBU_CLIENT.MAXJOBS.chidrxga01dm
06/25/2014 21:16:25 - granted resource  sctclbk02.NBU_POLICY.MAXJOBS.CERT_PROD_UNIX_clients
06/25/2014 21:16:25 - granted resource  NB6782
06/25/2014 21:16:25 - granted resource  Shared-4
06/25/2014 21:16:25 - granted resource  ictcvnb35
06/25/2014 21:16:25 - estimated 53827 kbytes needed
06/25/2014 21:16:25 - Info nbjm (pid=5701736) started backup job for client chidrxga01dm, policy CERT_PROD_UNIX_clients, schedule DLY_DINC on storage unit ictcvnb35
06/25/2014 21:16:25 - started process bpbrm (pid=6750288)
06/25/2014 21:20:14 - Info bpbrm (pid=6750288) telling media manager to start backup on client
06/25/2014 21:20:14 - Info bptm (pid=13172740) using 262144 data buffer size
06/25/2014 21:20:14 - Info bptm (pid=13172740) using 32 data buffers
06/25/2014 21:20:15 - Info bptm (pid=13172740) start backup
06/25/2014 21:20:15 - Info bptm (pid=13172740) Waiting for mount of media id NB6782 (copy 1) on server ictcvnb35.
06/25/2014 21:20:15 - Info bpbrm (pid=6750288) spawning a brm child process
06/25/2014 21:20:15 - Info bpbrm (pid=6750288) child pid: 11665448
06/25/2014 21:20:16 - Info bpbrm (pid=6750288) sending bpsched msg: CONNECTING TO CLIENT FOR chidrxga01dm_1403711185
06/25/2014 21:20:18 - mounting NB6782
06/25/2014 21:20:19 - connecting
06/25/2014 21:20:56 - Info bptm (pid=13172740) media id NB6782 mounted on drive index 12, drivepath /dev/rmt23.1, drivename Shared-4, copy 1
06/25/2014 21:20:59 - mounted NB6782; mount time: 0:00:41
06/25/2014 21:20:59 - positioning NB6782 to file 89
06/25/2014 21:24:07 - Error bpbrm (pid=11665448) cannot create data socket, Error 0 (0)
06/25/2014 21:24:07 - Info bpbrm (pid=6750288) sending media manager msg: STOP BACKUP chidrxga01dm_1403711185
06/25/2014 21:24:17 - Info bpbrm (pid=6750288) media manager for backup id chidrxga01dm_1403711185 exited with status 150: termination requested by administrator
06/25/2014 21:24:19 - Info bpbrm (pid=6750288) sending media manager msg: TERMINATE
06/25/2014 21:24:20 - end writing
socket open failed  (21)

Backup is going through Media Server Only Through backup NIC  and client also have backup ip.

 

Is there a need to add client backup name --- backup ip  in /etc/hosts file of client . In client host File only client production ip is added with production name

 

$ sudo ./bptestbpcd -client chidrxga01dm -verbose -debug
12:34:03.632 [10223656] <2> bptestbpcd: VERBOSE = 0
12:34:03.633 [10223656] <2> ConnectionCache::connectAndCache: Acquiring new connection for host sctclbk, query type 223
12:34:03.636 [10223656] <2> vnet_pbxConnect: pbxConnectEx Succeeded
12:34:03.636 [10223656] <2> logconnections: BPDBM CONNECT FROM 10.103.31.8.51805 TO 204.130.33.73.1556 fd = 3
12:34:03.645 [10223656] <2> db_CLIENTsend: reset client protocol version from 0 to 7
12:34:03.675 [10223656] <2> db_end: Need to collect reply
12:34:03.675 [10223656] <2> db_freeEXDB_INFO: ?
12:34:03.683 [10223656] <2> vnet_async_connect: ../../libvlibs/vnet_connect.c.1376: 0: getsockopt SO_ERROR returned: 79 0x0000004f
12:34:03.723 [10223656] <2> vnet_vnetd_service_socket: ../../libvlibs/vnet_vnetd.c.1957: 0: VN_REQUEST_SERVICE_SOCKET: 6 0x00000006
12:34:03.723 [10223656] <2> vnet_vnetd_service_socket: ../../libvlibs/vnet_vnetd.c.1971: 0: service: bpcd
12:34:03.802 [10223656] <2> logconnections: BPCD CONNECT FROM 10.103.120.8.51807 TO 10.103.121.41.13724 fd = 3
12:34:03.803 [10223656] <2> vnet_async_connect: ../../libvlibs/vnet_connect.c.1376: 0: getsockopt SO_ERROR returned: 79 0x0000004f
12:34:03.842 [10223656] <2> do_vnetd_service: ../../libvlibs/vnet_connect.c.1675: 0: connect: VNETD CONNECT FROM 10.103.120.8.51809 TO 10.103.121.41.13724 fd = 4
12:34:03.842 [10223656] <2> vnet_vnetd_connect_forward_socket_begin: ../../libvlibs/vnet_vnetd.c.445: 0: VN_REQUEST_CONNECT_FORWARD_SOCKET: 10 0x0000000a
12:34:04.040 [10223656] <2> vnet_vnetd_connect_forward_socket_begin: ../../libvlibs/vnet_vnetd.c.462: 0: ipc_string: /tmp/vnet-22118403716816801574000000000-cL3oya
1 1 1
10.103.120.8:51807 -> 10.103.121.41:13724
10.103.120.8:51809 -> 10.103.121.41:13724
12:34:04.649 [10223656] <2> bpcr_get_peername_rqst: Server peername length = 9
12:37:54.980 [10223656] <2> bpcr_get_hostname_rqst: Server hostname length = 12
12:37:55.248 [10223656] <2> bpcr_get_clientname_rqst: Server client name length = 12
12:37:55.458 [10223656] <2> bpcr_get_version_rqst: bpcd version: 06540000
12:37:55.668 [10223656] <2> bpcr_get_platform_rqst: Server client platform length = 9
12:37:55.878 [10223656] <2> bpcr_get_version_rqst: bpcd version: 06540000
12:37:56.088 [10223656] <2> bpcr_patch_version_rqst: theRest == > <
12:37:56.088 [10223656] <2> bpcr_get_version_rqst: bpcd version: 06540000
12:37:56.298 [10223656] <2> bpcr_patch_version_rqst: theRest == > <
12:37:56.298 [10223656] <2> bpcr_get_version_rqst: bpcd version: 06540000
PEER_NAME = ictcvnb35
HOST_NAME = chidrxga01dm
CLIENT_NAME = chidrxag01dm
VERSION = 0x06540000
PLATFORM = rs6000_51
PATCH_VERSION = 6.5.5.0
SERVER_PATCH_VERSION = -1.-1.-1.-1
MASTER_SERVER = sctclbk
EMM_SERVER = sctclbk
12:37:56.509 [10223656] <2> vnet_async_connect: ../../libvlibs/vnet_connect.c.1376: 0: getsockopt SO_ERROR returned: 79 0x0000004f
12:37:56.549 [10223656] <2> do_vnetd_service: ../../libvlibs/vnet_connect.c.1675: 0: connect: VNETD CONNECT FROM 10.103.120.8.51814 TO 10.103.121.41.13724 fd = 5
12:37:56.549 [10223656] <2> vnet_vnetd_connect_forward_socket_begin: ../../libvlibs/vnet_vnetd.c.445: 0: VN_REQUEST_CONNECT_FORWARD_SOCKET: 10 0x0000000a
12:37:56.698 [10223656] <2> vnet_vnetd_connect_forward_socket_begin: ../../libvlibs/vnet_vnetd.c.462: 0: ipc_string: /tmp/vnet-97548403717049461532000000000-KpeoMa
10.103.120.8:51814 -> 10.103.121.41:13724
<2>bptestbpcd: EXIT status = 0
12:37:56.720 [10223656] <2> bptestbpcd: EXIT status = 0
 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Yogesh9881
Level 6
Accredited

have you tried below....

Host Properties > Master server > server > Client Attributes > client > Connect Options
 
  BPCD connect back = Random port
  Ports = Non-reserved ports
  Daemon connection port = Daemon port only

View solution in original post

3 REPLIES 3

Yogesh9881
Level 6
Accredited

have you tried below....

Host Properties > Master server > server > Client Attributes > client > Connect Options
 
  BPCD connect back = Random port
  Ports = Non-reserved ports
  Daemon connection port = Daemon port only

SymTerry
Level 6
Employee Accredited

Hello,

Test bpcd connection between master, media servers and the client. Make sure ports 13724 and 1556 are open bidirectional to master, media servers and the client. Use bptestbpcd to do this: TECH42657

DNS is important, so make sure you have correct DNS resolution between client, media, master as well.

wannawin
Level 6

Hi Yogesh,

Backup completed after changes as you suggested.

Can you please elaborate what does it means??

Ports = Non-reserved ports
Daemon connection port = Daemon port only