Today, i am getting below error on RMAN prompt while restoring full hot backup from Netbackup.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch1 channel at 13/08/2015 16:36:02
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 8
Recovery Manager complete.
Configuration:
Oracle database Version: 11.2.0.4
OS : Sun Solaris SPARC 5.10
I tried many others way to resolve issue like
1. Relink all binaries.
2. Restarted database
3. Restarted servers
4. etc.
Afer all the stuff, i started reading document for ORacle Netbackup configuration.
Then i came to know that The Failed to load Media Management Library error occurs when libobk.so is not linked up to net backup RMAN library.
Solution:
I applied below solution to resolve this issue.
Step:
1. ls -ltr $ORACLE_HOME/libobk.so
2. if exists, then mv $ORACLE_HOME/libobk.so $ORACLE_HOME/libobk.so_bkp
3. If libobk.so does not exist, then relink binary with net backup libobk.so64.1
ln -s /usr/openv/netbackup/bin/libobk.so64.1 $ORACLE_HOME/libobk.so
My issue has been resolved by performing above steps and restored database from SBT_TAP.