[INFORMATIVE] RMAN-00600 8029
In case anybody encounters such an error when restoring with RMAN, from backup to ASM:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code for command restore : 600
RMAN-00600: internal error, arguments [8029] [2] [] [] []It happened to me when I had to cancel a DUPLICATE command because of tape issues.
In order to "resume" the recovery, you must manually use "set newname for datafile xx to yy;"
xx : former file name (or number)
yy : new file name (here including ASM reference)
e.g. :
run {
allocate auxiliary channel ch1 type 'SBT_TAPE' PARMS '...';
allocate auxiliary channel ch2 type 'SBT_TAPE' PARMS '...';
allocate auxiliary channel ch3 type 'SBT_TAPE' PARMS '...';
set newname for datafile 2 to '+DG/dat01.dbf';
set newname for datafile 4 to '+DG/dat07.dbf';
set newname for datafile 16 to '+DG/dat03.dbf';
set newname for datafile 71 to '+DG/dat13.dbf';
restore clone datafile 2,4,16,71;
}Printed here because there's no info about RMAN-00600 [8029] on MetaLink.
Yoann.
Sorry this is a late response.
All ora-600 errors should be logged to Oracle Support.
Thanks Tammy
Similar Messages
-
RMAN-00600: internal error, arguments [8201]
Hi,
on 10g R2 on a win 2003 server we had follwing error for RMAN backup :
RMAN-00600: internal error, arguments [8201] [] [] [] []we looked at metalink note : 412786.1
that says :
There is mismatch between the information stored in the Controlfile and rman Catalogand did RMAN> resync catalog; that did not resolve the problem.
We created another RMAN schema which means a new catalog. Then it is difficult to believe
that the new catalog was not syncronized with control file. But again exactly the same error :
RMAN-00600: internal error, arguments [8201] [] [] [] []
Why again the same error with a new catalog ?
Thanks.Thank you Werner. I read the discussion. How about this work arround in Bug No. 5916459 :
Workaround ========== . Modify ?/admin/recover.bsq as follows and upgrade recovery catalog schema .
using UPGRADE CATALOG command.
FROM
SELECT nvl(oldest_flashback_time, MAXDATEVAL) INTO fbUntiltime FROM fb
WHERE dbinc_key = this_dbinc_key; .
TO .
SELECT nvl(oldest_flashback_time, MAXDATEVAL) INTO fbUntiltime FROM fb
WHERE dbinc_key = this_dbinc_key AND db_unique_name = this_db_unique_name; . I need some details to apply it. -
Rman duplication fails with RMAN-00600
Hi All,
I'm trying to perform a database duplication from a prod server to a non prod one with ORacle 11gR2.
I'm performing a backup-based duplication without target connection from DEV3 database to DEV1 database. I followed the steps mentionned in the "backup & Recovery Guide" http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmdupdb.htm
Here are the steps I followed:
1. I configured my spfile of the auxiliary database like the target one. I also added these lines to change the location of the restores:
SQL> alter system set log_file_name_convert='/u04/DEV3/rdo','/u04/DEV1/rdo','/u03/DEV3/rdo','/u03/DE V1/rdo','/u02/DEV3/rdo','/u02/DEV1/rdo' scope=spfile;
SQL> alter system set db_file_name_convert='/u04/DEV3/rdo','/u04/DEV1/rdo','/u03/DEV3/rdo','/u03/DEV1/rdo','/u02/DEV3/rdo','/u02/DEV1/rdo','/u02/DEV3/dbf/DEV3','/u02/DEV1/dbf/DEV1' scope=spfile;
2. I then shutdown the database, and start it in nomount mode.
3. I connect to the auxiliary database, and the recovery catalog
4. I run the following rman duplication command:
RUN{
DUPLICATE DATABASE DEV3 to DEV1;
The restore succeeds but at the end, the recovery ends with the following error:
channel ORA_AUX_DISK_6: reading from backup piece /RMAN/DEV3/DEV3_0_14:27:01-05-31-2011_2_138.rman
channel ORA_AUX_DISK_4: piece handle=/RMAN/DEV3/DEV3_0_14:27:01-05-31-2011_2_136.rman tag=LVL0_DB_BKP
channel ORA_AUX_DISK_4: restored backup piece 2
channel ORA_AUX_DISK_4: restore complete, elapsed time: 02:24:10
channel ORA_AUX_DISK_6: piece handle=/RMAN/DEV3/DEV3_0_14:27:01-05-31-2011_2_138.rman tag=LVL0_DB_BKP
channel ORA_AUX_DISK_6: restored backup piece 2
channel ORA_AUX_DISK_6: restore complete, elapsed time: 02:25:09
Finished restore at 06/06/11 15:22:58
contents of Memory Script:
catalog clone datafilecopy "/u02/DEV1/dbf/DEV1/undotbs01.dbf";
switch clone datafile 3 to datafilecopy
"/u02/DEV1/dbf/DEV1/undotbs01.dbf";
switch clone datafile all;
executing Memory Script
cataloged datafile copy
datafile copy file name=/u02/DEV1/dbf/DEV1/undotbs01.dbf RECID=70 STAMP=753117778
datafile 3 switched to datafile copy
input datafile copy RECID=70 STAMP=753117778 file name=/u02/DEV1/dbf/DEV1/undotbs01.dbf
datafile 1 switched to datafile copy
input datafile copy RECID=71 STAMP=753117780 file name=/u02/DEV1/dbf/DEV1/system01.dbf
datafile 2 switched to datafile copy
input datafile copy RECID=72 STAMP=753117780 file name=/u02/DEV1/dbf/DEV1/sysaux01.dbf
contents of Memory Script:
set until scn 7241504550365;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 06/06/11 15:23:15
using channel ORA_AUX_DISK_1
using channel ORA_AUX_DISK_2
using channel ORA_AUX_DISK_3
using channel ORA_AUX_DISK_4
using channel ORA_AUX_DISK_5
using channel ORA_AUX_DISK_6
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code for command recover : 600
RMAN-00600: internal error, arguments [8029] [1] [] [] []
Can someone please help me resolve this issue???it's quite urgent.
Thank you,
FarahI am facing same error, did any of you find a resolution yet?
contents of Memory Script:
set until scn 7243533883622;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 10/12/11 19:33:12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code for command recover : 600
RMAN-00600: internal error, arguments [8029] [1] [] [] []
Wed Oct 12 19:33:14 CEST 2011 Remove the lock file
ERROR: RMAN FAILUR
I see many kblockd processes, can this be an indication:
applprod@gvaebsdb3:~ $ ps -ef|grep kblockd
root 231 211 0 Oct05 ? 00:00:00 [kblockd/0]
root 232 211 0 Oct05 ? 00:00:00 [kblockd/1]
root 233 211 0 Oct05 ? 00:00:00 [kblockd/2]
root 234 211 0 Oct05 ? 00:00:00 [kblockd/3]
root 235 211 0 Oct05 ? 00:00:00 [kblockd/4]
root 236 211 0 Oct05 ? 00:00:00 [kblockd/5]
root 237 211 0 Oct05 ? 00:00:00 [kblockd/6]
root 238 211 0 Oct05 ? 00:00:00 [kblockd/7]
root 239 211 0 Oct05 ? 00:00:00 [kblockd/8]
root 240 211 0 Oct05 ? 00:00:00 [kblockd/9]
root 241 211 0 Oct05 ? 00:00:00 [kblockd/10]
root 242 211 0 Oct05 ? 00:00:00 [kblockd/11]
root 243 211 0 Oct05 ? 00:00:00 [kblockd/12]
root 244 211 0 Oct05 ? 00:00:00 [kblockd/13]
root 245 211 0 Oct05 ? 00:00:00 [kblockd/14]
root 246 211 0 Oct05 ? 00:00:00 [kblockd/15]
Thanks,
Horia -
RMAN-00600 Error during Duplicate
RDBMS Version: 8.1.6
Operating System and Version: NT 4.0
Error Number (if applicable): RMAN-00600
Product: Recovery Manager
Product Version: 8.1.6
RMAN Duplicate Database Error (RMAN-00600)
While running the following command:
run {
allocate auxiliary channel ch1 type disk;
allocate auxiliary channel ch2 type disk;
duplicate target database to db1backup nofilenamecheck;
I get the following errors:
RMAN-03022: compiling command: Duplicate Db
RMAN-00571: =========================================================
RMAN-00569: ================ ERROR MESSAGE STACK FOLLOWS ============
RMAN-00571: =========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code: 600
RMAN-03013: command type: Duplicate Db
RMAN-00600: internal error, arguments [14036] [-11] [29] [
CHARACTER SET %s
] [WE8ISO8859P1]
Any ideas as to what may be causing this? I have successfully backed up the target database, the connections to the target and auxiliary databases are fine, and I'm using a controlfile vs. a catalog.
Mike McAndrew
[email protected]
nullHi
Duplicate databases with RMAN is not as simple as it seems, look at message colled "Duplicate database error with RMAN"
This maybe could help you.
Anyway, I saw the message:
"internal error, arguments [14036] [-11] [29] [CHARACTER SET %s] [WE8ISO8859P1] "
What NLS configuration have you?
A10!
null -
RMAN-00600: internal error
Hi every-one!
Now I have Oracle RAC 10.2.0.4 on AIX p595.
Normally, about 2 years, I backup by RMAN;
BACKUP DATABASE;
but from Yesterday, when using BACKUP DATABASE, it causes error as bellow:
RMAN> backup database;
Starting backup at 2011-04-11 10:02:59
using target database control file instead of recovery catalog
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: sid=9782 instance=oltpdb2 devtype=SBT_TAPE
channel ORA_SBT_TAPE_1: Data Protection for Oracle: version 5.4.1.0
allocated channel: ORA_SBT_TAPE_2
channel ORA_SBT_TAPE_2: sid=10436 instance=oltpdb2 devtype=SBT_TAPE
channel ORA_SBT_TAPE_2: Data Protection for Oracle: version 5.4.1.0
allocated channel: ORA_SBT_TAPE_3
channel ORA_SBT_TAPE_3: sid=9502 instance=oltpdb2 devtype=SBT_TAPE
channel ORA_SBT_TAPE_3: Data Protection for Oracle: version 5.4.1.0
allocated channel: ORA_SBT_TAPE_4
channel ORA_SBT_TAPE_4: sid=9489 instance=oltpdb2 devtype=SBT_TAPE
channel ORA_SBT_TAPE_4: Data Protection for Oracle: version 5.4.1.0
allocated channel: ORA_SBT_TAPE_5
channel ORA_SBT_TAPE_5: sid=9912 instance=oltpdb2 devtype=SBT_TAPE
channel ORA_SBT_TAPE_5: Data Protection for Oracle: version 5.4.1.0
allocated channel: ORA_SBT_TAPE_6
channel ORA_SBT_TAPE_6: sid=9396 instance=oltpdb2 devtype=SBT_TAPE
channel ORA_SBT_TAPE_6: Data Protection for Oracle: version 5.4.1.0
allocated channel: ORA_SBT_TAPE_7
channel ORA_SBT_TAPE_7: sid=9120 instance=oltpdb2 devtype=SBT_TAPE
channel ORA_SBT_TAPE_7: Data Protection for Oracle: version 5.4.1.0
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 04/11/2011 10:03:29
RMAN-00600: internal error, arguments [13205] [] [] [] []
RMAN>
But when I try to backup
BACKUP TABLESPACE USERS;
Iit is OK.
Pls help me!Hi,
Probably you have hit Bug 6325947.
You could try to limit your files per set or your piece size.
Regards,
Tycho -
Rman dupicate db skip tablespace not working reserved words with quoates
This is how the script looks like
set newname for datafile '/oracle/oracle10.2/oradata/smalldb/users01.dbf' to '/oracle/staging/TEST1/users01.dbf';
set newname for datafile '/oracle/oracle10.2/oradata/smalldb/system01.dbf' to '/oracle/staging/TEST1/system01.dbf';
set newname for datafile '/oracle/oracle10.2/oradata/smalldb/sysaux01.dbf' to '/oracle/staging/TEST1/sysaux01.dbf';
set newname for datafile '/oracle/oracle10.2/oradata/smalldb/undotbs01.dbf' to '/oracle/staging/TEST1/undotbs01.dbf';
duplicate target database to TEST123
SKIP TABLESPACE 'USERS2', 'USERS3', 'CATALOG'
PFILE= '/oracle/staging/test123init.ora'
LOGFILE
'/oracle/staging/TEST1/redo01.log' SIZE 4096K reuse,
'/oracle/staging/TEST1/redo02.log' SIZE 4096K reuse,
'/oracle/staging/TEST1/redo03.log' SIZE 4096K reuse;
contents of Memory Script:
set until scn 12748962;
set newname for datafile 1 to
"/oracle/staging/TEST1/system01.dbf";
set newname for datafile 2 to
"/oracle/staging/TEST1/undotbs01.dbf";
set newname for datafile 3 to
"/oracle/staging/TEST1/sysaux01.dbf";
set newname for datafile 4 to
"/oracle/staging/TEST1/users01.dbf";
restore
check readonly
clone database
skip tablespace USERS3,
USERS2,
CATALOG ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code for command Duplicate Db : 600
RMAN-00600: internal error, arguments [8049] [] [] [] []
**RMAN-01009: syntax error: found "catalog": expecting one of: "double-quoted-string, identifier, single-quoted-string"**
RMAN-01007: at line 16 column 2 file: Memory Script
I tried single quote and double quote but it did not work.
Any idea what is going wrong here ?
-RohitWhat oracle version? Check the DB alert log files for information about the internal error. Other thing is RMAN may be getting confused with the 'CATALOG' tablespace with it being a reserved word in RMAN in generating the internal script - may be a bug.
See in the internal script:
skip tablespace USERS3,
USERS2,
CATALOG ;The internal script gets an error once it reaches CATALOG even though you've quoted it in the original script. For example:
RMAN> list copy of tablespace CATALOG;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "catalog": expecting one of: "double-quoted-string, identifier, single-quoted-string"
RMAN-01007: at line 1 column 25 file: standard inputwhereas with quotes should work (untested).
Edited by: Stellios on Oct 14, 2009 11:37 AM -
Error while registering RMAN from primary to catalog database
Hi all,
Here we have a 10g dataguard environment with db1(db_unique_name) as primary and db2(db_unique_name) as physical standby database. Also we configured one schema on a third machine as catalog database using following steps.
The steps executed in catalog database(appsdb):
SQL> create tablespace rmancatlog_tbs datafile '/u01/app/oracle/oradata/NEW/rman_catalog.dbf' size 500M autoextend off extent management local segment space management auto;
SQL> create user rman identified by oracle
2 default tablespace rmancatlog_tbs
3 quota unlimited on rmancatlog_tbs
4 ;
SQL> GRANT connect, resource, recovery_catalog_owner TO rman;
RMAN> create catalog;
recovery catalog created
Added tns entries of catalog database in primary and standby. Then from primary database we tried to register to catalog database. It is showing that it is registering. But every query afterwards in rman is throwing the error. Below are the steps and error:
[oracle@db1 ~]$ rman target sys/oracle catalog rman/oracle@appsdb
Recovery Manager: Release 10.2.0.3.0 - Production on Mon Aug 13 21:39:32 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: NIOS (DBID=1589015669)
connected to recovery catalog database
RMAN> register database;
database registered in recovery catalog
RMAN> report schema;
Report of database schema
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of report command at 10/08/2012 06:16:06
RMAN-00600: internal error, arguments [8201] [] [] [] []
Can anyone help regarding this error?
Thanks in advance.on resync catalog it is throwing no output or error.
but it shows same error afterwards.
RMAN> resync catalog;
RMAN> report schema;
Report of database schema
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of report command at 10/09/2012 03:55:53
RMAN-00600: internal error, arguments [8201] [] [] [] [] -
RMAN Error - restore database validate
Hi all
I am trying to validate a full database backup taken on tape using 'restore database validate' command but for some reason this command spits out multi-page long PL/SQL code (below truncated output). I have searched all over for a solution but can't seem to figure out the problem.
Any assistance will be appreciated.
RMAN> allocate channel for maintenance type SBT_TAPE parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
2> crosscheck backup;
3> restore database validate;
4> release channel;
5> exit;
allocated channel: ORA_MAINT_SBT_TAPE_1
channel ORA_MAINT_SBT_TAPE_1: SID=82 device type=SBT_TAPE
channel ORA_MAINT_SBT_TAPE_1: Data Protection for Oracle: version 5.4.1.0
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=c-822607628-20101006-02 RECID=66 STAMP=731711718
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=DB_20101007_77_2dlpsj84_1_1.dbf RECID=67 STAMP=731794692
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=CF_20101008_116_3klpt5iv_1_1.ctl RECID=106 STAMP=731813472
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=c-822607628-20101008-01 RECID=107 STAMP=731813518
Crosschecked 42 objects
Starting restore at 08-OCT-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=110 device type=DISK
DBGANY: CMD type=IRESTORE cmdid=1 status=NOT STARTED
DBGANY: 1 STEPstepid=1 cmdid=1 status=NOT STARTED devtype=SBT_TAPE bs.stamp=731812991 step_size=0 Bytes
DBGANY: 1 TEXTNOD = -- rsdf_start
DBGANY: 2 TEXTNOD = declare
DBGANY: 3 TEXTNOD = /* restoreStatus */
DBGANY: 4 TEXTNOD = state binary_integer;
DBGANY: 5 TEXTNOD = pieces_done binary_integer;
DBGANY: 6 TEXTNOD = files binary_integer;
DBGANY: 7 TEXTNOD = datafiles boolean;
DBGANY: 8 TEXTNOD = incremental boolean;
DBGANY: 9 TEXTNOD = device boolean;
DBGANY: 10 TEXTNOD = /* restorebackuppiece */
DBGANY: 11 TEXTNOD = done boolean;
DBGANY: 12 TEXTNOD = currcf boolean;
DBGANY: 266 TEXTNOD = sys.dbms_backup_restore.restoreCancel(FALSE);
DBGANY: 267 TEXTNOD = exception
DBGANY: 268 TEXTNOD = when others then
DBGANY: 269 TEXTNOD = krmicd.writeMsg(1005,
DBGANY: 270 TEXTNOD = 'c. dbms_backup_restore.restoreCancel() failed');
DBGANY: 271 TEXTNOD = end;
DBGANY: 272 TEXTNOD = sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
DBGANY: 273 TEXTNOD = end;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
RMAN-00600: internal error, arguments [6000] [] [] [] []Hi Sybrand
So here's the deal:
1) 'backup validate database;' is run before RMAN backup to check for any logical or physical corruption in datafiles or archivelogs.
If the backup validation discovers corrupt blocks, then RMAN updates the V$DATABASE_BLOCK_CORRUPTION view with rows describing the corruptions.
2)
a- 'restore database validate;' is run after RMAN backup to check for any logical or physical corruption in backupsets.
b- 'validate backupset <n>;' is also run after RMAN backup to check for any logical or physical corruption in backupsets. The difference being you have to run it for each individual backupset as opposed to the previous option (2a), which loops through all existing backupsets.
I believe for now only option 2b is available for use in my case.
Cheers. -
Problem with time based rman recovery
Hi and happy boxing day:
I am following by the letter the instructions in Sybex FundamentalsII book p.348 regarding an rman time based recovery. Here is the syntax:
RMAN> run {
2> allocate channel ch1 type disk;
3> set until time 'DEC 26 2007 10:30:00';
4> restore database;
5> recover database;
6> sql 'alter database open resetlogs';
7> }
and here is the error:
allocated channel: ch1
channel ch1: sid=11 devtype=DISK
executing command: SET until clause
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of set command at 12/26/2007 11:06:45
ORA-01858: a non-numeric character was found where a numeric was expected
Is this a format issue? Any tips please!
Thanks,
DAYou can only register a database once if you are using a recovery catalog, so whoever or whatever told you to re-register is simply getting their terminology in a knot!
There **is** a sort-of "re-register" command which does sometimes need to be issued after a resetlogs: it's called a RESET command. See http://tinyurl.com/29t5lr for details. A "reset" is, effectively, a "re-register".
One of the details you will see is that you only need to do a manual reset if it was **you** that issued a resetlogs, outside of RMAN. If you get RMAN to do the resetlogs, however, then there's no need to also issue the reset command, because RMAN already knows about it (and has already updated its own metadata accordingly).
The other thing you'll notice from the documentation is that if you aren't using a recovery catalog then the concept of issuing a reset is entirely redundant. That's because you can't recover to a prior incarnation of the database without a catalog: it's one of the main reasons for wanting to run in catalog mode in the first place. No catalog = no ability to step through incarnations = no need to inform RMAN that you're in a new incarnation. -
DBGSQL: RCVCAT> begin dbms_rcvman.findSpfileBackup( allCopies => TRUE, rmanCmd => dbms_rcvman.restoreCmd_t); end; [10:37:16.635]
DBGSQL: sqlcode = 6550 [10:37:16.635]
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code for command restore : 600
RMAN-00600: internal error, arguments [9302] [6550] [begin dbms_rcvman.findSpfileBackup( allCopies => TRUE, rmanCmd => dbms_rcvman.restoreCmd_t); end; ] [] []
RMAN-06004: ORACLE error from recovery catalog database: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'FINDSPFILEBACKUP'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
pls any one help me out
Thanks!Since you say nothing about your OS and database version and we also don't know,which command produces this error, only a vague guess is possible, COULD be
Bug 7633694: RESTORE SPFILE LS-00306: WRONG NUMBER OR TYPES OF ARGUMENTS 'FINDSPFILEBACKUP' .
IF this bug is hit possible workarounds are:
1) Don't use a 11gR1 catalog
2) don't use spfile,keep a text based pfile
3) upgrade to 11gR2 (IF your OS is Linux or Solaris)
Werner -
RMAN-06023: no backup or copy of datafile 12 found to restore
Hi
I'm getting the above error when trying to create a duplicate database on the same server.
Steps
1) Create backup.
CONFIGURE CONTROLFILE AUTOBACKUP ON;
backup as copy
incremental level 0
spfile
database
include current controlfile;
2) Restore / Duplicate
Have database orcl2 which is on the same server as ORCL1. Performing a no catalog recovery.
I get the following error.
executing Memory Script
executing command: SET until clause
Starting restore at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=555 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 16:02:24
RMAN-01005: not all datafiles have backups that can be recovered to scn 666967
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 12 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
All the datafiles are not found. Not sure how this is possible as I just did the backup.
Command for Duplication :
DUPLICATE TARGET DATABASE TO ORCL2
DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
SPFILE
PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
Additional Information
RMAN> list backup
2> ;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
13 Full 16.77M DISK 00:00:01 14-MAR-11
BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20110314T155530
Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\ORCL1\AUTOBACKUP\2011_03_14\O1_
MF_S_745775730_6QWWOM7G_.BKP
SPFILE Included: Modification time: 14-MAR-11
SPFILE db_unique_name: ORCL1
Control File Included: Ckp SCN: 731378 Ckp time: 14-MAR-11
RMAN>
Any help would be appreciated.
Thanks.ORADBA , thank you for your help.
Did as you suggested but still getting the same error
RMAN> DUPLICATE TARGET DATABASE TO ORCL2
2> DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
3> SPFILE
4> PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
5> SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
6> until scn = 666967;
Starting Duplicate Db at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=537 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 18:12:47
RMAN-06136: ORACLE error from auxiliary database: ORA-01565: error in identifyin
g file 'C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
RMAN> exit
Recovery Manager complete.
C:\Documents and Settings\Administrator>rman target sys/mariorun@orcl1 nocatalog
Recovery Manager: Release 11.1.0.7.0 - Production on Mon Mar 14 18:13:20 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ORCL1 (DBID=1129792691)
using target database control file instead of recovery catalog
RMAN> connect auxiliary sys/mariorun@orcl2
connected to auxiliary database: ORCL2 (not mounted)
RMAN>
RMAN> DUPLICATE TARGET DATABASE TO ORCL2
2> DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
3> SPFILE
4> PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
5> SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
6> until scn = 666967;
Starting Duplicate Db at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=97 device type=DISK
contents of Memory Script:
set until scn 666967;
restore clone spfile to 'C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA';
sql clone "alter system set spfile= ''C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFIL
EORCL2.ORA''";
executing Memory Script
executing command: SET until clause
Starting restore at 14-MAR-11
using channel ORA_AUX_DISK_1
WARNING: A restore time was estimated based on the supplied UNTIL SCN
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring SPFILE
output file name=C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA
channel ORA_AUX_DISK_1: reading from backup piece D:\ORACLE\FAST_RECOVERY_AREA\O
RCL1\AUTOBACKUP\2011_03_14\O1_MF_S_745775730_6QWWOM7G_.BKP
channel ORA_AUX_DISK_1: piece handle=D:\ORACLE\FAST_RECOVERY_AREA\ORCL1\AUTOBACK
UP\2011_03_14\O1_MF_S_745775730_6QWWOM7G_.BKP tag=TAG20110314T155530
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
Finished restore at 14-MAR-11
sql statement: alter system set spfile= ''C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFI
LEORCL2.ORA''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL2'' comment=
''duplicate'' scope=spfile";
sql clone "alter system set audit_file_dest =
''c:\oracle\ora11g\admin\orcl2\adump'' comment=
'''' scope=spfile";
sql clone "alter system set control_files =
''c:\oracle\ora11g\oradata\orcl2\control01.ctl'', ''c:\oracle\ora11g\oradata\or
cl2\control02.ctl'', ''c:\oracle\ora11g\oradata\orcl2\control03.ctl'' comment=
'''' scope=spfile";
sql clone "alter system set LOG_FILE_NAME_CONVERT =
''\orcl1'', ''\orcl2'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount ;
executing Memory Script
sql statement: alter system set db_name = ''ORCL2'' comment= ''duplicate'' sco
pe=spfile
sql statement: alter system set audit_file_dest = ''c:\oracle\ora11g\admin\orc
l2\adump'' comment= '''' scope=spfile
sql statement: alter system set control_files = ''c:\oracle\ora11g\oradata\orc
l2\control01.ctl'', ''c:\oracle\ora11g\oradata\orcl2\control02.ctl'', ''c:\oracl
e\ora11g\oradata\orcl2\control03.ctl'' comment= '''' scope=spfile
sql statement: alter system set LOG_FILE_NAME_CONVERT = ''\orcl1'', ''\orcl2''
comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 267825152 bytes
Fixed Size 1346712 bytes
Variable Size 100664168 bytes
Database Buffers 163577856 bytes
Redo Buffers 2236416 bytes
contents of Memory Script:
set until scn 666967;
set newname for datafile 1 to
"D:\ORACLE\ORADATA\ORCL2\SYSTEM01.DBF";
set newname for datafile 2 to
"D:\ORACLE\ORADATA\ORCL2\SYSAUX01.DBF";
set newname for datafile 3 to
"D:\ORACLE\ORADATA\ORCL2\UNDOTBS01.DBF";
set newname for datafile 4 to
"D:\ORACLE\ORADATA\ORCL2\IM_DATA_01.DAT";
set newname for datafile 5 to
"D:\ORACLE\ORADATA\ORCL2\IM_IDX_01.DAT";
set newname for datafile 6 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_DATA_01.DAT";
set newname for datafile 7 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_DATA_02.DAT";
set newname for datafile 8 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_IDX_01.DAT";
set newname for datafile 9 to
"D:\ORACLE\ORADATA\ORCL2\IM_INV_IDX_02.DAT";
set newname for datafile 10 to
"D:\ORACLE\ORADATA\ORCL2\IM_PROC_LOG_01.DAT";
set newname for datafile 11 to
"D:\ORACLE\ORADATA\ORCL2\IM_PROC_NOLOG_01.DAT";
set newname for datafile 12 to
"D:\ORACLE\ORADATA\ORCL2\USERS01.DBF";
restore
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 14-MAR-11
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=555 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/14/2011 18:13:59
RMAN-01005: not all datafiles have backups that can be recovered to scn 666967
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 12 found to restore
RMAN-06023: no backup or copy of datafile 11 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
Any suggestions are appreciated. -
RMAN backup problme becasue of TSM
I Joined one call today , topic was RMAN backups problem because of TSM, I am wondering what is TSM, i guess Tivoli Storage manager...Not sure, and how it can effect RMAN Backup & its performance...Just trying to get general idea....
Yes, TSM is Tivoli Storage Manager which is IBM's backup/recovery/storage management product. RMAN needs a media manager interface to write to tapes, this is where TSM comes into play. It acts as this media manager passing off the data to write to tape. This is made possible via a library which TSM provides (an Oracle library link file is replaced with one pointing to the TSM library file) to inform RMAN of it's presence and enable it's use. There are also configuration settings (network timeout, throughput, client name, media server name, etc.) which to a great deal affect the performance of RMAN and TSM to the extent where backups may not be possible if setup incorrectly.
For more information you can look at the IBM site.
Hope this helps. -
Hi, I run RMAN TSPITR and got a RMAN-00600: internal error. could anyone see the follwing ouput and give some advice?
thanks.
------------------output from RMAN ---------------------
run{
allocate clone channel c1 type disk;
allocate clone channel c2 type disk;
recover tablespace "RMAN" until time '2002-Dec-16 13:19:10';
allocated channel: c1
channel c1: sid=10 devtype=DISK
allocated channel: c2
channel c2: sid=11 devtype=DISK
Starting recover at Dec 16 2002 17:00:09
printing stored script: Memory Script
# set the until clause
set until time "2002-Dec-16 13:19:10";
# restore the controlfile
restore clone controlfile to clone_cf;
# replicate the controlfile
replicate clone controlfile from clone_cf;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log for tspitr to a resent until time
sql 'alter system archive log current';
# resync catalog after controlfile restore
resync catalog;
executing script: Memory Script
executing command: SET until clause
Starting restore at Dec 16 2002 17:00:09
channel c1: starting datafile backupset restore
channel c1: restoring controlfile
output filename=/orabackup/aux/control01.ctl
channel c1: restored backup piece 1
piece handle=/orabackup/df_ECAZ3_56_1 tag=null params=NULL
channel c1: restore complete
Finished restore at Dec 16 2002 17:00:11
replicating controlfile
input filename=/orabackup/aux/control01.ctl
sql statement: alter database mount clone database
sql statement: alter system archive log current
starting full resync of recovery catalog
full resync complete
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00579: the following error occurred at 12/16/2002 17:00:21
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code: 600
RMAN-03013: command type: recover
RMAN-00600: internal error, arguments [5502] [] [] [] []Is the receovery catalog in the same database you want to recover?
-
Had ipad2 crash during ios 8.1 update, tried different things to make it work, ended up booting as new. Tried on a couple different days to restore from clould and it says server not avaible, would love to get the info back, any suggestions?
Can someone tell me the implications of using the command RESET DATABASE on my system days after I did the open reset logs? I opened the database with the ALTER DATABASE OPEN RESETLOGS in SQL not RMAN and I see the below note.....
Re: Can't get dataguard to recover after SAN crash.
To reset the incarnation of the target database in the RMAN repository, which means to do either of the following actions:
•Inform RMAN that the SQL statement ALTER DATABASE OPEN RESETLOGS has been executed and that a new incarnation of the target database has been created. Note that if you run the RMAN command ALTER DATABASE OPEN RESETLOGS (not the SQL statement with the same keywords), then RMAN resets the target database automatically so that you do not have to run RESET DATABASE. By resetting the database, RMAN considers the new incarnation as the current incarnation of the database. -
Point in Time Duplicate failing
Attempting to Duplicate database from a backup taken 3 weeks ago and received the following:
printing stored script: Memory Script
switch clone datafile all;
executing script: Memory Script
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/26/2009 14:19:14
RMAN-03015: error occurred in stored script Memory Script
RMAN-00600: internal error, arguments [7002] [0] [7886] [] []
RMAN command looks like:
RMAN> run
2> {
3> set until time "to_date('08-10-2009 15:00:00','dd-mm-yyyy hh24:mi:ss')";
4> duplicate target database to <aux db>;
5> }
haven't seen much info on the above error... Just looking for a next step.
ThanksPrimary:
SQL> show parameter undo
NAME TYPE VALUE
undo_management string AUTO
undo_retention integer 3600
undo_suppress_errors boolean FALSE
undo_tablespace string UNDOTBS_1
SQL> select * from dba_data_files where file_id = 14;
FILE_NAME
FILE_ID TABLESPACE_NAME BYTES BLOCKS STATUS
RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY USER_BYTES USER_BLOCKS
/u02/oradata/vprd2/undotbs_1.dbf
14 UNDOTBS_1 2097152000 256000 AVAILABLE
14 YES 3.4360E+10 4194302 1 2097086464 255992
Oracle version is 9.2.0.4
I believe I have followed the procedures correctly. db_file_name_convert and log_file_name_convert parameters are set on auxiliary db:
Auxiliary:
SQL> show parameter convert
NAME TYPE VALUE
db_file_name_convert string /u02/oradata/vprd2, /u02/orada
ta/vcost
log_file_name_convert string /u03/redo/vprd2, /u02/oradata/
vcost, /u02/oradata/vprd2, /u0
2/oradata/vcost
I am trying to restore from backup taken on October 8th. Full backup on October 2nd, Incrementals nightly and archive log backups hourly from primary.
Only problem with duplicate is with the alter database open resetlogs.
Maybe you are looking for
-
Problem with the creation of a new user
Hi! II want to create new user in the database but i have this message: this entry already exists in the following tables (CUMI). This user doesn't exists and we haven't deleted users. When I am going to see in the table OUSR I have 19 users But when
-
How to run Adobe Air App as Windows Service
I am working on Adobe Air application. Everything about coding and configuration have been good so far but I have some major road blocks down the road: 1. Schedule my application to run at certain time. 2. Run the application in the System Tray like
-
Report GRR2 lib 6P2- activity quantity Hours in column,project def in row
Hi expert, i have created a Report in lyb 6P2. i have proj definition "6PPSPID" in the row and i wolud like to have quantityof the hours of the activity type spent at project definition level, i mean i need a total of the hours spent on all the WbE t
-
when I am at a website, and there is a picture that says click to enlarge, I will click on it, a window opens, but nothing is there. this works when just trying to open anything that should open in its own window. I have uninstalled firefox, reinstal
-
Window Phone problem with photographs.
Hİ. I have bought a Nokia Lumia with Windows Phone 8.1 and I use a PC with Windows 8 O.S. Now there is a problem I cannot understand. The pictures in the Web sites I have visited a few months ago and some of the pictures stored on my PC comes to my p