Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: RMAN configure channel with multiple parameters
s.kapitza wrote:
> manuela mueller <mueller_m_at_fiz-chemie.de> wrote in message news:<2pr7p6FnvrfeU1_at_uni-berlin.de>... >
> > > RUN > { > CONFIGURE CHANNEL DEVICE TYPE 'sbt_tape' > parms="ENV=( TINA_HOME=/tina, > TINA_SERVICE_NAME=tina, > TINA_RMAN_CATALOG=catalog, > TINA_RMAN_FOLDER=backupfolder, LD_LIBRARY_PATH=$ORACLE_HOME/lib:/tina/Lib, > TINA_APP_LIB_PATH=/tina/Lib/libtina_rman.so, > TINA_RMAN_USER=the_user,SBT_LIBRARY=$ORACLE_HOME/lib/libobk.so)"; > } > > should work > > regards > > s.kapitza
Dear S. Kapitza,
I tried your suggestion, but still receive ORA-27211: Failed to load
Media Management Library.
I have an uneasy feeling about a trivial error.
Further information about the setup:
The catalog and the target db are on the same machine, two different
ORACLE_HOMEs and different OS users. We choose this layout for easy
backup of the catalog db (shutdown the catlog db, tar cvzf
rman_os_users_home and copy to tape).
We have a soft link from catalog ORACLE_HOME libobk.so -> /tina/Lib/libtina_rman.so.
Permissions of libtina_rman.so:
ls -lh /tina/Lib/libtina_rman.so
-rwxr-xr-x 1 root root 4.6M 2004-07-09 17:50
/tina/Lib/libtina_rman.so
We cleared the configured channel with 'CONFIGURE CHANNEL DEVICE TYPE
'sbt_tape' clear;'
and reconfigured it with your configure channel command,
SBT_LIBRARY='catalog_db_ORACLE_HOME'/lib/libobk.so
During subseqent testing with
RMAN> run {
2> allocate channel c1 type 'sbt_tape'; 3> release channel c1; 4> }
we receive the same error:
ORA-27211: Failed to load Media Management Library
In the bdump direcory of the target db we find a trace file with: *** SESSION ID:(24.12457) 2004-09-06 12:42:11.549 Failed to load SBT library libobk.so
My understanding of the documentation was, to set SBT_LIBRARY='catalog_db_ORACLE_HOME'/lib/libobk.so.
Just to clarify this, i performed another test. I removed the softlink from catalog ORACLE_HOME libobk.so -> /tina/Lib/libtina_rman.so and set a new link from target ORACLE_HOME libobk.so -> /tina/Lib/libtina_rman.so.
I cleared the configured channel, and reconfigured it with SBT_LIBRARY='target_db_ORACLE_HOME'/lib/libobk.so
Allocation of the channel shows in the alert log of the target db:
ORA-07445: exception encountered: core dump [strncpy()+33] [SIGSEGV] [Address not mapped to object] [0x0] [] []
Any further suggestions what I am doing wrong? Thanks for your input and your time.
Manuela Mueller Received on Mon Sep 06 2004 - 06:10:05 CDT
![]() |
![]() |