Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: RMAN configure channel with multiple parameters

Re: RMAN configure channel with multiple parameters

From: s.kapitza <skapitza_at_volcanomail.com>
Date: 6 Sep 2004 11:17:25 -0700
Message-ID: <26703915.0409061017.7f42dc87@posting.google.com>


comments embedded

<snip>

>
> 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).

funny layout, looks fine for a happy desaster recovery day :) IMO get rid of that. If possible host the catalog on another machine.

>
> We have a soft link from catalog ORACLE_HOME libobk.so ->
> /tina/Lib/libtina_rman.so.

link is needed for the database you backup via RMAN (target)

>
> 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

Link should be setup as Oracle Owner. Something like : lrwxrwxrwx 1 oracle dba 20 Jan 1 2004 libobk.so -> /usr/lib/libnwora.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

as the target don't know where to find libobk.so

>
> My understanding of the documentation was, to set
> SBT_LIBRARY='catalog_db_ORACLE_HOME'/lib/libobk.so.

If you backup the Catalog via RMAN then yes

>
> 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] [] []

Probably the Permission Error

>
> Any further suggestions what I am doing wrong?
> Thanks for your input and your time.
>
> Manuela Mueller

regards

stefan kapitza Received on Mon Sep 06 2004 - 13:17:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US