Symantec NBU backup Oracle 11g
Backup log errors under/user/openv/
Recovery Manager: Release 11.2.0.3.0-Production on Mon Sep 17 14:36:11 2012
Copyright (c) 1982,201 1, Oracle and/or its affiliates. All rights reserved.
Connected to target database: testdb (DBID = 123456)
Using target database control file instead of recovery catalog
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39>
RMAN-00571: ========================================================== ==============================
RMAN-00569: ==================== error message stack follows ==========================
RMAN-00571: ========================================================== ==============================
RMAN-03009: failure of allocate command on ch00 channel at 09/17/2012 14:36:13
The ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 2
RMAN>
Recovery Manager complete.
Check that there are no problems with libraries, scripts, and network resolution.
Solution:
Symantec nbu needs to call the oracle lib library file during Backup. This script is provided in the symantec bin directory.
[Oracle @ testdb bin] $ pwd
/Usr/openv/netbackup/bin
[Oracle @ testdb bin] $ ls oracle_link
Oracle_link
[Oracle @ testdb bin] $./oracle_link
All Oracle instances shocould be shutdown before running this script.
Please log into the Unix system as the Oracle owner for running this script
Do you want to continue? (Y/n) [n] y
LIBOBK path:/usr/openv/netbackup/bin
ORACLE_HOME:/oracle/app/oracle/product/11.2.0/db_1
Oracle version: 11.2.0.3.0
Platform type: x86_64
Linking LIBOBK:
Ln-s/usr/openv/netbackup/bin/libobk. so64/oracle/app/oracle/product/11.2.0/db_1/lib/libobk. so
Done
Start backup again to solve the problem