My Oracle Support Banner

RMAN Backups Failing Since Upgrade To ORA-27211: Failed To Load Media Management Library (Doc ID 2109221.1)

Last updated on DECEMBER 01, 2019

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Microsoft Windows x64 (64-bit)


After upgrading to 12c DBMS_SCHEDULER jobs to execute RMAN backup scripts fails with an incorrect path on windows.

Issue specific to Windows

Because of the failure to load media library error, EMC directed  to copy ORASBT.DLL from C:\Program Files\Legato\NSR\bin to C:\Windows\System32 so it would be “found” by oracle  

Though it was already in the path anyway. Once we did that and reran the following it crashed the database:

RMAN> run {
 allocate channel ch1 type sbt_tape;
 release channel ch1;}

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
RMAN-03009: failure of allocate command on ch1 channel at 06/17/2015 11:24:32
ORA-03135: connection lost contact

- From the alert log:

Wed Jun 17 11:24:28 2015
Thread 1 cannot allocate new log, sequence 1825464
Checkpoint not complete
  Current log# 6 seq# 1825463 mem# <PATH>\REDO06.LOG
Wed Jun 17 11:24:30 2015
Thread 1 advanced to log sequence 1825464 (LGWR switch)
  Current log# 7 seq# 1825464 mem# <PATH>\REDO07.LOG
Wed Jun 17 11:24:31 2015
Archived Log entry 1806264 added for thread 1 sequence 1825463 ID 0x95e49a2d dest 1:
Wed Jun 17 11:27:43 2015
Starting ORACLE instance (normal) (OS id: 11700)
Wed Jun 17 11:27:43 2015
CLI notifier numLatches:29 maxDescs:1355
Initial number of CPU is 16
Number of processor cores in the system is 8
Number of processor sockets in the system is 2
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
ILAT =135
SYS auditing is enabled
NOTE: remote asm mode is local (mode 0x1; from cluster type)
NOTE: Using default ASM root directory ASM
NUMA system with 2 nodes detected
Oracle Database 12c Enterprise Edition Release - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options.
Windows NT Version V6.1 Service Pack 1
CPU : 16 - type 8664, 8 Physical Cores
Process Affinity : 0x0x0000000000000000
Memory (Avail/Total): Ph:74365M/131059M, Ph+PgF:74681M/131073M
Using parameter settings in server-side spfile <PATH>\<SPFILE_NAME>.ORA



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.