Tuesday, May 22, 2018

ORA-27211: Failed to load Media Management Library – EMC Networker – Oracle RMAN

Error : 

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on t1 channel at 07/27/2015 15:33:28
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 2


Cause:
The Oracle library file was not linked correctly.  The soft link name should be use specific to the operating system type. In current server the softlink was created with name of library that must be used with IBM-AIX but the server operating system is Solaris 11.
Solution:
To take oracle backup on EMC networker bakcup solution we have to Install the Oracle networker module and link the library with Oracle home library file with correct operating system library name.
Correct Library :
lrwxrwxrwx   1 oracle   dba           21 Jul 28 08:43 libobk.so -> /usr/lib/libnsrora.so

oracle@sa01cdb05:/oradb/oracle/app/oracle/product/12.1.0/dbhome_1/lib$
It should be configured to libobk.so as the EMC Networker documentation. The below table list provide the correct soft links that should be used with EMC Networked Media management module.
To create link use command:
$ cd $ORACLE_HOME/lib

$ ln -s /usr/lib/libnsrora.so libobk.so
After linking of correct oracle library backup script should run successful without any issues.
To check the correct library name specific to OS please refer official http://finland.emc.com/collateral/TechnicalDocument/docu50647.pdf