Friday 22 August 2014

BACKUP Failure - TAPE Issue

When I run Backup,

i got the following error.

Starting backup at 
executing global script: ll1
current log archived
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03015: error occurred in stored script ll1

Additional information: 2
ORA-27211: Failed to load Media Management Library
ORA-19554: error allocating device, device type: SBT_TAPE, device name: 
RMAN-03002: failure of backup command at 


when I check,


]$sbttest test
The sbt function pointers are loaded from oracle.static library.
libobk.so could not be loaded. Check that it is installed

Backup has not happened after database upgrade.

Solution:


After upgarde DB will have new home.

In the new home path,  libobk.so should be linked to backup vendor supplied rman library.

Then we have made a link,

]$ cd $ORACLE_HOME/lib
]$ln -s /usr/lib/libora.so libobk.so


Now if i check,

]$ls -lrt lib*
lrwxrwxrwx 1 oracle oinstall     libobk.so -> /usr/lib/libora.so



After that backup was running fine. Even sbttest libora.so succeeded.