Sie sind auf Seite 1von 6

VERITAS NetBackup (tm) 4.5 Oracle Recovery Manager backup fails with status 6: "The backup failed t...

Page 1 of 6

Document ID: 250815


http://support.veritas.com/docs/250815
E-Mail this document to a colleague

VERITAS NetBackup (tm) 4.5 Oracle Recovery Manager backup fails with status 6: "The
backup failed to back up the requested files. An Oracle internal error is also generated:
allocating device type SBT_TAPE."

Exact Error Message


RMAN-10035: exception raised in RPC: ORA-19554: error
allocating device, device type: SBT_TAPE, device name:
ORA-00600: internal error code, arguments: [17506],
[4294967294], [32407664], [101], [2147450872], [], [], []

Details:
After installing NetBackup 4.5, the Oracle template wizard was used to construct a backup template
which performed a cold backup of the data files and control file. When executed, the data file
backup job completed successfully. However, RMAN was unable to successfully allocate the
channel for the control file and hence the controlling job exited with status 6.

The RMAN output, as follows, shows that RMAN is allocating, releasing and then failing to
reallocate the channel:

Sun Microsystems Inc. SunOS 5.8 Generic February 2000


Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.4.0 - 64bit Production
... snip ...
Recovery Manager: Release 8.1.7.4.0 - Production
... snip ...
8> RUN {
9>
10> ALLOCATE CHANNEL ch00
11> TYPE 'SBT_TAPE';
12> SEND 'NB_ORA_POLICY=Oracle_taxdoc,NB_ORA_CLIENT=taxdoc';
13> BACKUP
14> INCREMENTAL LEVEL=0
15> FORMAT 'bk_u%u_s%s_p%p_t%t'
16> TAG 'DMS'
17> DATABASE
18> INCLUDE CURRENT CONTROLFILE;
19> RELEASE CHANNEL ch00;
... snip ...
24> ALLOCATE CHANNEL ch00
25> TYPE 'SBT_TAPE';
26> SEND 'NB_ORA_POLICY=Oracle_taxdoc,NB_ORA_CLIENT=taxdoc';
27> BACKUP

file://H:\study\netbackup\Upload_site_done\done\New Folder\NetBackup 4_5 RMAN backup fails with stat... 7/6/2010


VERITAS NetBackup (tm) 4.5 Oracle Recovery Manager backup fails with status 6: "The backup failed t... Page 2 of 6

28> FORMAT 'bk_u%u_s%s_p%p_t%t'


29> CURRENT CONTROLFILE;
30> RELEASE CHANNEL ch00;
31> }
32>
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: ch00
RMAN-08500: channel ch00: sid=9 devtype=SBT_TAPE
RMAN-08526: channel ch00: VERITAS NetBackup for Oracle - Release 4.5GA (00000000)
... snip ...
RMAN-03023: executing command: backup
RMAN-08008: channel ch00: starting incremental level 0 datafile backupset
... snip ...
RMAN-08525: backup set complete, elapsed time: 00:08:36
RMAN-03023: executing command: partial resync
RMAN-08003: starting partial resync of recovery catalog
RMAN-08005: partial resync complete
RMAN-03022: compiling command: release
RMAN-03023: executing command: release
RMAN-08031: released channel: ch00
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-00571:
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
===============
RMAN-00571:
===========================================================
RMAN-03007: retryable error occurred during execution of command: allocate
RMAN-07004: unhandled exception during command execution on channel ch00
RMAN-10035: exception raised in RPC: ORA-19554: error allocating device, device type:
SBT_TAPE, device name:
ORA-00600: internal error code, arguments: [17506], [4294967294], [32407664], [101],
[2147450872], [], [], []
RMAN-10031: ORA-19624 occurred during call to
DBMS_BACKUP_RESTORE.DEVICEALLOCATE

The dbclient log shows a single process which backs up the data files. A second process for the
channel that failed to allocate does not appear.

An Oracle debug log for the process shows that NetBackup is finished releasing the channel and
that Oracle has some internal problem reallocating the channel.

RMAN-03023: executing command: release


... snip ...
krmxrpc: xc=6993008 RPC #21 completed immediately
RMAN-08031: released channel: ch00
krmxr: xc=6993008 finished step
... snip ...

file://H:\study\netbackup\Upload_site_done\done\New Folder\NetBackup 4_5 RMAN backup fails with stat... 7/6/2010


VERITAS NetBackup (tm) 4.5 Oracle Recovery Manager backup fails with status 6: "The backup failed t... Page 3 of 6

RMAN-03022: compiling command: allocate


EXEC SQL AT RCVCAT yProxy := dbms_rcvman . getAnyProxy ; :getCfBackup :=
dbms_rcvman . getCfBackup ; :listCfCopy := dbms_rcvman . listCfCopy ; :listDfCopy :=
dbms_rcvman . listDfCopy ; :listCfBackup := dbms_rcvman . listCfBackup ;
:listDfBackup := dbms_rcvman . listDfBackup ; :listAlBackup := dbms_rcvman .
listAlBackup ; :listDfProxy := dbms_rcvman . listDfProxy ; :getRecovAction :=
dbms_rcvman . getRecovAction ; :getAlBackup := dbms_rcvman . getAlBackup ;
:listAlCopy := dbms_rcvman . listAlCopy ; end ;
sqlcode=0
:b1 = 0
...snip...
:b33 = 12
>> ENTERING setRAflags
>> setRAflags kindMask=255 containerMask=15 actionMask=63
>> ENTERING setComputeRecoveryActionMasks816
>> ENTERING setComputeRecoveryActionMasks
>> EXITING setComputeRecoveryActionMasks
>> EXITING setComputeRecoveryActionMasks816
>> EXITING setRAflags
krmknmtr: the parse tree after name translation is:
1 allocate
1 CHID = ch00
2 CHTYPE = SBT_TAPE
krmkdps: this_db_key=49661
krmkdps: this_dbinc_key=49662
krmkdps: this_reset_scn=1
krmkdps: this_reset_time=06/26/2002
krmkdps: untilSCN=
krmkdps: untilTime=
krmkdps: getRA_completedAfter=
krmkdps: getRA_completedBefore=
krmkdps: getRA_likePattern=
krmkdps: getRA_containerMask=15
krmkdps: getRA_actionMask=63
krmkdps: computeRA_allRecords=0
krmkdps: allIncarnations=0
EXEC SQL AT TARGET select DECODE(status,'OPEN',1,0) into :b1 from V$INSTANCE
sqlcode=0
:b1 = 0
krmicomp: the compiled command tree is:
1 CMD type=allocate id=1 status=NOT STARTED
1 STEP id=1 status=NOT STARTED chid=ch00
1 TEXTNOD = -- devalloc
...snip...
48 TEXTNOD = end;
RMAN-03023: executing command: allocate
krmxpoq: xc=6983800, action="0000002 FINISHED", col_l=16, ind=0, sid=7
krmxpoq: xc=6993008, action="0000021 FINISHED", col_l=16, ind=0, sid=9
... snip ...
krmqgns: commands remaining to be executed:
CMD type=allocate id=1 status=NOT STARTED

file://H:\study\netbackup\Upload_site_done\done\New Folder\NetBackup 4_5 RMAN backup fails with stat... 7/6/2010


VERITAS NetBackup (tm) 4.5 Oracle Recovery Manager backup fails with status 6: "The backup failed t... Page 4 of 6

1 STEP id=1 status=NOT STARTED chid=ch00


krmqgns: channel ch00 assigned step 1
krmxcic: xc=6993008 chid=ch00 calling peidcs
krmxcis: xc=6993008 chid=ch00 calling pcicmp
krmxr: xc=6993008 chid=ch00 calling peicnt
krmxrpc: xc=6993008 kpurpc2 rc=19624 db=target
proc=DBMS_BACKUP_RESTORE.DEVICEALLOCATE
krmqexe: unhandled exception on channel ch00
RMAN-00571:
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
===============
RMAN-00571:
===========================================================
RMAN-03007: retryable error occurred during execution of command: allocate
RMAN-07004: unhandled exception during command execution on channel ch00
RMAN-10032: unhandled exception during execution of job step 1: ORA-19624: operation
failed, retry possible
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-00600: internal error code, arguments: [17506], [4294967294], [32407664], [101],
[2147450296], [], [], []

Workaround:

Modify the RMAN commands being used to execute the backup such that only a single channel is
allocated and not released until the end of the backup. Here is the general procedure when using the
NetBackup Oracle Template wizard.

1. Convert the template file to a shell script:

# /usr/openv/netbackup/bin/bpdbsbora -backup -g <newscript.sh> -t <templateFile.tpl>

2. Edit the <newscript.sh> file and remove the first release statement through the second allocate.
The following file without modification:

ALLOCATE CHANNEL ch00


TYPE 'SBT_TAPE';
SEND 'NB_ORA_POLICY=Oracle_taxdoc,NB_ORA_CLIENT=taxdoc';
BACKUP
INCREMENTAL LEVEL=0
FORMAT 'bk_u%u_s%s_p%p_t%t'
DATABASE
INCLUDE CURRENT CONTROLFILE;
RELEASE CHANNEL ch00;
# Control file backup
ALLOCATE CHANNEL ch00
TYPE 'SBT_TAPE';
SEND 'NB_ORA_POLICY=Oracle_taxdoc,NB_ORA_CLIENT=taxdoc';
BACKUP

file://H:\study\netbackup\Upload_site_done\done\New Folder\NetBackup 4_5 RMAN backup fails with stat... 7/6/2010


VERITAS NetBackup (tm) 4.5 Oracle Recovery Manager backup fails with status 6: "The backup failed t... Page 5 of 6

FORMAT 'bk_u%u_s%s_p%p_t%t'
CURRENT CONTROLFILE;
RELEASE CHANNEL ch00;

becomes the following with the modification:

ALLOCATE CHANNEL ch00


TYPE 'SBT_TAPE';
SEND 'NB_ORA_POLICY=Oracle_taxdoc,NB_ORA_CLIENT=taxdoc';
BACKUP
INCREMENTAL LEVEL=0
FORMAT 'bk_u%u_s%s_p%p_t%t'
DATABASE
INCLUDE CURRENT CONTROLFILE;
BACKUP
FORMAT 'bk_u%u_s%s_p%p_t%t'
CURRENT CONTROLFILE;
RELEASE CHANNEL ch00;

3. Modify the backup policy to invoke the modified shell script instead of the template.

This problem has also been observed to affect custom RMAN backup scripts which do not involve
the NetBackup Oracle Template Wizard. In those cases, modifying the backup script to allocate the
channel(s) once and not release them until all the backups completed was also successful.

Products Applied:
NetBackup DataCenter 4.5
NetBackup Enterprise Server 5.0 MP1

Last Updated: June 30 2004 08:35 AM GMT


Expires on: 365 days from publish date
Subscribe to receive critical updates about this
document
Subjects:
NetBackup DataCenter
Database: Backup, Configuration
Options: Database Extensions
NetBackup Enterprise Server
Database: Backup, Configuration
Options: Nbu-Db-Oracle

Languages:
English (US)

file://H:\study\netbackup\Upload_site_done\done\New Folder\NetBackup 4_5 RMAN backup fails with stat... 7/6/2010


VERITAS NetBackup (tm) 4.5 Oracle Recovery Manager backup fails with status 6: "The backup failed t... Page 6 of 6

Operating Systems:
Solaris
8.0 (32-bit)

Symantec World Headquarters:


20330 Stevens Creek Blvd. Cupertino, CA 95014
World Wide Web: http://www.symantec.com/,
Tech Support Web: http://entsupport.symantec.com/,
E-Mail Support:
http://seer.entsupport.symantec.com/email_forms,
FTP: ftp://ftp.entsupport.symantec.com/ or
ftp://ftp.entsupport.symantec.com/

THE INFORMATION PROVIDED IN THE SYMANTEC SOFTWARE KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY
OF ANY KIND. SYMANTEC SOFTWARE DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SYMANTEC
SOFTWARE OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,EVEN IF SYMANTEC SOFTWARE OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR
LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT
APPLY.

file://H:\study\netbackup\Upload_site_done\done\New Folder\NetBackup 4_5 RMAN backup fails with stat... 7/6/2010

Das könnte Ihnen auch gefallen