cancel
Showing results for 
Search instead for 
Did you mean: 

RMAN Backup error using brtool

Former Member
0 Kudos

while I trigger the backup am getting below error and checked lib file link look fine

kernel release             720

patch 17

RMAN>
host command complete

RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on sbt_1 channel at 02/27/2014 08:56:25
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 2

RMAN>
specification does not match any backup in the repository

RMAN>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

What backup device type are you using? What data protection solution (if any) are you using?

Former Member
0 Kudos

Good morning

we are using TSM/TDP configuration ...this automatically move to tape drive

FYI before it was working fine with CPIO backup ...now I changed to RMAN and am getting above error

Former Member
0 Kudos

I checked $ORACLE_HOME\lib

pliad2z:oraSID 52> ll lib*

-rw-r--r-- 1 oraSID dba   1310870 Sep  4  2010 libagent11.a

-rw-r--r-- 1 oraSID dba  11704294 Aug 20  2010 libagfw11.so

lrwxrwxrwx 1 oraSID dba        15 Jul 19  2013 libagtsh.so -> libagtsh.so.1.0

-rwxr-xr-x 1 oraSID dba  10059734 Jul 19  2013 libagtsh.so.1.0

-rw-r--r-- 1 oraSID dba    818234 Sep  4  2010 libasmclnt11.a

-rw-r--r-- 1 oraSID dba   1038154 Sep  4  2010 libasmclntsh11.a

-rw-r--r-- 1 oraSID dba    891110 Sep  4  2010 libasmclntsh11.so

-rw-r--r-- 1 oraSID dba     24534 Sep  4  2010 libavstub11.a

-rw-r--r-- 1 oraSID dba    643582 Sep  4  2010 libcell11.a

-rw-r--r-- 1 oraSID dba    532417 Sep  4  2010 libcell11.so

-rw-r--r-- 1 oraSID dba   9945340 Sep  4  2010 libclient11.a

lrwxrwxrwx 1 oraSID dba        40 Jul 19  2013 libclntsh.so -> /oracle/SID/112_64/lib/libclntsh.so.11.1

lrwxrwxrwx 1 oraSID dba        35 Jul 19  2013 libclntsh.so.10.1 -> /oracle/SID/112_64/lib/libclntsh.so

-rwxr-xr-x 1 oraSID dba  52365149 Jul 19  2013 libclntsh.so.11.1

-rw-r--r-- 1 oraSID dba         0 Sep  5  2010 libclntst11.a

-rw-r--r-- 1 oraSID dba   1848648 Aug 20  2010 libclsr11.a

-rw-r--r-- 1 oraSID dba    216789 Aug 20  2010 libclsra11.so

-rw-r--r-- 1 oraSID dba   5346302 Sep  4  2010 libcommon11.a

-rw-r--r-- 1 oraSID dba   4364122 Aug 11  2010 libcore11.a

-rw-r--r-- 1 oraSID dba   1798185 Aug 11  2010 libcorejava.so

-rw-r--r-- 1 oraSID dba   4932624 Aug 24  2010 libctx11.a

-rw-r--r-- 1 oraSID dba   1053190 Aug 24  2010 libctxc11.a

-rw-r--r-- 1 oraSID dba    167276 Aug 24  2010 libctxs11.a

-rw-r--r-- 1 oradw6 dba      6870 Aug 22  2010 libnzjs11.a

-rw-r--r-- 1 oradw6 dba   5501282 Sep  4  2010 libocci11.a

lrwxrwxrwx 1 oradw6 dba        15 Jul 19  2013 libocci.so -> libocci.so.11.1

-rwxr-xr-x 1 oradw6 dba   1973701 Jul 19  2013 libocci.so.11.1

-rw-r--r-- 1 oradw6 dba    164756 Aug 17  2010 libocijdbc11.so

-rw-r--r-- 1 oradw6 dba   1559829 Aug 20  2010 libocr11.so

-rw-r--r-- 1 oradw6 dba   3295575 Aug 20  2010 libocrb11.so

-rw-r--r-- 1 oradw6 dba    150599 Aug 20  2010 libocrutl11.so

-rw-r--r-- 1 oradw6 dba      7426 Sep  4  2010 libodm11.a

lrwxrwxrwx 1 oradw6 dba        12 Jul 19  2013 libodm11.so -> libodmd11.so

-rw-r--r-- 1 oradw6 dba     12315 Sep  4  2010 libodmd11.so

-rw-r--r-- 1 oradw6 dba   1508280 Aug 20  2010 liboevm.a

-rw-r--r-- 1 oradw6 dba  24196707 Sep  4  2010 libolapapi11.so

-rw-r--r-- 1 oradw6 dba    141390 Aug 25  2010 libons.so

-rw-r--r-- 1 oradw6 dba    141441 Aug 25  2010 libonsx.so

-rw-r--r-- 1 oradw6 dba    107554 Aug 11  2010 liborabz2.a

-rw-r--r-- 1 oradw6 dba  17957176 Sep  4  2010 liboraolap11.a

lrwxrwxrwx 1 oradw6 dba        21 Jul 19  2013 liborasdkbase.so -> liborasdkbase.so.11.1

-rwxr-xr-x 1 oradw6 dba  11733634 Jul 19  2013 liborasdkbase.so.11.1

lrwxrwxrwx 1 oradw6 dba        17 Jul 19  2013 liborasdk.so -> liborasdk.so.11.1

-rwxr-xr-x 1 oradw6 dba  41617617 Jul 19  2013 liborasdk.so.11.1

-rw-r--r-- 1 oradw6 dba    139360 Aug 11  2010 liboraz.a

Former Member
0 Kudos

Have you selected RMAN support during installation of TDP? If not you need to create links manually. You can find required steps in official documentation. What version of TDP are you using?

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Provide the complete log from the sapbackup directory.

Regards

RB

Former Member
0 Kudos

aRMAN>
host command complete

RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on sbt_1 channel at 02/27/2014 09:17:59
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 2

RMAN>
specification does not match any backup in the repository

RMAN>

Recovery Manager complete.
BR0200I BR_TRACE: location BrRmanCall-44, commands for RMAN in: /oracle/SID/saparch/.aenhkwim.cmd
'@/oracle/SID/saparch/..aenhkwim..cmd^'
'host '/usr/sap/SID/SYS/exe/run/brtools -f delete /oracle/SID/saparch/..aenhkwim..cmd';^'
'run { allocate channel sbt_1 device type 'SBT_TAPE'^'
'parms 'ENV=(XINT_PROFILE=/oracle/SID/112_64/dbs/initSID.utl,PROLE_PORT=57323,BR_CALLER=BRARCHIVE,BR_BACKUP=ARCHIVE,BR_REQUEST=NEW,BR_RUN=aenhkwim.cds)';^'
'allocate channel sbt_2 device type 'SBT_TAPE'^'
'parms 'ENV=(XINT_PROFILE=/oracle/SID/112_64/dbs/initSID.utl,PROLE_PORT=57323,BR_CALLER=BRARCHIVE,BR_BACKUP=ARCHIVE,BR_REQUEST=NEW,BR_RUN=aenhkwim.cds)';^'
'allocate channel sbt_3 device type 'SBT_TAPE'^'
'parms 'ENV=(XINT_PROFILE=/oracle/SID/112_64/dbs/initSID.utl,PROLE_PORT=57323,BR_CALLER=BRARCHIVE,BR_BACKUP=ARCHIVE,BR_REQUEST=NEW,BR_RUN=aenhkwim.cds)';^'
'backup tag aenhkwim format 'SID_aenhkwim.%s_%p' filesperset 3 check logical^'
'archivelog from sequence 314 until sequence 314 thread 1;^'
'release channel sbt_1;^'
'release channel sbt_2;^'
'release channel sbt_3; }^'
'list backup of archivelog from sequence 314 until sequence 314 thread 1 tag aenhkwim;^'
'exit;^'
BR0280I BRARCHIVE time stamp: 2014-02-27 09.17.59
BR0279E Return code from 'SHELL=/bin/sh /oracle/SID/112_64/bin/rman nocatalog': 1
BR0522E 0 of 1 file / save set processed by RMAN
BR0536E RMAN call for database instance SID failed

BR0280I BRARCHIVE time stamp: 2014-02-27 09.17.59
BR0543E Offline redolog backup using RMAN failed

BR0016I 0 offline redolog files processed, total size 0.000 MB

BR0007I End of offline redolog processing: aenhkwim.cds 2014-02-27 09.17.59
BR0280I BRARCHIVE time stamp: 2014-02-27 09.17.59

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

I see the issue is with the archive log backup.

Did you make any changes to the system prior to this ?

Regards

RB

Former Member
0 Kudos

we are creating rman setup configuration  as per sap note 964619

before it was running fine through cpio

former_member206552
Active Contributor
0 Kudos

Good Day

what happends when you run

sbttest test_file (as ora user)

(ORA-27211: Failed to load Media Management Library)

I have had this problem before but with netbackup you need to create a link for the libobk file to netbackup/bin

Best Regards

Marius