Unable to restore a oracle control file in RHEL
Hi Guys,
Its me again :(
I´m trying to restore a oracle database according to this technote HOWTO63971 but when I run this command:
run {
allocate channel c1 type 'sbt_tape';
send 'NB_ORA_SERV=nbu_master, NB_ORA_CLIENT=ora_clnt';
restore controlfile to '/tmp/cntrl.bak' from 'cntrl_624_1_770006541';
release channel c1;
}
Im trying to restore from 5230 appliance (dp_disk_ecbpprnb4)
Hi,
it looks like you haven't linked the the Oracle software with the NBU API library. Error: Failed to load Media Managemnt library.Please check the NBU Oracle Admin Guide for this.
To link your Oracle software with the NetBackup API library, use one of the following
methods:
■ Use the SBT_LIBRARY parameter in the PARMS section of the allocate channel
in the RMAN script. In the run block of the RMAN script, modify the ALLOCATE
statement so that the SBT_LIBRARY parameter points to the NetBackup API
library. For example:
ALLOCATE CHANNEL CH00 TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=
/usr/openv/netbackup/bin/libobk.so64.1';
■ Use the linking script that NetBackup provides.
■ Create the links manually.
The linking process differs depending on your hardware platform, your Oracle Server
release level, and your OS level. This topic does not address all the supported
combinations, but it specifies OS level differences.
The default location for the NetBackup API library is /usr/openv/netbackup/bin.
The name of the NetBackup API library differs depending on your platform.Regards Roland