Error : RMAN-06054
Hi,
I get the error "Error : RMAN-06054" when I try to recover a full database backup.
The backup command used was:
BACKUP DATABASE PLUS ARCHIVELOG;
In my tests, when I dont remove the ONLINE redo log files the recovering works OK!
I use auto backup controlfile configuration.
Thank you,
Faria
I get the same problem. I followed this guide:
http://www.orafusion.com/art_rman3.htm
and get the error:
RMAN-00571: ==============================
RMAN-00569: =ERROR MESSAGE STACK FOLLOWS =
RMAN-00571: ===============================
RMAN-03002: failure of recover command at 04/01/2005 14:14:43
RMAN-06054: media recovery requesting unknown log: thread 1 scn 32230460
How to avoid it?
Similar Messages
-
first, i backup all datafiles. then i delete the datafile of system tablesapce.
then i recover database by recovery manager. it makes these errors.i do not
how slove it.i nees help,i will thank ereryone who help me
RMAN-03022: compiling command: recover(4)
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover(4)
RMAN-06054: media recovery requesting unknown log: thread 1 scn 1869941
nullWhy don't review your syntax of your recover statements? Maybe there're some surprises waiting for you.
-
RMAN-06054: media recovery requesting unknown archived log
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/16/2013 09:03:43
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 34751 and starting SCN of 8923445274I am receiving the error above on performing RMAN Active cloning, please advise how to resolve thisIn addition to what was said, I can think of two other possibilities for RMAN-6054 during duplicate: bugs such as 12625205 (also see 8554110); duplicate was run earlier without removing the old restored files (Note 1549172.1). In the first case, just specify SCN or find the actual log file and speficy log sequence, instead of time. In the latter case, remove the old restored files or speficy noresume.
Edited by: user11989003 on May 29, 2013 10:17 AM -
RMAN Active Cloning fails with RMAN-06054: missing log file
Version Details:
O.S Version HP-UX B.11.31 U ia64
Oracle DB Version 11.2.0.3.0
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Scenario :
Using RMAN Active cloning to duplicate a RAC database from Production to Development environment.
Problem:
At the end of the cloning the below errors are reported;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/14/2013 07:03:43
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 24751 and starting SCN of 89285945274
RMAN Script used for Active cloning:
#!/bin/ksh
. setdb entDBu
start_dt=`date +%Y%m%d_%H%M`
job=`basename $0 ".sh"`
rman >> ${job}_${start_dt}.log 2>&1 <<eof
set echo on;
connect target sys/@DCC&(_O@entDBp1
connect auxiliary sys/@DCC&(_O@entDBuu
run {
allocate channel prmy1 type disk;
allocate auxiliary channel stby1 type disk;
duplicate target database
to entDBu
from active database pfile=/app/oracle/product/11.2.0.3/db/dbs/initentDBu.ora;
show all;
exit
eof
end_dt=`date +%Y%m%d_%H%M`
mailx -s "DR RMAN Job: $job done" "[email protected]" <<eof2
started: ${start_dt}
finish: ${end_dt}
eof2How to prevent the error of RMAN-06054: media recovery requesting unknown archived log for thread with sequence and starting SCN of while performing the RMAN Active Cloning? I do NOT want to use UNTIL clause.Sivaprasad S wrote:
Version Details:
O.S Version HP-UX B.11.31 U ia64
Oracle DB Version 11.2.0.3.0
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Scenario :
Using RMAN Active cloning to duplicate a RAC database from Production to Development environment.
Problem:
At the end of the cloning the below errors are reported;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/14/2013 07:03:43
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 24751 and starting SCN of 89285945274RMAN Script used for Active cloning:
#!/bin/ksh
. setdb entDBu
start_dt=`date +%Y%m%d_%H%M`
job=`basename $0 ".sh"`
rman >> ${job}_${start_dt}.log 2>&1 <<eof
set echo on;
connect target sys/@DCC&(_O@entDBp1
connect auxiliary sys/@DCC&(_O@entDBuu
run {
allocate channel prmy1 type disk;
allocate auxiliary channel stby1 type disk;
duplicate target database
to entDBu
from active database pfile=/app/oracle/product/11.2.0.3/db/dbs/initentDBu.ora;
show all;
exit
eof
end_dt=`date +%Y%m%d_%H%M`
mailx -s "DR RMAN Job: $job done" "[email protected]" <<eof2
started: ${start_dt}
finish: ${end_dt}
eof2How to prevent the error of RMAN-06054: media recovery requesting unknown archived log for thread with sequence and starting SCN of while performing the RMAN Active Cloning? I do NOT want to use UNTIL clause.Where UNTIL clause in your script I didn't saw.
Please try following RMAN script
DUPLICATE TARGET DATABASE FOR STANDBY
FROM ACTIVE DATABASE
SPFILE
SET "control_files"="/u01/app/oracle/oradata/stbdbcontrol01.ctl"
SET "db_name"="prmdb"
SET "db_unique_name"="stbdb"
SET "db_file_name_convert"="/u01/app/oracle/oradata/prmdb","/u01/app/oracle/oradata/stbdb"
SET "log_file_name_convert"="/u01/app/oracle/oradata/prmdb","/u01/app/oracle/oradata/stbdb"
SET "db_recovery_file_dest"="/u01/app/oracle/fra"
SET "diagnostic_dest"=/u01/app/oracle"
SET "audit_file_dest"="/u01/app/oracle/admin/stbdb/adump"
PASSWORD FILE
NOFILENAMECHECK;
{code}
Please change parameters for your environment.
Regards
Mahir M. Quluzade -
RAC instance, trying to recover UNDO datafile, RMAN gives RMAN-06054
Hello all,
This has been a troublesome instance..a quick bit of background. This was created awhile back by someone else, I inherited this 3 mode RAC clusterof instance1.
I'm exporting out of one database (10G) into this instance1 (11G). When I was about to start the import..I found this instance wouldn't start. Turned out no backup had been going on of this empty instance. I backed up the archive logs to tape to free up the FRA..and things fired up.
I began the import, and found a bunch of errors...basically tellling me that I couldn't access one of the undo tablespaces...datafile problems.
I went to look and saw:
SQL> select a.file_name, a.file_id, b.status, a.tablespace_name
2 from dba_data_files a, v$datafile b
3 where a.file_id = b.file#
4 order by a.file_name;
FILE_NAME FILE_ID STATUS TABLESPACE_NAME
+DATADG/instance1/datafile/sysaux.270.696702269 2 ONLINE SYSAUX
+DATADG/instance1/datafile/system.263.696702253 1 SYSTEM SYSTEM
+DATADG/instance1/datafile/undotbs1.257.696702279 3 ONLINE UNDOTBS1
+DATADG/instance1/datafile/undotbs2.266.696702305 4 ONLINE UNDOTBS2
+DATADG/instance1/datafile/undotbs3.269.696702313 5 RECOVER UNDOTBS3
+DATADG/instance1/datafile/users.268.696702321 6 ONLINE USERS
+DATADG/instance1/l_data_01_01 11 ONLINE L_DATA_01
+DATADG/instance1/s_data_01_01 7 ONLINE S_DATA_01
+DATADG/instance1/s_data_01_02 8 ONLINE S_DATA_01
+INDEXDG/instance1/l_index_01_01 12 ONLINE L_INDEX_01
+INDEXDG/instance1/s_index_01_01 9 ONLINE S_INDEX_01
FILE_NAME FILE_ID STATUS TABLESPACE_NAME
+INDEXDG/instance1/s_index_01_02 10 ONLINE S_INDEX_01
There is is, file #5.
So, I went into RMAN to try to restore/recover:
RMAN> restore datafile 5;
Starting restore at 06-APR-10
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=222 instance=instance1 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: NMO v4.5.0.0
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=222 instance=instance1 device type=DISK
creating datafile file number=5 name=+DATADG/instance1/datafile/undotbs3.269.696702313
restore not done; all files read only, offline, or already restored
Finished restore at 06-APR-10
RMAN> recover datafile 5;
Starting recover at 06-APR-10
using channel ORA_SBT_TAPE_1
using channel ORA_DISK_1
starting media recovery
RMAN-06560: WARNING: backup set with key 343546 will be read 2 times
available space of 8315779 kb needed to avoid reading the backup set multiple times
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/06/2010 14:33:07
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 16016
This is all on ASM, and am a bit of a newb with that. I bascially have no data I'm worried about losing, I just need to get everything 'on the air' so I can import successfully, and let users on this instance. I've set up the backups in GRID now....so, it will be backed up on the future, but what is the quickest, most efficient way to get this UNDO tablespace datafile recovered?
Thank you,
cayenneHemant K Chitale wrote:
SET UNTIL SEQUENCE 27wouldn't work if the Recovery requires Sequence 1 and it is missing.
Hemant K ChitaleOops...meant to have start and set until both to "1"
However, I see what you mean. It seems I cannot find the file on tape.
Since the RAC instance hasn't yet had any data put into it, I'm thinking it might be best to just blow it away, and recreate everything.
Trouble is, I'm a bit new at RAC and ASM. I was thinking the best route might be to use DBCA to remove the database...? Would this not take care of removing all the datafiles from all the ASM instances on the RAC..as well as all the other directories, etc on all 3x nodes?
I've already used the dbca to create templates of this instance, so recreation shouldn't be too difficult (although it will be my first RAC creation)...
Thank you in advance for the advice so far,
cayenne -
ORA-12560: TNS:protocol adapter error rman
hello all,
i am on xp, and 10.2 oracle version....i created a dummy database with name comp using dbca...used FRA and took a backup though rman....i have teh backup now in FRA....
I droped the database to do a test restore...but i cant even login to rman or sqlplus ??? i was able to login to rman before to take a backup....but now i cant.... could not figure out why...any help would be appericiated....
C:\oracle\sql>set ORACLE_SID=comp
C:\oracle\sql>
C:\oracle\sql>echo %ORACLE_SID%
comp
C:\oracle\sql>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 09:54:16 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12560: TNS:protocol adapter error
C:\oracle\sql>
C:\oracle\sql>
C:\oracle\sql>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUL-2011 09:54:20
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxx)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 06-JUL-2011 09:53:53
Uptime 0 days 0 hr. 0 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=1521)))
Services Summary...
Service "COMP" has 1 instance(s).
Instance "COMP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\oracle\sql>user8363520 wrote:
hello all,
i am on xp, and 10.2 oracle version....i created a dummy database with name comp using dbca...used FRA and took a backup though rman....i have teh backup now in FRA....
I droped the database to do a test restore...but i cant even login to rman or sqlplus ??? i was able to login to rman before to take a backup....but now i cant.... could not figure out why...any help would be appericiated....
If you have backup and you dropped database then you can create it again.
1) Create directories for background,user,audit dumpdest and control,online log,datafiles.
2) Create OracleServiceComp if that is not exists using ORADIM utility(oradim -new -sid COMP -intpwd <syspass> -pfile <pfile location>)
3) After starting oracle service
set ORACLE_SID=COMP
rman target /
/*if you do not have spfile also then you have to restore it from
full/auto backup or startup database using pfile(create it manually)*/
startup nomount ;
restore controlfile from 'full or autobackup location';
alter database mount;
catalog start with 'backup location';
restore database;
recover database;
alter database open resetlogs; -
Good morning,
When I do an incremental level0 backup I do have:
Starting backup at 21/07/06
released channel: bck_chan1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 07/21/2006 14:56:11
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archive log in the recovery catalog
I do the archive log current, my script is
run
sql "alter system archive log current";
allocate channel bck_chan1 type disk;
backup
incremental level = 0
format '/orabackup/CATGRID/rman/CATGRID_%s_%p_%t_inc0.bck'
tag 'CATGRID_fullinc_backup'
database;
# backup all archive logs
backup
filesperset 50
format '/orabackup/CATGRID/rman/CATGRID_%s_%p_%t_arch.bck'
(archivelog until time 'SYSDATE-1' delete input);
release channel bck_chan1;
any help will be very appreciate
FabriceYes, I made an 'archive log current'
with this command, all is working well
RMAN> crosscheck archivelog all;
Regards
Fabrice -
Hi,
Db :11.2.0.1
Os : Aix 6
we are doing refresh from production to test server using rman.We started instance and restored the control file.
we got the following error when execute restore script.
MAN> connect target *
2> RUN
3> {
4> allocate channel t1 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo_iit6.opt)';
5> allocate channel t2 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo_iit6.opt)';
6> allocate channel t3 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo_iit6.opt)';
7> allocate channel t4 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo_iit6.opt)';
8> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/system01.dbf' TO '+P7_DATAGROUP01/P7/system01.dbf';
9> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/sysaux01.dbf' TO '+P7_DATAGROUP01/P7/sysaux01.dbf';
10> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/undotbs01.dbf' TO '+P7_DATAGROUP01/P7/undotbs01.dbf';
11> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/users01.dbf' TO '+P7_DATAGROUP01/P7/users01.dbf';
12> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/tools01.dbf' TO '+P7_DATAGROUP01/P7/tools01.dbf';
13> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/two_kb_tbs.dbf' TO '+P7_DATAGROUP01/P7/two_kb_tbs.dbf';
14> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/wwfdata01.dbf' TO '+P7_DATAGROUP01/P7/wwfdata01.dbf';
15> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/wwfindex01.dbf' TO '+P7_DATAGROUP01/P7/wwfindex01.dbf';
16> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/ntwksdata01.dbf' TO '+P7_DATAGROUP01/P7/ntwksdata01.dbf';
17> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/ntwksindex01.dbf' TO '+P7_DATAGROUP01/P7/ntwksindex01.dbf';
18> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/emadata01.dbf' TO '+P7_DATAGROUP01/P7/emadata01.dbf';
19> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/emaindex01.dbf' TO '+P7_DATAGROUP01/P7/emaindex01.dbf';
20> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/scpodata01.dbf' TO '+P7_DATAGROUP01/P7/scpodata01.dbf';
21> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/scpoindex01.dbf' TO '+P7_DATAGROUP01/P7/scpoindex01.dbf';
22> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/igpdata01.dbf' TO '+P7_DATAGROUP01/P7/igpdata01.dbf';
23> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/ikeadata01.dbf' TO '+P7_DATAGROUP01/P7/ikeadata01.dbf';
24> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/ikeaindex01.dbf' TO '+P7_DATAGROUP01/P7/ikeaindex01.dbf';
25> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/fedata01.dbf' TO '+P7_DATAGROUP01/P7/fedata01.dbf';
26> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/indx01.dbf' TO '+P7_DATAGROUP01/P7/indx01.dbf';
27> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/prefstat01.dbf' TO '+P7_DATAGROUP01/P7/prefstat01.dbf';
28> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/support01.dbf' TO '+P7_DATAGROUP01/P7/support01.dbf';
29> SET NEWNAME FOR DATAFILE '+IIT6_DATAGROUP01/iit6/tmpscpix01.dbf' TO '+P7_DATAGROUP01/P7/tmpscpix01.dbf';
30> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo01a.log'' TO ''+P7_REDOGROUP01/P7/redo01a.log'' ";
31> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo02a.log'' TO ''+P7_REDOGROUP01/P7/redo02a.log'' ";
32> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo03a.log'' TO ''+P7_REDOGROUP01/P7/redo03a.log'' ";
33> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo01b.log'' TO ''+P7_REDOGROUP01/P7/redo01b.log'' ";
34> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo02b.log'' TO ''+P7_REDOGROUP01/P7/redo02b.log'' ";
35> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo03b.log'' TO ''+P7_REDOGROUP01/P7/redo03b.log'' ";
36> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo04a.log'' TO ''+P7_REDOGROUP01/P7/redo04a.log'' ";
37> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo04b.log'' TO ''+P7_REDOGROUP01/P7/redo04b.log'' ";
38> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo05a.log'' TO ''+P7_REDOGROUP01/P7/redo05a.log'' ";
39> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo05b.log'' TO ''+P7_REDOGROUP01/P7/redo05b.log'' ";
40> RESTORE DATABASE until time "to_date('2012-10:28-11:15:40','YYYY-MM-DD-HH24:MI:SS')";
41> SWITCH DATAFILE ALL;
42> release channel t1;
43> release channel t2;
44> release channel t3;
45> release channel t4;
46> }
47>
connected to target database: iit6 (DBID=3947283088, not open)
using target database control file instead of recovery catalog
allocated channel: t1
channel t1: SID=4975 device type=SBT_TAPE
channel t1: Data Protection for Oracle: version 5.5.2.1
allocated channel: t2
channel t2: SID=5427 device type=SBT_TAPE
channel t2: Data Protection for Oracle: version 5.5.2.1
allocated channel: t3
channel t3: SID=5879 device type=SBT_TAPE
channel t3: Data Protection for Oracle: version 5.5.2.1
allocated channel: t4
channel t4: SID=6331 device type=SBT_TAPE
channel t4: Data Protection for Oracle: version 5.5.2.1
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
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
sql statement: ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo01a.log'' TO ''+P7_REDOGROUP01/P7/redo01a.log''
sql statement: ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo02a.log'' TO ''+P7_REDOGROUP01/P7/redo02a.log''
sql statement: ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo03a.log'' TO ''+P7_REDOGROUP01/P7/redo03a.log''
sql statement: ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo01b.log'' TO ''+P7_REDOGROUP01/P7/redo01b.log''
released channel: t1
released channel: t2
released channel: t3
released channel: t4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 10/28/2012 12:47:47
RMAN-11003: failure during parse/execution of SQL statement: ALTER DATABASE RENAME FILE '+IIT6_REDOGROUP01/iit6/redo01b.log' TO '+P7_REDOGROUP01/P7/redo01b.log'
ORA-01511: error in renaming log/data files
ORA-01516: nonexistent log file, data file, or temporary file "+IIT6_REDOGROUP01/iit6/redo01b.log"
Recovery Manager complete.
we have the following data group in target machine.
P7_ARCHGROUP01/
P7_DATAGROUP01/
P7_REDOGROUP01/
P7_REDOGROUP02/
Any suggestions.
Thanks30> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo01a.log'' TO ''+P7_REDOGROUP01/P7/redo01a.log'' ";
31> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo02a.log'' TO ''+P7_REDOGROUP01/P7/redo02a.log'' ";
32> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo03a.log'' TO ''+P7_REDOGROUP01/P7/redo03a.log'' ";
33> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo01b.log'' TO ''+P7_REDOGROUP01/P7/redo01b.log'' ";
34> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo02b.log'' TO ''+P7_REDOGROUP01/P7/redo02b.log'' ";
35> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo03b.log'' TO ''+P7_REDOGROUP01/P7/redo03b.log'' ";
36> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo04a.log'' TO ''+P7_REDOGROUP01/P7/redo04a.log'' ";
37> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo04b.log'' TO ''+P7_REDOGROUP01/P7/redo04b.log'' ";
38> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo05a.log'' TO ''+P7_REDOGROUP01/P7/redo05a.log'' ";
39> SQL "ALTER DATABASE RENAME FILE ''+IIT6_REDOGROUP01/iit6/redo05b.log'' TO ''+P7_REDOGROUP01/P7/redo05b.log'' ";Check v$logfile and see the location of the member and use
SQL>ALTER DATABASE RENAME FILE '<old path>' TO 'new path';after do this comment the above lines and run script again . -
C:\>rman
Recovery Manager: Release 8.1.5.0.0 - Production
RMAN> connect rcvcat rman/rman@new4
RMAN-06008: connected to recovery catalog database
RMAN> connect target sys/change_on_install@new5
RMAN-06005: connected to target database: new5 (DBID=1527753793)
RMAN> run{
2> allocate channel d1 type disk ;
3> backup ( database format '/opt/oracle/oradata/bp/bp_%s_%p' ) ;
4> }
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: d1
RMAN-08500: channel d1: sid=8 devtype=DISK
RMAN-03022: compiling command: backup
RMAN-03023: executing command: backup
RMAN-08008: channel d1: starting full datafile backupset
RMAN-08502: set_count=2 set_stamp=437501496 creation_time=11-8TB -01
RMAN-08010: channel d1: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00001 name=/opt/oracle/oradata/system01.dbf
RMAN-08011: including current controlfile in backupset
RMAN-08522: input datafile fno=00007 name=/opt/oracle/oradata/drsys01.dbf
RMAN-08522: input datafile fno=00003 name=/opt/oracle/oradata/rbs01.dbf
RMAN-08522: input datafile fno=00004 name=/opt/oracle/oradata/temp01.dbf
RMAN-08522: input datafile fno=00005 name=/opt/oracle/oradata/users01.dbf
RMAN-08522: input datafile fno=00006 name=/opt/oracle/oradata/indx01.dbf
RMAN-08522: input datafile fno=00008 name=/opt/oracle/oradata/test01.dbf
RMAN-08522: input datafile fno=00002 name=/opt/oracle/oradata/oemrep01.dbf
RMAN-08013: channel d1: piece 1 created
RMAN-08503: piece handle=/opt/oracle/oradata/bp/bp_2_1 comment=NONE
RMAN-08525: backup set complete, elapsed time: 00:00:38
RMAN-03023: executing command: partial resync
RMAN-08003: starting partial resync of recovery catalog
RMAN-08005: partial resync complete
RMAN-08031: released channel: d1
RMAN> run{
2> allocate channel d1 type disk ;
3> restore database ;
4> recover database ;
5> release channel d1 ;
6> }
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: d1
RMAN-08500: channel d1: sid=8 devtype=DISK
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: d1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06003: ORACLE error from target database: ORA-01843: not a valid month
RMAN-06097: text of failing SQL statement: select decode(bitand(festa,(4096+128)
),128,fecps,4096,fecps,0) ,decode(bitand(festa,(4096+128)),128,281474976710655,4
096,controlfile_change#,0) ,decode(bitand(festa,(4096+128)),128,SYSDATE,4096,con
trolfile_time,to_date('JAN 01 1988','MON DD YYYY')) ,feofs ,feonc_scn ,to_date(n
vl(feonc_tim,'01/01/88 00:01:01'),'MM/DD/RR HH24:MI:SS') into :b1,:b2,:b3,:b4,:b
5,:b6 from x$kccfe ,v$database where (fenum=:b7 and fedup=1)Ben,
I can't say I've tried this, but maybe Gaby intended to point you to the initialization parameters in the init.ora file. There's more info at
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76961/ch1110.htm#33671
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76961/ch1106.htm#33656
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76961/ch12.htm#1188
(As to that third one: That's only valuable if the concept of "initialization parameter" is still unfamiliar to you.)
I hope that's a help.
. . . Garry -
Error rman-20021 while trying to backup dataabase
Hi,
I built a new instance 11g and tried to backup this database. My settings:
RMAN> show all
2> ;
RMAN-Konfigurationsparameter f³r Datenbank mit db_unique_name ORATOSHI sind:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT "C:\ORATOSHI_BACKUP\%U";
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BZIP2'; # default
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: Fehler bei show Befehl auf 07/12/2009 06:51:35
RMAN-20021: Datenbank nicht festgelegt
RMAN-06031: Datenbank-Schl³sselwort konnte nicht ³bersetzt werden
Where is my fault?
Please help me
Siegwinwith or without a repository?
how did you log onto RMAN?
can you translate the following:
RMAN-03002: Fehler bei show Befehl auf 07/12/2009 06:51:35
RMAN-20021: Datenbank nicht festgelegt
RMAN-06031: Datenbank-Schl³sselwort konnte nicht ³bersetzt werden
into English for us?
Thanks. -
hello everybody
i have a problem , when i try to registry a database apears the follow errro:
RMAN> register database;
starting full resync of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of register command at 10/21/2010 14:33:47
RMAN-03014: implicit resync of recovery catalog failed
RMAN-03009: failure of full resync command on default channel at 10/21/2010 14:33:47
RMAN-20079: full resync from primary database is not done
someone can i help me?Hello , thanks for reply
i try to follow that steps but i don´t know if i made some wrong
$ export ORACLE_SID=plascdm1
mxcpt5krks19ldc5 oracle OracleVersion:11.1.0 plascdm1 /export/home/oracle
$ rman target / catalog rman11g/xxxxx@rcat11g1
Recovery Manager: Release 11.1.0.7.0 - Production on Thu Oct 21 14:33:29 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: PLASCDM (DBID=637859704)
connected to recovery catalog database
RMAN>
RMAN>
RMAN> register database;
starting full resync of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of register command at 10/21/2010 14:33:47
RMAN-03014: implicit resync of recovery catalog failed
RMAN-03009: failure of full resync command on default channel at 10/21/2010 14:33:47
RMAN-20079: full resync from primary database is not done
RMAN> resync catalog;
starting full resync of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of resync command on default channel at 10/21/2010 14:46:59
RMAN-20079: full resync from primary database is not done
can you help me
Edited by: luix97 on 21/10/2010 12:52 PM
Edited by: luix97 on 21/10/2010 12:54 PM -
Hi,
I'm testing RMAN Backup on a new database,I first tested the backup and backup was successful.Now thet I need to test restoring the backup i'm getting error msg below.
"RMAN-06100: no channel to restore a backup or copy of datafile".
I'm not sure if the command I use is wrong,here is wat I did.Pls correct me if i'm wrong.I run following script
run {
shutdown immediate; # use abort if this fails
startup mount;
restore database;
recover database;
alter database open;
}Thank you everyone!! I manage to resolve the prblm.I did not include TDPO_OPTFILE path when I run the restore script. I tried the following script and now database is restoring.Haha.. I'm So happy.. Thank you so much for all the metalink notes id.
# Recovery database from backup tape
startup mount;
run {
set until time "to_date('17-OCT-2007 19:00:00','DD-MON-YYYY HH24:MI:SS')";
allocate channel t1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
restore database;
recover database ;
release channel t1;
alter database open resetlogs; -
Error RMAN connection to auxiliary database ORA- 12514
Hi,
I'm trying to make a clone of my database in another server but when I'm trying to connect as follow the RMAN return
to me the error ORA-12514.
C:\Documents and Settings\joses.morales>rman TARGET sys/pass@iswgen nocatalog
AUXILIARY sys/[email protected]
Recovery Manager: Release 8.1.7.4.1 - Production
RMAN-06005: connected to target database: ISWGEN (DBID=2348350645)
RMAN-06009: using target database controlfile instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
For more information:
- the auxiliary database is started whit nomount option.
- this is my listener.ora in the auxiliary host
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = oracle8)
(ORACLE_HOME = C:\oracle\ora81)
(SID_NAME = iswgen)
(SID_DESC =
(GLOBAL_DBNAME = oracle8)
(ORACLE_HOME = C:\oracle\ora81)
(SID_NAME = oracle8)
- this is my tnsnames.ora in the auxiliary host
ISWGEN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = iswgen)
ORACLE8 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oracle8)
- this is my tnsnames.ora in the target host
iswgen =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = gdcoracle)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = iswgen)
iswgen.wssp61 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = iswgen)
- target server: gdcoracle
- auxiliary server: wssp61
- global name in auxiliary: Oracle8
- intances in auxiliary: Oracle8 & Iswgen
I was expecting the follow message:
connected to target database: ISWGEN (DBID=519338572)
using target database control file instead of recovery catalog
connected to auxiliary database: ISWGEN.WSSP61 (not mounted)
Can anybody help me to resolve this error ORA-12514??
ThanksI'm try to connect to the auxiliary server at SQLPLUS and I get the follow:
C:\Documents and Settings\joses.morales>sqlplus /nolog
SQL*Plus: Release 8.1.7.0.0 - Production on Sex Jun 1 12:26:09 2007
(c) Copyright 2000 Oracle Corporation. All rights reserved.
SQL> conn sys@iswgen
Informe a senha:
ERROR:
ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
descitor de conexao
SQL> conn sys@iswgen as sysdba
Informe a senha:
ERROR:
ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
descitor de conexao
SQL> conn internal as sysdba
Conectado.
SQL>
Any sugestions?
Thanks everyone and regards -
RMAN-06054: media recovery requesting unknown log: thread 1 seq 300 lowscn
Got it dropped and recretaed - dont know why didnt work
Edited by: user3489571 on 14-Apr-2010 18:46The ALTER DATABASE REGISTER LOGFILE command in SQLPlus is for Standby and Streams implementation.
You should be using the CATALOG command in RMAN. -
Problem in recover physical standby database(Data Guard) by rman
Hello to all
I have created a physical standby database ,I want make backup of it by rman and when I lose it's datafile I can restore it ,making backup and restore is fine but in recovery I encounter some problem
scenarios is follow
1- In rman I create a backup of standby database by this command:
backup database plus archivelog delete all input;
2- I run this comman in rman for recover standby database
run{
2> set until scn 1392701;
3> restore database;
4> recover database;
5> }
(1392701 is extracted from this query "SELECT MAX(NEXT_CHANGE#)+1 UNTIL_SCN FROM V$LOG_HISTORY LH,
V$DATABASE DB WHERE LH.RESETLOGS_CHANGE#=DB.RESETLOGS_CHANGE# AND LH.RESETLOGS_TIME =
DB.RESETLOGS_TIME;" "http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rman.htm")
but RMAN result is like this:
executing command: SET until clause
Starting restore at 13-DEC-08
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from
backup set
restoring datafile 00001 to /u01/app/oracle/oradata/sari/system01.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/sari/undotbs01.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/sari/sysaux01.dbf
restoring datafile 00004 to /u01/app/oracle/oradata/sari/users01.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/sari/example01.dbf
restoring datafile 00006 to /u01/app/oracle/oradata/sari/users02.dbf
channel ORA_DISK_1: reading from backup piece /home/oracle/backup/0ek24dt4_1_1
channel ORA_DISK_1: restored backup piece 1
piece handle=/home/oracle/backup/0ek24dt4_1_1
tag=TAG20081213T042506
channel ORA_DISK_1: restore complete, elapsed time: 00:01:07
Finished restore at 13-DEC-08
Starting recover at 13-DEC-08
using channel ORA_DISK_1
starting media recovery
archive log thread 1 sequence 116 is already on disk as file /u01/app/oracle/oradata/archive/1_116_666786084.arc
archive log thread 1 sequence 117 is already on disk as file /u01/app/oracle/oradata/archive/1_117_666786084.arc
archive log filename=/u01/app/oracle/oradata/archive/1_116_666786084.arc thread=1 sequence=116
archive log filename=/u01/app/oracle/oradata/archive/1_117_666786084.arc thread=1 sequence=117
unable to find archive log
archive log thread=1 sequence=118
RMAN-03002: failure of recover command at 12/13/2008 05:14:13
RMAN-06054: media recovery requesting unknown log: thread 1
seq 118 lowscn 1392700
3- then I decline 1392701 to 1392700 and i run this command
run{
2> set until scn 1392700;
3> restore database ;
4> recover database;
5> }
executing command: SET until clause
Starting restore at 13-DEC-08
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from
backup set
restoring datafile 00001 to /u01/app/oracle/oradata/sari/system01.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/sari/undotbs01.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/sari/sysaux01.dbf
restoring datafile 00004 to /u01/app/oracle/oradata/sari/users01.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/sari/example01.dbf
restoring datafile 00006 to /u01/app/oracle/oradata/sari/users02.dbf
channel ORA_DISK_1: reading from backup piece /home/oracle/backup/0ek24dt4_1_1
channel ORA_DISK_1: restored backup piece 1
piece handle=/home/oracle/backup/0ek24dt4_1_1 tag=TAG20081213T042506
channel ORA_DISK_1: restore complete, elapsed time: 00:01:08
Finished restore at 13-DEC-08
Starting recover at 13-DEC-08
using channel ORA_DISK_1
starting media recovery
archive log thread 1 sequence 116 is already on disk as
file /u01/app/oracle/oradata/archive/1_116_666786084.arc
archive log thread 1 sequence 117 is already on disk as
file /u01/app/oracle/oradata/archive/1_117_666786084.arc
archive log filename=/u01/app/oracle/oradata/archive/1_116_666786084.arc thread=1
sequence=116archive log
filename=/u01/app/oracle/oradata/archive/1_117_666786084.arc
thread=1 sequence=117Oracle Error:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS
would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/u01/app/oracle/oradata/sari/system01.dbf'
media recovery complete, elapsed time: 00:00:10
Finished recover at 13-DEC-08
4- if I run
run{
restore database;
recover database;
I will recieve that error of step 2 (RMAN-06054: media recovery requesting unknown log: thread 1
seq 118 lowscn 1392700)
5- if I just restore the database and I don't perform recovery by rman and I restart redo apply all thing seem fine
but in opening database I'll recieve ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/u01/app/oracle/oradata/sari/system01.dbf' error)
do you know what is problem
thanks
Edited by: ARKH on Dec 12, 2008 11:06 PMhi
I myself have found the solution , when I recover the standby database
it do recovery but at the end of recovery it raise the error(RMAN-06054: media recovery requesting unknown log: thread 1
seq 118 lowscn 1392700) but if I begain redo apply before open the database
and I wait till all redo apply process start and communication between the
standby database and the primary database start, then I can
open the standby database and no error will raise
but if befor restarting redo apply I open the database I'll recieve the
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/u01/app/oracle/oradata/sari/system01.dbf' error
thanks
Maybe you are looking for
-
My GTX580 is not working with premiere cs6
I just bought a GTX580 in the hopes of getting faster rendering and exporting. Premiere says that it's enabled "Mercury playback engine GPU Acce..." But when i export the CPU works instead of the GPU, Any ideas? Thanks .
-
I tried to update my ipod touch 4 gen and it automatically shutoff and said connect to itunes on the screen. I did. it says it found an error restoring ipod, what do i do now to resttore my ipod back to working and functioning condition?
-
.SWF files usage in Catalog for B2B Webshop Display
Hi All, We are on CRM 5.0, We have a requirement to upload .swf or flash file in catalog and to display on the Webshop Home page. so far we are using .jpg file,we have not used .swf in E-commerce, does anyone has an idea if we can use .swf file in ca
-
Current setup - Dell Destop running Windows XP SP3 - iTunes 10.5 as of 11/02/2011 - iPad 2 iOS 5.0 as of 11/02/2011 I recently got the error message iTunes cannot sync apps to iPad "ipadName" because the apps installed on the iPad could not be determ
-
First opening tab tells me my firefox is up to date. Second one is for some kind of addon's checker which doesn't appear to work and opens each time I open firefox. I wish both to go away.