Question:
I am getting this error on my RMAN backup command:
RMAN-03009: failure
of allocate command on ch1 channel at 06/10/2011 06:10:46
ORA-19554: error allocating device,
device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media
Management Library
How to I fix the ORA-19554 and
ORA-27211 errors?
Answer: The
"failed to lead media management library" error can happen
when libobk.so is not linked to your backup vendor supplied
rman library. This is a very common RMAN error with
dozens of possible causes, depending on the media management
library tool (Legato Symantec).
You can try
running SBTTEST to see if your MML is configured
properly.
Here is the oerr output for the
ORA-27211 error:
ORA-27211: Failed to load Media Management
Library
Cause: User-supplied
SBT_LIBRARY or libobk.so could not be loaded. Call
to
dlopen for media library returned error. See Additional
information for error code.
Action:
Retry the command with proper media library. Or re-install
Media management module for Oracle.
Here are
the directions for installing the media management library
and
running RMAN with the media manager layer.
Here is how to re-allocate the channel
SBT_TAPE.
RMAN> run {
2>
allocate channel ch1 type 'SBT_TAPE';
3> release channel ch1;
4> }
using target
database controlfile instead of recovery catalog
allocated channel: ch1
channel ch1: sid=35 devtype=SBT_TAPE
channel ch1: VERITAS NetBackup for
Oracle - Release 6.0 (2005090703)
released channel:
ch1
Legato on Windows:
The ORA-27211: Failed to load Media Management
Library error in a MS-Windows environment is cause by
library orasbt.dll. This library has to be located at
C:Program filesLegatobin, (if you are using a Legato backup
too1).