ORA-27211: Failed to load Media Management Library

while configuring RMAN for a new database, the following errors were thrown while running the backup:

using target database control file instead of recovery catalog

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of backup command at 10/09/2017 15:14:51

ORA-19554: error allocating device, device type: SBT_TAPE, device name:

ORA-27211: Failed to load Media Management Library

Additional information: 2

 

SOLUTION:

cd $ORACLE_HOME\lib

relink all

ln -s /usr/openv/netbackup/bin/libobk.so64 libobk.so