Skip to content

TSM: ORA-27211: Failed to load Media Management Library

SYMPTOMS

 

When attempting backup after a new install or upgrade to Oracle9i you see the error:RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch1 channel at 11/11/2004 22: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.

CAUSE

The problem is an environment problem. When the LD_LIBRARY_PATH is set and the vendors libobk is a part of that path when a channel is allocated within RMAN the library should dynamically load from the channels initialization call. This is not always the case and is known to Tivoli.

Tivoli has provided the following solution to this issue.

SOLUTION

This example is for an AIX platform.

To resolve this:

1) Link the TDP library file directly to the Oracle directory. The link would look like:
$ORACLE_HOME/lib/libobk.a -> /usr/tivoli/tsm/client/oracle/bin64/libobk64.a

2) Change the LIBPATH environment variable to include $ORACLE_HOME/lib before /usr/lib. If you have a LD_LIBRARY_PATH, ensure that this has the $ORACLE_HOME/lib before /usr/lib.

3) Ensure the SBT_LIBRARY parameter is not set

4) The Oracle instance may need to be restarted as it has been seen where the LIBPATH value was held in memory.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: