Monday 12 December 2011

RMAN + Tivoli Backup in AIX : ORA-19511: Error received from media manager layer, error text:

$ rman catalog USSBAZUDB159_azacd/USSBAZUDB159@TSMRCAT;

Recovery Manager: Release 11.2.0.1.0 - Production on Mon Dec 12 02:22:16 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

connected to recovery catalog database

RMAN> connect target;
connected to target database: AZACD (DBID=3132858600)

RMAN> run {
2> allocate channel t1 type 'sbt_tape'
parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)'
3> 4> format '%d_inc1_%U.rbck';
5> backup incremental level 1 cumulative database tag OPEN_INC1_DAY;
6> release channel t1;
7> }

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on t1 channel at 12/12/2011 02:22:29
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
IBM AIX RISC System/6000 Error: 106: Reserved errno was encountered
Additional information: 7011
ORA-19511: Error received from media manager layer, error text:
SBT error = 7011, errno = 106, sbtopen: system error


Solution:

I guess that you forget to relink your library(libobk.so).

Try the following step:

1. Shutdown instance

2.Relink library

Solaris 32bit:

rm $ORACLE_HOME/lib/libobk.so
ln -s /usr/lib/libobk.so $ORACLE_HOME/lib/libobk.so

Solaris 64bit:

rm $ORACLE_HOME/lib64/libobk.so
ln -s /usr/lib/sparcv9/libobk.so $ORACLE_HOME/lib/libobk.so

3.startup instance;

change directory into > $ORACLE_HOME/lib

create softlink from libobk.a to /usr/lib/libobk.a

ln -s libobk.a /usr/lib/libobk.a



No comments:

Post a Comment