When using NetBackup, Oracle backup jobs are failing with Error 6 and ORA-27211: Failed to load Media Management Library

Article: 100021678
Last Published: 2013-10-24
Ratings: 2 1
Product(s): NetBackup & Alta Data Protection

Problem

When using NetBackup, Oracle backup jobs are failing with Error 6 and attempts to load MML fail with ORA-27211: Failed to load Media Management Library

Error Message

User backup failed  (6)
ORA-27211: Failed to load Media Management Library

Cause

If the libobk.so* file in the NetBackup bin directory does not have read permissions for others, all attempts to load the library will fail.

Troubleshooting

Manual allocation of a TAPE type channel also fails:

  • a) allocate channel for maintenance type'SBT_TAPE';

    ORA-27211: Failed to load Media Management Library

  • b) RUN
    {
    ALLOCATE CHANNEL c1 DEVICE TYPEsbt_tape
    PARMS='SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64.1',
    release channel c1;
    }

    ORA-27211: Failed to load Media Management Library

Checking the libobk files shows permissions are set to 751, instead of 755 (-rwxr-xr-x).

-rwxr-x--x   1 root    bin       112480 Jul 23  2007/usr/openv/netbackup/bin/libobk.so.1
-rwxr-x--x   1 root    bin       183360 Jul 23  2007/usr/openv/netbackup/bin/libobk.so64.1

Solution

Change the libobk file permissions using chmod 755.

Was this content helpful?