This post is more than 5 years old

2 Intern

 • 

161 Posts

7126

January 3rd, 2013 06:00

RMAN backup fails on windows 2008 R2

hello guys,

I'm trying to backup a oracle 11g database on windows 2008 r2.

NetWorker version is 7.6.4, nmda version is 1.2.

Failure message:

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03009: failure of allocate command on t1 channel at 01/03/2013 14:28:21

ORA-19554: Fehler beim Zuweisen von Gerät, Gerättyp: SBT_TAPE, Gerätname:

ORA-27211: Media Management Library konnte nicht geladen werden

The rman-scripts looks like this:

connect target ...

connect catalog ...

run {

   sql "alter session set NLS_DATE_FORMAT=''DD-MON-YYYY HH24:MI:SS''";

   allocate channel t1 device type 'SBT_TAPE';

   allocate channel t2 device type 'SBT_TAPE';

   allocate channel t3 device type 'SBT_TAPE';

   allocate channel t4 device type 'SBT_TAPE';

   send 'NSR_ENV=(NSR_SERVER=

      NSR_DATA_VOLUME_POOL= ,

      NSR_CLIENT=

   )';

   backup check logical full filesperset 1

      format 'DBFILE_DB-%d_DBID-%I_TS-_FNO-%f_SET-%s_PIECE-%p_COPY-%c_%T'

      (database);

   backup current controlfile

                        format 'CONTROLFILE_DB-%d_DBID-%I_SET-%s_PIECE-%p_COPY-%c_%T';

   backup spfile

      format='SPFILE-DB-%d_DBID-%I_SET-%s_%T';

}

And the NMDA config file:

ORACLE_HOME=C:\oracle\product\11.2.0\dbhome_1

ORACLE_SID=

ORACLE_USER=

NSR_RMAN_ARGUMENTS="LOG 'c:\Program Files\Legato\nsr\apps\logs\nmdalog_ _db_on.log'"

Please give me some support!

Cheers,

Jan

2 Intern

 • 

161 Posts

January 3rd, 2013 07:00

Alrigt, I did that before.

I found a solution:

https://solutions.emc.com/emcsolutionview.asp?id=esg131897

Just copy orasbt.dll to windows/system32.

736 Posts

January 3rd, 2013 06:00

Hi Jan,

The equivalent of your error message in English is listed in the NMDA Administration Guide page 347:

"

If RMAN fails with the following error, ensure that both NMDA and Oracle have the same bitness, and refer to the RMAN user guide for details on how to test that the media management library is integrated correctly:

ORA-19554: error allocating device, device type: SBT_TAPE, device

name:

ORA-27211: Failed to load Media Management Library

Additional information: 25

"

You should start by checking the bitness and, if that's correct, put "Failed to load Media Management Library" into the search at support.emc.com and you'll find a number of articles referring to potential solutions.

-Bobby

736 Posts

January 3rd, 2013 07:00

Hi,

The bitness (32 or 64) of the NMDA module must be the same as the Oracle database (regardless of the bitness of the server itself).  To check the module, you can right click on the nsrdasv binary (...program files\legato\nsr\bin) and you'll see it in the 'Version' tab.  

For the bitness of the Oracle install, check here for your options on how to check this: 

http://www.orafaq.com/node/2033

-Bobby

2 Intern

 • 

161 Posts

January 3rd, 2013 07:00

Hi Bobby,

how do I check the bitness?

0 events found

No Events found!

Top