SurfRider66
16 years agoLevel 2
NetBackup 6.5.3 Oracle rman restore on alternate client failure
Hi:
I'm trying to configure an alternate client to restore a rman database, previously I installed the client and create the link requiered to use with oracle /usr/openv/netbackup/bin/libobk, but when i tried to get the restore I received the following message on rman.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/07/2009 20:06:46
RMAN-03015: error occurred in stored script Memory Script
RMAN-10035: exception raised in RPC:
ORA-27191: sbtinfo2 returned error
Additional information: 2
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5882
RMAN-10031: RPC Error: ORA-27191 occurred during call to DBMS_BACKUP_RESTORE.VALIDATIONVALIDATE
I turned on the dbclient logs
Veritas NetBackup for Oracle - Release 6.5 (2007072323)
System name: HP-UX
Node name: client09
Release: B.11.11
Version: U
Machine: 9000/800
User name: oracle
Client Host: client01-nbu
20:05:34.773 [25642] <2> int_LogSystemInfo: INF - leaving
20:05:34.773 [25642] <2> int_GetMMInfo: INF - entering
20:05:34.774 [25642] <2> int_GetMMInfo: INF - Initialized Signal
20:05:34.774 [25642] <2> int_GetMMInfo: INF - support for Proxy Copy enabled
20:05:34.774 [25642] <2> int_GetMMInfo: INF - leaving
20:05:34.774 [25642] <2> int_InitializeSbtFunctionPointers: INF - entering
20:05:34.774 [25642] <2> int_InitializeSbtFunctionPointers: INF - leaving
20:05:34.774 [25642] <2> sbtinit: INF - leaving
20:05:34.774 [25642] <2> sbtinit2: INF - entering
20:05:34.774 [25642] <2> sbtinit2: INF - leaving
20:06:45.642 [25640] <2> sbtinfo2: INF - entering
20:06:45.642 [25640] <2> sbtinfo2: INF - requesting image info for <FULL_RMAN2_DBASE_14823_1.bus>
20:06:45.642 [25640] <2> int_GetImageInfo2: INF - entering
20:06:45.642 [25640] <2> int_GetImageInfo2: INF - Image Information for file <FULL_RMAN2_DBASE_14823_1.bus> :
20:06:45.642 [25640] <2> xbsa_ValidateFeatureId: INF - entering
20:06:45.642 [25640] <4> VxBSAValidateFeatureId: INF - entering VxBSAValidateFeatureId
20:06:45.642 [25640] <4> bsa_checkFeatureId: INF - entering bsa_checkFeatureId
20:06:45.642 [25640] <4> VxBSAGetEnv: INF - entering GetEnv - BSA_SERVICE_HOST
20:06:45.642 [25640] <4> VxBSAGetEnv: INF - returning - client07
20:06:45.645 [25640] <2> vauth_get_user_name: vauth_comm.c.695: user_name: oracle
20:06:45.646 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.338: h_errno: 0 0x00000000
20:06:45.646 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.339: gethostbyname failed: client07
20:06:45.646 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.352: Function failed: 6 0x00000006
20:06:45.646 [25640] <2> vnet_init_connect_rec: vnet_vnetd.c.3642: vnet_cached_gethostbyname failed: 6 0x00000006
20:06:45.646 [25640] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3518: vnet_init_connect_rec failed: 6 0x00000006
20:06:45.646 [25640] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 6
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07 automatically: 48
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07
20:06:45.647 [25640] <2> bprd_connect: errno = 13 - Permission denied
20:06:45.647 [25640] <2> bprd_get_features: bprd_connect(client07) failed, cannot connect on socket (25)
20:06:45.647 [25640] <8> bsa_checkFeatureId: bprd_get_features() failed, retrying
20:06:45.647 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.285: host in failed cache: client07
20:06:45.647 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.286: Function failed: 5 0x00000005
20:06:45.647 [25640] <2> vnet_init_connect_rec: vnet_vnetd.c.3642: vnet_cached_gethostbyname failed: 5 0x00000005
20:06:45.647 [25640] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3518: vnet_init_connect_rec failed: 5 0x00000005
20:06:45.647 [25640] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 5
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07 automatically: 11
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07
20:06:45.648 [25640] <2> bprd_connect: errno = 13 - Permission denied
20:06:45.648 [25640] <2> bprd_get_features: bprd_connect(client07) failed, cannot connect on socket (25)
20:06:45.648 [25640] <8> bsa_checkFeatureId: bprd_get_features() failed, retrying
20:06:45.648 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.285: host in failed cache: client07
20:06:45.648 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.286: Function failed: 5 0x00000005
20:06:45.648 [25640] <2> vnet_init_connect_rec: vnet_vnetd.c.3642: vnet_cached_gethostbyname failed: 5 0x00000005
20:06:45.648 [25640] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3518: vnet_init_connect_rec failed: 5 0x00000005
20:06:45.648 [25640] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 5
20:06:45.648 [25640] <2> bprd_connect: Cannot connect to server client07 automatically: 11
20:06:45.648 [25640] <2> bprd_connect: Cannot connect to server client07
20:06:45.648 [25640] <2> bprd_connect: errno = 13 - Permission denied
20:06:45.648 [25640] <2> bprd_get_features: bprd_connect(client07) failed, cannot connect on socket (25)
20:06:45.648 [25640] <16> bsa_checkFeatureId: unable to check if feature <36> is licensed
20:06:45.648 [25640] <16> bsa_checkFeatureId: Server exit status = 25: cannot connect on socket
20:06:45.648 [25640] <2> xbsa_ProcessError: INF - entering
20:06:45.648 [25640] <2> xbsa_ProcessError: INF - leaving
20:06:45.648 [25640] <16> xbsa_ValidateFeatureId: ERR - VxBSAValidateFeatureId: Failed with error:
Server Status: cannot connect on socket
20:06:45.648 [25640] <2> xbsa_ValidateFeatureId: INF - leaving (3)
20:06:45.649 [25640] <16> int_GetImageInfo2: ERR - Failed to get info on backup file, FULL_RMAN2_DBASE_14823_1.bus.
20:06:45.649 [25640] <2> int_GetImageInfo2: INF - leaving
20:06:45.649 [25640] <2> int_DumpSbtInfo: INF - entering
20:06:45.649 [25640] <2> int_DumpSbtInfo: INF - leaving
20:06:45.649 [25640] <2> sbtinfo2: INF - leaving
20:06:45.649 [25640] <2> sbterror: INF - entering
20:06:45.649 [25640] <2> sbterror: INF - Error=7501: Failed to get info on backup file, FULL_RMAN2_DBASE_14823_1.bus.
.
20:06:45.649 [25640] <2> sbterror: INF - leaving
20:06:47.131 [25640] <2> sbtend: INF - entering
20:06:47.131 [25640] <2> int_FreeDuplexStrings: INF - entering
20:06:47.131 [25640] <2> int_FreeDuplexStrings: INF - leaving
20:06:47.132 [25640] <2> int_CleanupInfo2: INF - entering
20:06:47.132 [25640] <2> int_CleanupInfo2: INF - leaving
20:06:47.132 [25640] <4> sbtend: INF - --- END of SESSION ---
20:06:47.132 [25640] <2> sbtend: INF - leaving
20:06:47.132 [25640] <4> VxBSATerminate: INF - entering VxBSATerminate.
20:06:47.132 [25640] <4> VxBSAGetEnv: INF - entering GetEnv - NBBSA_DEBUGFD
20:06:47.132 [25640] <4> VxBSAGetEnv: INF - returning -
20:06:47.142 [25641] <2> sbtend: INF - entering
20:06:47.142 [25641] <2> int_FreeDuplexStrings: INF - entering
20:06:47.142 [25641] <2> int_FreeDuplexStrings: INF - leaving
20:06:47.142 [25641] <4> sbtend: INF - --- END of SESSION ---
20:06:47.142 [25641] <2> sbtend: INF - leaving
20:06:47.142 [25641] <4> VxBSATerminate: INF - entering VxBSATerminate.
20:06:47.142 [25641] <4> VxBSAGetEnv: INF - entering GetEnv - NBBSA_DEBUGFD
20:06:47.142 [25641] <4> VxBSAGetEnv: INF - returning -
20:06:47.148 [25642] <2> sbtend: INF - entering
20:06:47.149 [25642] <2> int_FreeDuplexStrings: INF - entering
20:06:47.149 [25642] <2> int_FreeDuplexStrings: INF - leaving
20:06:47.149 [25642] <4> sbtend: INF - --- END of SESSION ---
20:06:47.149 [25642] <2> sbtend: INF - leaving
20:06:47.149 [25642] <4> VxBSATerminate: INF - entering VxBSATerminate.
20:06:47.149 [25642] <4> VxBSAGetEnv: INF - entering GetEnv - NBBSA_DEBUGFD
20:06:47.149 [25642] <4> VxBSAGetEnv: INF - returning -
I think the error is
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07 automatically: 11
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07
20:06:45.648 [25640] <2> bprd_connect: errno = 13 - Permission denied
20:06:45.648 [25640] <2> bprd_get_features: bprd_connect(client07) failed, cannot connect on socket (25)
20:06:45.648 [25640] <8> bsa_checkFeatureId: bprd_get_features() failed, retrying
20:06:45.648 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.285: host in failed cache: client07
20:06:45.648 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.286: Function failed: 5 0x00000005
20:06:45.648 [25640] <2> vnet_init_connect_rec: vnet_vnetd.c.3642: vnet_cached_gethostbyname failed: 5 0x00000005
20:06:45.648 [25640] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3518: vnet_init_connect_rec failed: 5 0x00000005
20:06:45.648 [25640] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 5
I was looking for information about this error but I couldn't found it, somebody can help me to solve this, I'm really newbie with nbu. Thank you very much
I'm trying to configure an alternate client to restore a rman database, previously I installed the client and create the link requiered to use with oracle /usr/openv/netbackup/bin/libobk, but when i tried to get the restore I received the following message on rman.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/07/2009 20:06:46
RMAN-03015: error occurred in stored script Memory Script
RMAN-10035: exception raised in RPC:
ORA-27191: sbtinfo2 returned error
Additional information: 2
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5882
RMAN-10031: RPC Error: ORA-27191 occurred during call to DBMS_BACKUP_RESTORE.VALIDATIONVALIDATE
I turned on the dbclient logs
Veritas NetBackup for Oracle - Release 6.5 (2007072323)
System name: HP-UX
Node name: client09
Release: B.11.11
Version: U
Machine: 9000/800
User name: oracle
Client Host: client01-nbu
20:05:34.773 [25642] <2> int_LogSystemInfo: INF - leaving
20:05:34.773 [25642] <2> int_GetMMInfo: INF - entering
20:05:34.774 [25642] <2> int_GetMMInfo: INF - Initialized Signal
20:05:34.774 [25642] <2> int_GetMMInfo: INF - support for Proxy Copy enabled
20:05:34.774 [25642] <2> int_GetMMInfo: INF - leaving
20:05:34.774 [25642] <2> int_InitializeSbtFunctionPointers: INF - entering
20:05:34.774 [25642] <2> int_InitializeSbtFunctionPointers: INF - leaving
20:05:34.774 [25642] <2> sbtinit: INF - leaving
20:05:34.774 [25642] <2> sbtinit2: INF - entering
20:05:34.774 [25642] <2> sbtinit2: INF - leaving
20:06:45.642 [25640] <2> sbtinfo2: INF - entering
20:06:45.642 [25640] <2> sbtinfo2: INF - requesting image info for <FULL_RMAN2_DBASE_14823_1.bus>
20:06:45.642 [25640] <2> int_GetImageInfo2: INF - entering
20:06:45.642 [25640] <2> int_GetImageInfo2: INF - Image Information for file <FULL_RMAN2_DBASE_14823_1.bus> :
20:06:45.642 [25640] <2> xbsa_ValidateFeatureId: INF - entering
20:06:45.642 [25640] <4> VxBSAValidateFeatureId: INF - entering VxBSAValidateFeatureId
20:06:45.642 [25640] <4> bsa_checkFeatureId: INF - entering bsa_checkFeatureId
20:06:45.642 [25640] <4> VxBSAGetEnv: INF - entering GetEnv - BSA_SERVICE_HOST
20:06:45.642 [25640] <4> VxBSAGetEnv: INF - returning - client07
20:06:45.645 [25640] <2> vauth_get_user_name: vauth_comm.c.695: user_name: oracle
20:06:45.646 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.338: h_errno: 0 0x00000000
20:06:45.646 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.339: gethostbyname failed: client07
20:06:45.646 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.352: Function failed: 6 0x00000006
20:06:45.646 [25640] <2> vnet_init_connect_rec: vnet_vnetd.c.3642: vnet_cached_gethostbyname failed: 6 0x00000006
20:06:45.646 [25640] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3518: vnet_init_connect_rec failed: 6 0x00000006
20:06:45.646 [25640] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 6
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07 automatically: 48
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07
20:06:45.647 [25640] <2> bprd_connect: errno = 13 - Permission denied
20:06:45.647 [25640] <2> bprd_get_features: bprd_connect(client07) failed, cannot connect on socket (25)
20:06:45.647 [25640] <8> bsa_checkFeatureId: bprd_get_features() failed, retrying
20:06:45.647 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.285: host in failed cache: client07
20:06:45.647 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.286: Function failed: 5 0x00000005
20:06:45.647 [25640] <2> vnet_init_connect_rec: vnet_vnetd.c.3642: vnet_cached_gethostbyname failed: 5 0x00000005
20:06:45.647 [25640] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3518: vnet_init_connect_rec failed: 5 0x00000005
20:06:45.647 [25640] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 5
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07 automatically: 11
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07
20:06:45.648 [25640] <2> bprd_connect: errno = 13 - Permission denied
20:06:45.648 [25640] <2> bprd_get_features: bprd_connect(client07) failed, cannot connect on socket (25)
20:06:45.648 [25640] <8> bsa_checkFeatureId: bprd_get_features() failed, retrying
20:06:45.648 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.285: host in failed cache: client07
20:06:45.648 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.286: Function failed: 5 0x00000005
20:06:45.648 [25640] <2> vnet_init_connect_rec: vnet_vnetd.c.3642: vnet_cached_gethostbyname failed: 5 0x00000005
20:06:45.648 [25640] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3518: vnet_init_connect_rec failed: 5 0x00000005
20:06:45.648 [25640] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 5
20:06:45.648 [25640] <2> bprd_connect: Cannot connect to server client07 automatically: 11
20:06:45.648 [25640] <2> bprd_connect: Cannot connect to server client07
20:06:45.648 [25640] <2> bprd_connect: errno = 13 - Permission denied
20:06:45.648 [25640] <2> bprd_get_features: bprd_connect(client07) failed, cannot connect on socket (25)
20:06:45.648 [25640] <16> bsa_checkFeatureId: unable to check if feature <36> is licensed
20:06:45.648 [25640] <16> bsa_checkFeatureId: Server exit status = 25: cannot connect on socket
20:06:45.648 [25640] <2> xbsa_ProcessError: INF - entering
20:06:45.648 [25640] <2> xbsa_ProcessError: INF - leaving
20:06:45.648 [25640] <16> xbsa_ValidateFeatureId: ERR - VxBSAValidateFeatureId: Failed with error:
Server Status: cannot connect on socket
20:06:45.648 [25640] <2> xbsa_ValidateFeatureId: INF - leaving (3)
20:06:45.649 [25640] <16> int_GetImageInfo2: ERR - Failed to get info on backup file, FULL_RMAN2_DBASE_14823_1.bus.
20:06:45.649 [25640] <2> int_GetImageInfo2: INF - leaving
20:06:45.649 [25640] <2> int_DumpSbtInfo: INF - entering
20:06:45.649 [25640] <2> int_DumpSbtInfo: INF - leaving
20:06:45.649 [25640] <2> sbtinfo2: INF - leaving
20:06:45.649 [25640] <2> sbterror: INF - entering
20:06:45.649 [25640] <2> sbterror: INF - Error=7501: Failed to get info on backup file, FULL_RMAN2_DBASE_14823_1.bus.
.
20:06:45.649 [25640] <2> sbterror: INF - leaving
20:06:47.131 [25640] <2> sbtend: INF - entering
20:06:47.131 [25640] <2> int_FreeDuplexStrings: INF - entering
20:06:47.131 [25640] <2> int_FreeDuplexStrings: INF - leaving
20:06:47.132 [25640] <2> int_CleanupInfo2: INF - entering
20:06:47.132 [25640] <2> int_CleanupInfo2: INF - leaving
20:06:47.132 [25640] <4> sbtend: INF - --- END of SESSION ---
20:06:47.132 [25640] <2> sbtend: INF - leaving
20:06:47.132 [25640] <4> VxBSATerminate: INF - entering VxBSATerminate.
20:06:47.132 [25640] <4> VxBSAGetEnv: INF - entering GetEnv - NBBSA_DEBUGFD
20:06:47.132 [25640] <4> VxBSAGetEnv: INF - returning -
20:06:47.142 [25641] <2> sbtend: INF - entering
20:06:47.142 [25641] <2> int_FreeDuplexStrings: INF - entering
20:06:47.142 [25641] <2> int_FreeDuplexStrings: INF - leaving
20:06:47.142 [25641] <4> sbtend: INF - --- END of SESSION ---
20:06:47.142 [25641] <2> sbtend: INF - leaving
20:06:47.142 [25641] <4> VxBSATerminate: INF - entering VxBSATerminate.
20:06:47.142 [25641] <4> VxBSAGetEnv: INF - entering GetEnv - NBBSA_DEBUGFD
20:06:47.142 [25641] <4> VxBSAGetEnv: INF - returning -
20:06:47.148 [25642] <2> sbtend: INF - entering
20:06:47.149 [25642] <2> int_FreeDuplexStrings: INF - entering
20:06:47.149 [25642] <2> int_FreeDuplexStrings: INF - leaving
20:06:47.149 [25642] <4> sbtend: INF - --- END of SESSION ---
20:06:47.149 [25642] <2> sbtend: INF - leaving
20:06:47.149 [25642] <4> VxBSATerminate: INF - entering VxBSATerminate.
20:06:47.149 [25642] <4> VxBSAGetEnv: INF - entering GetEnv - NBBSA_DEBUGFD
20:06:47.149 [25642] <4> VxBSAGetEnv: INF - returning -
I think the error is
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07 automatically: 11
20:06:45.647 [25640] <2> bprd_connect: Cannot connect to server client07
20:06:45.648 [25640] <2> bprd_connect: errno = 13 - Permission denied
20:06:45.648 [25640] <2> bprd_get_features: bprd_connect(client07) failed, cannot connect on socket (25)
20:06:45.648 [25640] <8> bsa_checkFeatureId: bprd_get_features() failed, retrying
20:06:45.648 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.285: host in failed cache: client07
20:06:45.648 [25640] <2> vnet_cached_gethostbyname: vnet_hosts.c.286: Function failed: 5 0x00000005
20:06:45.648 [25640] <2> vnet_init_connect_rec: vnet_vnetd.c.3642: vnet_cached_gethostbyname failed: 5 0x00000005
20:06:45.648 [25640] <2> vnet_connect_to_service_or_vnetd: vnet_vnetd.c.3518: vnet_init_connect_rec failed: 5 0x00000005
20:06:45.648 [25640] <2> nb_connect_to_vnetd_or_legacy: comm.c.2030: vnet_connect_to_vnetd_or_service failed: 5
I was looking for information about this error but I couldn't found it, somebody can help me to solve this, I'm really newbie with nbu. Thank you very much
I don't like No.Restriction as it give all users access to all data. Instead go to :
/usr/openv/netbackup/db/altname (if altnames doesn't exist - create it)
Create a file named the host you are restoring to. Contents of the file is the host you are restoring from.
E.g: Source whisky, destination tango
touch tango
echo "whisky" >> tango
Go to the client you are restoring to and verify access with bplist.
on Tango:
# bplist -C whisky -t 4 -l -R -s 06/01/2009 /
Yes "-C" mus be the host you are restoring from !
PS: If you have multiple actives NIC, make sure you set "REQUIRED_INTERFACE = "IP to use" in bp.conf