Rman with error RMAN-06054
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
null
Why don't review your syntax of your recover statements? Maybe there're some surprises waiting for you.
Similar Messages
-
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 -
RMAN backup in RAC failing with error ORA-19566
Hi all, i have 2 node RAC and i am trying to take rman backup of the database which is in ASM filesystem.
There is a corruption in SYSAUX file and rman is failing to take backup of the sysaux datafile and error thrown at the end like
piece handle=/home/oracle/orabackup/BLOOM_LVL0_20120627_1qnejueh_s58_p1 tag=TAG20120627T185538 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:56
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/27/2012 18:56:17
*ORA-19566: exceeded limit of 0 corrupt blocks for file +DATA/bloom/datafile/sysaux.257.775475317*
Then i tried to validate the backup in rman of the datafile sysaux nad fired the following query
SQL> SELECT * FROM v$database_block_corruption;
FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
3 32011 1 0 ALL ZERO
3 32049 40 0 ALL ZERO
3 32034 1 0 ALL ZERO
3 28964 1 1399837 LOGICAL
3 32015 2 0 ALL ZERO
and found all the blocks in the table WRH$_SQL_PLAN.
Then dropped the table, and tried to take backup of the database and it is failing again with the same error..
ANY SOLUTION TO TAKE BACKUP OF THE DATABASE.
anyhow we can SET MAXCORRUPT FOR DATAFILE 3 to value, but does this works all time...
Thanks in advance,
TEJASBoth are good suggestions, but
Osama-mustafa wrote:
RMAN> blockrecover datafile 5 block 2684; -- Fix Eror That ship has already sailed:
TEJAS_DBA wrote:
And Yes this is the first time i am taking backup on the database.And:
Osama-mustafa wrote:
Or Skip Option
Like
RMAN> RUN{
2> SET MAXCORRUPT FOR DATAFILE 1,3 to 1;
3> BACKUP DATABASE;
4> }The OP was aware of this option and hopefully was able to get at least some sort of a backup eventually. But as for the dropped WRH$_SQL_PLAN, TEJAS is, I will use the word "braver" than most. And as often is the case, Dan Morgan offered the only bit of sensible advise.
Open an SR.
Good luck. -
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,
FariaI 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? -
RMAN Backup error with Symantec Backup Tool
Hi
My Environment
OS Windows server 2003 R2
Oracle 10G R2 10.2.03 2 node RAC
When i am taking backup maually in the command prompt with RMAN, it is successful, but when we are trying from Symantec Backup tool we are getting errors like
RMAN 03002 failur of Backup lus archivelog is problem,
RMAN 10015 error compiling PL/SQL programme
RMAN 10033 error during compilation of job step2
Ora 00603 Oracle server session terminate by fatal error.
Ora 004030 out of process memory when trying to allocate 4120 bytes(pl/sql) MPCODE,BAMMA, BAM Buffer)
So please tell me why its giving the error with Symatntec and why when i am doing manually it is successfull.
What could be the solution, please we are taking daily and weekly backups with Symantec on HP tape library. Please suggest me to the needful.
Immediate reply highly apperciated
Thanks
Edited by: 873393 on Apr 17, 2012 10:09 AMHello,
Ora 00603 Oracle server session terminate by fatal error.
Ora 004030 out of process memory when trying to allocate 4120 bytes(pl/sql) MPCODE,BAMMA, BAM Buffer) The ORA-04030 error message is interesting. It means that the OS doesn't have enough memory for Oracle.
So you may monitore the Memory usage of the Server during the Symantec Backup, and check for any activity. May be the Symantec Backup runs when other Batch Jobs use already a lot of memory . You may also have to extend the RAM of the Server.
Also, check for the RMAN script used by Symantec and compare with the "manual" script. May be, some options are used with Symantec and consume more resources on the Server.
Hope this help.
Best regards,
Jean-Valentin -
After RMAN duplicate adcfgclone dbconfig completing with error
we have R12.1.1 on redhat 5.3 ( 64 bit ).
i am clonning my TEST server with RMAN hot full backup.
i am using command
rman target sys/prod_sys@PROD catalog rman/rman@PROD auxiliary /
run {
set until scn 5967654364306;
allocate auxiliary channel ch1 type disk;
allocate auxiliary channel ch2 type disk;
duplicate target database to TEST8002;}
when this command has restored database then i have to perform a
CANCEL based recovery
alter database open resetlogs;
after that when i run
perl adcfgclone dbconfig it is ending with error at 50%
Controlfile creation failed.
How to proceed ?
Edited by: user13376823 on Nov 13, 2012 7:03 PM'/opt/R12.1.3/oracle/db/apps_st/data/a_ref01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_int01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_summ01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_nolog01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_archive01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_queue01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_media01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_ref02.dbf'
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 3760580547
Completed: CREATE CONTROLFILE REUSE SET DATABASE "TEST8002"
LOGFILE
GROUP 1 ('/opt/R12.1.3/oracle/db/apps_st/data/log01a.dbf', '/opt/R12.1.3/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/R12.1.3/oracle/db/apps_st/data/log02a.dbf', '/opt/R12.1.3/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/R12.1.3/oracle/db/apps_st/data/system12.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system11.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system10.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system03.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system04.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system05.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system06.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system07.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system08.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system09.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/system13.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/sysaux01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/sysaux02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/ctxd01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data04.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind06.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data05.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data06.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind07.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data07.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data03.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind03.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind04.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind05.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/owad01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_queue02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/odm.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/olap.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/apps_ts_tools01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_ref03.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_int02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_media02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/undo02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/sscards_01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/rman_01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_summ02.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_summ03.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/portal01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/undo01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_ref01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_int01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_summ01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_nolog01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_archive01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_queue01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_media01.dbf',
'/opt/R12.1.3/oracle/db/apps_st/data/a_ref02.dbf'
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
alter database open resetlogs
ORA-1194 signalled during: alter database open resetlogs...
alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01.dbf' REUSE...
alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02.dbf' REUSE...
alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01A.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01A.dbf' REUSE...
alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02A.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02A.dbf' REUSE...
alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp03.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp03.dbf' REUSE...
Wed Nov 14 20:44:52 2012
Shutting down instance (abort)
License high water mark = 1
USER (ospid: 4918): terminating the instance
Instance terminated by USER, pid = 4918
Wed Nov 14 20:44:53 2012
Instance shutdown complete
Wed Nov 14 20:45:58 2012
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =44
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile /opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/initTEST8002.ora on machine testing.fgho.com
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
shared_pool_size = 400M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
sga_target = 1G
control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl01.dbf"
control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl02.dbf"
control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.1.0"
log_buffer = 10485760
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
sec_case_sensitive_logon = FALSE
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/appsutil/outbound/TEST8002_testing"
utl_file_dir = "/usr/tmp"
plsql_native_library_dir = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/plsql/nativelib"
plsql_native_library_subdir_count= 149
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
systemtrig_enabled = TRUE
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
db_name = "TEST8002"
open_cursors = 600
ifile = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/TEST8002_testing_ifile.ora"
sortelimination_cost_ratio= 5
btree_bitmap_plans = FALSE
fastfull_scan_enabled = FALSE
query_rewrite_enabled = "true"
indexjoin_enabled = FALSE
sqlexecprogression_cost= 2147483647
likewith_bind_as_equality= TRUE
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizerautostats_job = FALSE
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing"
tracefiles_public = TRUE
max_dump_file_size = "20480"
Wed Nov 14 20:45:58 2012
PMON started with pid=2, OS id=5067
Wed Nov 14 20:45:58 2012
VKTM started with pid=3, OS id=5069
VKTM running at (100ms) precision
Wed Nov 14 20:45:58 2012
DIAG started with pid=4, OS id=5073
Wed Nov 14 20:45:58 2012
DBRM started with pid=5, OS id=5075
Wed Nov 14 20:45:58 2012
PSP0 started with pid=6, OS id=5077
Wed Nov 14 20:45:58 2012
DIA0 started with pid=7, OS id=5079
Wed Nov 14 20:45:58 2012
MMAN started with pid=8, OS id=5081
Wed Nov 14 20:45:58 2012
DBW0 started with pid=9, OS id=5083
Wed Nov 14 20:45:58 2012
DBW1 started with pid=10, OS id=5085
Wed Nov 14 20:45:58 2012
LGWR started with pid=11, OS id=5087
Wed Nov 14 20:45:58 2012
CKPT started with pid=12, OS id=5089
Wed Nov 14 20:45:58 2012
SMON started with pid=13, OS id=5091
Wed Nov 14 20:45:58 2012
RECO started with pid=14, OS id=5093
Wed Nov 14 20:45:58 2012
MMON started with pid=15, OS id=5095
Wed Nov 14 20:45:58 2012
MMNL started with pid=16, OS id=5097
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Wed Nov 14 20:45:58 2012
ALTER DATABASE MOUNT
Set as converted control file due to db_unique_name mismatch
Changing di2dbun from to TEST8002
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 3760563974
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Nov 14 20:46:02 2012
ALTER DATABASE OPEN
ORA-1589 signalled during: ALTER DATABASE OPEN...
Wed Nov 14 20:46:47 2012
alter database open resetlogs
ORA-1194 signalled during: alter database open resetlogs...
Wed Nov 14 20:47:11 2012
ALTER DATABASE RECOVER database until cancel using backup controlfile
Media Recovery Start
Fast Parallel Media Recovery enabled
Errors in file /opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing/diag/rdbms/test8002/TEST8002/trace/TEST8002_ora_5127.trc (incident=6537):
ORA-00600: internal error code, arguments: [kcvhvdf_1], [], [], [], [], [], [], [], [], [], [], []
Incident details in: /opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing/diag/rdbms/test8002/TEST8002/incident/incdir_6537/TEST8002_ora_5127_i65 37.trc
Media Recovery failed with error 600
ORA-283 signalled during: ALTER DATABASE RECOVER database until cancel using backup controlfile ...
Wed Nov 14 20:47:13 2012
Trace dumping is performing id=[cdmp_20121114204713]
Wed Nov 14 20:47:13 2012
Sweep Incident[6537]: completed -
Clone failing with multiple RMAN errors
Environment:
Cloning from 10.2.0.3 to 10.2.0.3
Solaris 2.9 source to Solaris 2.10 target
11.1.0.7 RMAN catalog
TSM 5.4 MML (tape)
I'm trying to clone a database via RMAN catalog which is at 11.1.0.7. My environment info is listed above.
If I try this on another Solaris 2.10 machine it works fine.
The whole clone works until the very end when the database clone tries to restart and create and assign a TEMP.
I get the following error messages in the clone log:
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/17/2009 12:18:28
RMAN-03015: error occurred in stored script Memory Script
RMAN-03014: implicit resync of recovery catalog failed
RMAN-03009: failure of partial resync command on default channel at 06/17/2009 12:18:28
RMAN-10015: error compiling PL/SQL program
RMAN-10033: error during compilation of job step 1: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03113: end-of-file on communication channel
ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
At this point if I point at the new control file and start the database I can manually ALTER the database open with resetlogs and everything "seems" fine in the clone since it did make it all the way through the archive log applies. I have ran CROSSCHECK backup+ and CROSSCHECK archivelog all+ against my catalog and it found nothing out of the norm.
Like I mentioned above if I try this on another system at the same DB and OS level it works just fine.
Has anyone every seen this error?
Below is the clone script I am using:
connect auxiliary /
connect target sys/@proddb
connect catalog rman/pw@rmancat
run {
set until time "to_date('2009-06-11:08:00:00', 'RRRR-MM-DD:HH24:MI:SS')";
allocate auxiliary channel t1 type 'sbt_tape'
parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt.dbhost1)';
duplicate target database to proddbcl
nofilenamecheck;
}Hi,
It is complaining about the resync between the target database and the recovery catalog.
RMAN-03014: implicit resync of recovery catalog failed
RMAN-03009: failure of partial resync command on default channel at 06/17/2009 12:18:28
It should use the default channel as configured in the target proddb controlfile.
Can you test if you declare this channel in the script if it works (probably you need to copy tdpo.opt.dbhost1 file from the proddb server and adjust path and name)?
connect auxiliary /
connect target sys/@proddb
connect catalog rman/pw@rmancat
run {
set until time "to_date('2009-06-11:08:00:00', 'RRRR-MM-DD:HH24:MI:SS')";
allocate auxiliary channel t1 type 'sbt_tape'
parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt.dbhost1)';
allocate channel t2 type 'sbt_tape'
parms 'ENV=(TDPO_OPTFILE=define_path/define_file)';
duplicate target database to proddbcl
nofilenamecheck;
Regards,
Tycho
Edited by: tychos on Jun 17, 2009 12:46 PM -
Error using rman with cumulative backup
Hi,
Can anyone help?
Current system configuration : Oracle 8.0.4 & Veritas Netbackup.
Encounter error when allocate 2 channel for cumulative backup using rman. Using a single channel works fine.
RMAN-08010: channel t1: including datafile 1 in backupset
RMAN-08008: channel t2: starting datafile backupset
RMAN-08502: set_count=152 set_stamp=432319182
RMAN-08010: channel t2: including datafile 7 in backupset
RMAN-08010: channel t2: including datafile 20 in backupset
RMAN-08010: channel t2: including datafile 13 in backupset
RMAN-08010: channel t2: including datafile 15 in backupset
RMAN-08010: channel t2: including datafile 16 in backupset
RMAN-08011: channel t1: including current controlfile in backupset
RMAN-00569: ================error message stack follows================
RMAN-03007: retryable error occurred during execution of command: backup
RMAN-07004: unhandled exception during command execution on channel t2
RMAN-10032: unhandled exception during execution of job step 2: ORA-06512: at li
ne 153
RMAN-10035: exception raised in RPC: ORA-19624: operation failed, retry possible
ORA-27015: skgfcls: failed to close the file
Additional information: 7023
ORA-19502: write error on file "bk_152_1_432319182", blockno 3713 (blocksize=512
ORA-27010: skgfwrt: write to file failed
Additional information: 7043
ORA-06512: at "SYS.DBMS_BACKUP_RESTORE", line 408
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECRE
ATE
Thanks in advance
nullHi,
first of all you must have all the archivelogs since you want to recover your table from the previous backups.
anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
thanks.. -
RMAN Restore Error - media recovery requesting unknown log: thread 1 seq 7
Im using RMAN to copy a database to another server. The new server is IDENTICAL to the old one. By identical I mean it has the same sever name, ip address, operating system, Oracle version and directory structure.
The new server already has the instance created, (same name as the old server instance, paths etc)
The backup files have been manually restored to the new server, same locations as they were on the old one. ( RMAN did an automatic controlfile backup and also the archivelogs on the old server ).
Ive restored the control file on the new server from the RMAN backup pieces.
Ive catalogued the RMAN backup pieces on the new server.
I know the last sequence available in the archivelogs backup by running on the new server :
list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
5 14.43M DISK 00:00:03 11-MAY-11
BP Key: 9 Status: AVAILABLE Compressed: NO Tag: TAG20110511T163502
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\
011_05_11\O1_MF_ANNNN_TAG20110511T163502_6WOC5833_.BKP
List of Archived Logs in backup set 5
Thrd Seq Low SCN Low Time Next SCN Next Time
1 2 550217 10-MAY-11 556559 11-MAY-11
1 3 556559 11-MAY-11 559776 11-MAY-11
1 4 559776 11-MAY-11 560093 11-MAY-11
1 5 560093 11-MAY-11 560794 11-MAY-11
BS Key Size Device Type Elapsed Time Completion Time
7 15.50K DISK 00:00:01 11-MAY-11
BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20110511T163653
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\
011_05_11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_.BKP
List of Archived Logs in backup set 7
Thrd Seq Low SCN Low Time Next SCN Next Time
1 6 560794 11-MAY-11 560851 11-MAY-11
So far its all going swimmingly well.
Now I want to restore the datafiles and recover. So I ran :
RMAN run { restore database; recover database; alter database open resetlogs; }
This gave me the output below which goes great but I get a final error, I think the error is because its looking for an archive log thats not in the backup set, but it should be. However, I think SCN 560851 is for a log that hadnt been created yet on the old server when the backup was ran ?
How do I address resolving the error ? Its worth pointing out log, "archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
\2011_05_11\O1_MF_1_6_6WOK1X4W_.ARC recid=10 stamp=750881741" isnt on the old server either which is why its not in the backup set.
I can do a alter database open reset logs but Id prefer to know why its failing.
Any help would be much appreciated.
RMAN> run { restore database; recover database; alter database open resetlogs; }
Starting restore at 11-MAY-11
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 C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\SYSTEM01.DBF
restoring datafile 00002 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\UNDOTBS01.DBF
restoring datafile 00003 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\SYSAUX01.DBF
restoring datafile 00004 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\USERS01.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
OVERY_AREA\SAT\BACKUPSET\2011_05_11\O1_MF_NNNDF_TAG20110511T163507_6WOC5CM7_.BKP
channel ORA_DISK_1: restored backup piece 1
piece handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\2011_05_
11\O1_MF_NNNDF_TAG20110511T163507_6WOC5CM7_.BKP tag=TAG20110511T163507
channel ORA_DISK_1: restore complete, elapsed time: 00:00:55
Finished restore at 11-MAY-11
Starting recover at 11-MAY-11
using channel ORA_DISK_1
starting media recovery
channel ORA_DISK_1: starting archive log restore to default destination
channel ORA_DISK_1: restoring archive log
archive log thread=1 sequence=6
channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
OVERY_AREA\SAT\BACKUPSET\2011_05_11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_.BKP
channel ORA_DISK_1: restored backup piece 1
piece handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\2011_05_
11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_.BKP tag=TAG20110511T163653
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
\2011_05_11\O1_MF_1_6_6WOK1X4W_.ARC thread=1 sequence=6
channel default: deleting archive log(s)
archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
\2011_05_11\O1_MF_1_6_6WOK1X4W_.ARC recid=10 stamp=750881741
unable to find archive log
archive log thread=1 sequence=7
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 05/11/2011 18:15:42
RMAN-06054: media recovery requesting unknown log: thread 1 seq 7 lowscn 560851
RMAN>
Edited by: user12173666 on 11-May-2011 10:28You need to do incomplete recovery i.e. to ask RMAN to restore/recover to some specific point in time. This is usually done with some UNTIL clause or SET UNTIL statement. Example in your case:
SET UNTIL SEQUENCE 7;See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta065.htm#RCMRF160. -
Restore spfile from rman backup ---- error.
Hi,
I am trying to execute recovery on new machine ...
I have done the following steps..
I have one database as ora10g2 as peroduction database on one machine as hosta
I have created a catalog on another machine cora10g2 (hostb)
I have taken a full backup from hosta as per following ...
the following command execute from hosta machine.
$ rman target sys/<passwd>@ora10g2 catalog rman/rman@cora10g2 ...
Backup completed ...
Now I am trying to restore this backup on hostb machine where i have already rman catlog database ..
I have done the following setting ...on host b
set oracle_sid=DUP
and execute following command ...
rman target / catalog rman/rman@cora10g2
RMAN> set dbid 2760732370
executing command: SET DBID
database name is "BAAN10G2" and DBID is 2760732370
RMAN>
RMAN>
RMAN> startup force nomount ;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle/dbs/baan10g2/dbs/initbaan10g2.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 1977112 bytes
Variable Size 67114216 bytes
Database Buffers 83886080 bytes
Redo Buffers 6406144 bytes
RMAN>
RMAN>
RMAN>
RMAN> show all ;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/backup/control/cntrl_%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
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 '/baanora3/rman/ora10g2/bkup_db_%d_s%s_P%p_t%t' MAXPIECESIZE 1024;
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
RMAN>
RMAN>
RMAN> list backup of spfile ;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
2420 Full 7.33M DISK 00:00:01 14-JUN-07
BP Key: 2426 Status: AVAILABLE Compressed: NO Tag: TAG20070614T182935
Piece Name: /rman/backup/control/cntrl_c-2760732370-20070614-00
SPFILE Included: Modification time: 14-JUN-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
2509 Full 7.33M DISK 00:00:01 15-JUN-07
BP Key: 2515 Status: AVAILABLE Compressed: NO Tag: TAG20070615T130416
Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-00
SPFILE Included: Modification time: 15-JUN-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
2694 Full 7.33M DISK 00:00:01 15-JUN-07
BP Key: 2739 Status: AVAILABLE Compressed: NO Tag: TAG20070615T131703
Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-01
SPFILE Included: Modification time: 15-JUN-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
2760 Full 80.00K DISK 00:00:01 15-JUN-07
BP Key: 2763 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163437
Piece Name: /rman/spfile/spfile.ora
SPFILE Included: Modification time: 15-JUN-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
2769 Full 7.33M DISK 00:00:02 15-JUN-07
BP Key: 2771 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163441
Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-02
SPFILE Included: Modification time: 15-JUN-07
RMAN>
RMAN>
RMAN> restore spfile from autobackup ;
Starting restore at 19-JUN-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=36 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=35 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=34 devtype=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: sid=33 devtype=DISK
channel ORA_DISK_1: looking for autobackup on day: 20070619
channel ORA_DISK_1: looking for autobackup on day: 20070618
channel ORA_DISK_1: looking for autobackup on day: 20070617
channel ORA_DISK_1: looking for autobackup on day: 20070616
channel ORA_DISK_1: looking for autobackup on day: 20070615
channel ORA_DISK_1: looking for autobackup on day: 20070614
channel ORA_DISK_1: looking for autobackup on day: 20070613
channel ORA_DISK_1: no autobackup in 7 days found
channel ORA_DISK_2: looking for autobackup on day: 20070619
channel ORA_DISK_2: looking for autobackup on day: 20070618
channel ORA_DISK_2: looking for autobackup on day: 20070617
channel ORA_DISK_2: looking for autobackup on day: 20070616
channel ORA_DISK_2: looking for autobackup on day: 20070615
channel ORA_DISK_2: looking for autobackup on day: 20070614
channel ORA_DISK_2: looking for autobackup on day: 20070613
channel ORA_DISK_2: no autobackup in 7 days found
channel ORA_DISK_3: looking for autobackup on day: 20070619
channel ORA_DISK_3: looking for autobackup on day: 20070618
channel ORA_DISK_3: looking for autobackup on day: 20070617
channel ORA_DISK_3: looking for autobackup on day: 20070616
channel ORA_DISK_3: looking for autobackup on day: 20070615
channel ORA_DISK_3: looking for autobackup on day: 20070614
channel ORA_DISK_3: looking for autobackup on day: 20070613
channel ORA_DISK_3: no autobackup in 7 days found
channel ORA_DISK_4: looking for autobackup on day: 20070619
channel ORA_DISK_4: looking for autobackup on day: 20070618
channel ORA_DISK_4: looking for autobackup on day: 20070617
channel ORA_DISK_4: looking for autobackup on day: 20070616
channel ORA_DISK_4: looking for autobackup on day: 20070615
channel ORA_DISK_4: looking for autobackup on day: 20070614
channel ORA_DISK_4: looking for autobackup on day: 20070613
channel ORA_DISK_4: no autobackup in 7 days found
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 06/19/2007 18:00:13
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
RMAN>
I am not able to restore spfile from rman backup ;;;Hi,
I would like to know few things
1. How are you setting the db_name ? you can set db_id at RMAN, how are you setting the db_name ?
2. Do you have any default init file at default location ? if yes, is the db_name parameter set correctly in that file ?
Since spfile is yet to be restored, you must set the db_name parameter correctly before you start spfile restore.This can be done with init file at default location which can even contain just one paremeter i.e db_name. -
RMAN Backup error:ORA-04030: out of process memory
Hi,
Our RMAN backup is failing with below error:
===========================
RMAN-03002: failure of backup plus archivelog command at 05/22/2010 05:31:33
ORA-04030: out of process memory when trying to allocate 82444 bytes (pga heap,control file i/o buffer)
=============================
Please suggest
Thanks and RegardsWe upgrade our catalog database(Linux) to 10.2.0.4 and our target database is 10.2.0.3(Windows),
we executed upgrade catalog twice and then when we again tried to execute the below command
rman sys/syspwd@targetdb catalog rman/rman@rmancat
Recovery Manager: Release 10.2.0.4.0 - Production on Sat May 22 15:10:36 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
PL/SQL package SYS.DBMS_BACKUP_RESTORE version 10.02.00.03 in TARGET database is not current
PL/SQL package SYS.DBMS_RCVMAN version 10.02.00.03 in TARGET database is not current
connected to target database: WEBCT (DBID=3699379059)
connected to recovery catalog database
RMAN>
=======================
Still we are getting this error
and our backup falied with below errors:
======================
PL/SQL package SYS.DBMS_BACKUP_RESTORE version 10.02.00.03 in TARGET database is not current PL/SQL package SYS.DBMS_RCVMAN version 10.02.00.03 in TARGET database is not current connected to target database: WEBCT (DBID=3699379059) connected to recovery catalog database
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 05/22/2010 15:09:44
ORA-06550: line 1, column 14:
PLS-00306: wrong number or types of arguments in call to 'VALIDATEARCHIVEDLOG'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
==========================
Please suggest -
RMAN script errors out for some DB's
I have a single RMAN script that uses env variables to execute RMAN for two databases. It runs fine. I cloned the two DB's (changed DBID's), all four are on the same host. Now I try to use same script for all four. I receive an error when trying to run against the cloned databases. Here is script:
spool log to full.log append;
connect catalog rman/xxxxxx@iasrman
connect target /
run {
sql 'ALTER SYSTEM SWITCH LOGFILE';
backup incremental level 0 database diskratio=0 plus archivelog delete input;
And here is error, it stops same place everytime, input appreciated.
Recovery Manager: Release 9.2.0.5.0 - 64bit Production
RMAN>
connected to recovery catalog database
RMAN>
connected to target database: PRSMQ02 (DBID=944525168)
RMAN> 2> 3> 4>
sql statement: ALTER SYSTEM SWITCH LOGFILE
Starting backup at 30-MAY-07
current log archived
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=20 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=19 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=18 devtype=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: sid=17 devtype=DISK
allocated channel: ORA_DISK_5
channel ORA_DISK_5: sid=11 devtype=DISK
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=25 recid=25 stamp=623931644
channel ORA_DISK_1: starting piece 1 at 30-MAY-07
channel ORA_DISK_2: starting archive log backupset
channel ORA_DISK_2: specifying archive log(s) in backup set
input archive log thread=1 sequence=26 recid=26 stamp=623931644
channel ORA_DISK_2: starting piece 1 at 30-MAY-07
channel ORA_DISK_1: finished piece 1 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931649_s59_s1 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
channel ORA_DISK_1: deleting archive log(s)
archive log filename=/q02/archive/prism/log_prsmq02_25.arc recid=25 stamp=623931644
channel ORA_DISK_2: finished piece 1 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931649_s60_s1 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:00:02
channel ORA_DISK_2: deleting archive log(s)
archive log filename=/q02/archive/prism/log_prsmq02_26.arc recid=26 stamp=623931644
Finished backup at 30-MAY-07
Starting backup at 30-MAY-07
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
using channel ORA_DISK_4
using channel ORA_DISK_5
channel ORA_DISK_1: starting incremental level 0 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00009 name=/q02/oradata01/prsmdata/Data_13.dbf
input datafile fno=00016 name=/q02/oradata01/prsmdata/Data_20.dbf
input datafile fno=00025 name=/q02/oradata01/prsmdata/Data_04.dbf
input datafile fno=00005 name=/q02/oraindx01/prsmdata/Index_11.dbf
input datafile fno=00020 name=/q02/oradata01/prsmdata/Tools02.dbf
input datafile fno=00022 name=/q02/oraindx01/prsmdata/index_12.dbf
channel ORA_DISK_1: starting piece 1 at 30-MAY-07
channel ORA_DISK_2: starting incremental level 0 datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00010 name=/q02/oradata01/prsmdata/Data_14.dbf
input datafile fno=00015 name=/q02/oradata01/prsmdata/Data_19.dbf
input datafile fno=00024 name=/q02/oradata01/prsmdata/Data_03.dbf
input datafile fno=00003 name=/q02/oratmp01/prsmdata/rbs01.dbf
input datafile fno=00001 name=/q02/orasys01/prsmdata/system01.dbf
input datafile fno=00012 name=/q02/orasys01/prsmdata/system02.dbf
channel ORA_DISK_2: starting piece 1 at 30-MAY-07
channel ORA_DISK_3: starting incremental level 0 datafile backupset
channel ORA_DISK_3: specifying datafile(s) in backupset
input datafile fno=00008 name=/q02/oradata01/prsmdata/Data_12.dbf
input datafile fno=00014 name=/q02/oradata01/prsmdata/Data_18.dbf
input datafile fno=00023 name=/q02/oradata01/prsmdata/Data_02.dbf
input datafile fno=00028 name=/q02/oradata01/prsmdata/Data06.dbf
input datafile fno=00019 name=/q02/oratmp01/prsmdata/rbs02.dbf
input datafile fno=00021 name=/q02/orasys01/prsmdata/DRSYS.dbf
channel ORA_DISK_3: starting piece 1 at 30-MAY-07
channel ORA_DISK_4: starting incremental level 0 datafile backupset
channel ORA_DISK_4: specifying datafile(s) in backupset
input datafile fno=00007 name=/q02/oradata01/prsmdata/Data_11.dbf
input datafile fno=00013 name=/q02/oradata01/prsmdata/Data_17.dbf
input datafile fno=00018 name=/q02/oradata01/prsmdata/Data_01.dbf
input datafile fno=00006 name=/q02/oradata01/prsmdata/Tools01.dbf
input datafile fno=00002 name=/q02/oradata01/prsmdata/Users01.dbf
input datafile fno=00026 name=/q02/oradata01/prsmdata/Data05.dbf
channel ORA_DISK_4: starting piece 1 at 30-MAY-07
channel ORA_DISK_5: starting incremental level 0 datafile backupset
channel ORA_DISK_5: specifying datafile(s) in backupset
input datafile fno=00004 name=/q02/oradata01/prsmdata/Data_15.dbf
input datafile fno=00011 name=/q02/oradata01/prsmdata/Data_16.dbf
input datafile fno=00017 name=/q02/oradata01/prsmdata/Data_22.dbf
input datafile fno=00027 name=/q02/oradata01/prsmdata/Data_05.dbf
channel ORA_DISK_5: starting piece 1 at 30-MAY-07
channel ORA_DISK_1: finished piece 1 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s61_s1 comment=NONE
channel ORA_DISK_1: starting piece 2 at 30-MAY-07
channel ORA_DISK_2: finished piece 1 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s62_s1 comment=NONE
channel ORA_DISK_2: starting piece 2 at 30-MAY-07
channel ORA_DISK_3: finished piece 1 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s63_s1 comment=NONE
channel ORA_DISK_3: starting piece 2 at 30-MAY-07
channel ORA_DISK_4: finished piece 1 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s64_s1 comment=NONE
channel ORA_DISK_4: starting piece 2 at 30-MAY-07
channel ORA_DISK_5: finished piece 1 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s65_s1 comment=NONE
channel ORA_DISK_5: starting piece 2 at 30-MAY-07
channel ORA_DISK_2: finished piece 2 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s62_s2 comment=NONE
channel ORA_DISK_2: starting piece 3 at 30-MAY-07
channel ORA_DISK_1: finished piece 2 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s61_s2 comment=NONE
channel ORA_DISK_1: starting piece 3 at 30-MAY-07
channel ORA_DISK_4: finished piece 2 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s64_s2 comment=NONE
channel ORA_DISK_4: starting piece 3 at 30-MAY-07
channel ORA_DISK_5: finished piece 2 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s65_s2 comment=NONE
channel ORA_DISK_5: starting piece 3 at 30-MAY-07
channel ORA_DISK_3: finished piece 2 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s63_s2 comment=NONE
channel ORA_DISK_3: starting piece 3 at 30-MAY-07
channel ORA_DISK_2: finished piece 3 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s62_s3 comment=NONE
channel ORA_DISK_2: starting piece 4 at 30-MAY-07
channel ORA_DISK_4: finished piece 3 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s64_s3 comment=NONE
channel ORA_DISK_4: starting piece 4 at 30-MAY-07
channel ORA_DISK_1: finished piece 3 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s61_s3 comment=NONE
channel ORA_DISK_1: starting piece 4 at 30-MAY-07
channel ORA_DISK_2: finished piece 4 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s62_s4 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:53:23
channel ORA_DISK_5: finished piece 3 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s65_s3 comment=NONE
channel ORA_DISK_5: starting piece 4 at 30-MAY-07
channel ORA_DISK_3: finished piece 3 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s63_s3 comment=NONE
channel ORA_DISK_3: starting piece 4 at 30-MAY-07
channel ORA_DISK_4: finished piece 4 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s64_s4 comment=NONE
channel ORA_DISK_4: starting piece 5 at 30-MAY-07
channel ORA_DISK_1: finished piece 4 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s61_s4 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:59:04
channel ORA_DISK_3: finished piece 4 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s63_s4 comment=NONE
channel ORA_DISK_3: backup set complete, elapsed time: 01:00:10
channel ORA_DISK_5: finished piece 4 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s65_s4 comment=NONE
channel ORA_DISK_5: backup set complete, elapsed time: 01:00:25
channel ORA_DISK_4: finished piece 5 at 30-MAY-07
piece handle=/iasrman/q02/prsmq02/prsmq02_df623931654_s64_s5 comment=NONE
channel ORA_DISK_4: backup set complete, elapsed time: 01:01:40
Finished backup at 30-MAY-07
Starting backup at 30-MAY-07
current log archived
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 05/30/2007 11:22:38
RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLEconnect target /You need to inform the connection string to target database.
Can to be explicitly or with 'export sid' in your script. -
RMAN-03015: error occurred in stored script Memory Script
getting this error during
target db is 10202 & aux is 10204 ?
duplicate target database to dcxt;
RMAN> connect TARGET SYS/spurs_04@capq;
PL/SQL package SYS.DBMS_BACKUP_RESTORE version 10.02.00.03 in TARGET database is not current
PL/SQL package SYS.DBMS_RCVMAN version 10.02.00.03 in TARGET database is not current
connected to target database: CAPQ (DBID=2420849281)
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-10039: error encountered while polling for RPC completion on channel clone_default
RMAN-10006: error running SQL statement: select action from gv$session where sid=:1 and serial#=:2 and inst_id=:3
RMAN-10002: ORACLE error: ORA-03114: not connected to ORACLE
RMAN-10041: Could not re-create polling channel context following failure.
RMAN-10024: error setting up for rpc polling
RMAN-10005: error opening cursor
RMAN-10002: ORACLE error: ORA-03114: not connected to ORACLE
RMAN-03002: failure of Duplicate Db command at 05/21/2010 15:32:29
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
oracle:tuldcorpadb01:dcxt$
Edited by: DBA2008 on May 21, 2010 3:37 PMnever mind, i resolved this by switching duplicate db to 10203....and adjusting log_arch_dest .....
-
Hello All,
The disk failure caused our production data on the disk to be resotred with the backup data available and recovered through RMAN with cotrolfile , and no catalog DB is configured.
I had the restored the spfile and control file then recovered the database,
startup nomount;
RESTORE SPFILE FROM ' path ' ;
Shutdown immediate;
startup nomount
Restore controfile from autobackup;
restore database;
[AT POINT , A MESSAGE PROMPTED LIKE " failur of restored command - some targets not found" (thinking may be few archives are not found, i proceeded to incomeplete recovery of DB) ]
recover database;
Finished reocvery .
Now in the Grid control i see that 60 blocks of a particular datafile are corrupted and needs recovery. Do i need to get the data file resotred again and recover it or any simple way to recover this data file
When i perform the block recovery , it says recovery failed and when i run the data file recovery it succeeds. Please provide you inputs to recover the database as it is production BI database and pretty critical to our client.
Thanks for your valuable time in advance.
Regards,
Ran G.These is a common problem if the object are created due to NOLOGGIN option. If you check most of the object which are facing block corruption is indexes .
Use the below query to check the objects :
It will map each block from v$database_block_corruption to either a segment or if the block is free.
$ sqlplus / as sysdba
set pagesize 2000
set linesize 250
SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file#
, greatest(e.block_id, c.block#) corr_start_block#
, least(e.block_id+e.blocks-1, c.block#+c.blocks-1) corr_end_block#
, least(e.block_id+e.blocks-1, c.block#+c.blocks-1)
- greatest(e.block_id, c.block#) + 1 blocks_corrupted
, null description
FROM dba_extents e, v$database_block_corruption c
WHERE e.file_id = c.file#
AND e.block_id <= c.block# + c.blocks - 1
AND e.block_id + e.blocks - 1 >= c.block#
UNION
SELECT s.owner, s.segment_type, s.segment_name, s.partition_name, c.file#
, header_block corr_start_block#
, header_block corr_end_block#
, 1 blocks_corrupted
, 'Segment Header' description
FROM dba_segments s, v$database_block_corruption c
WHERE s.header_file = c.file#
AND s.header_block between c.block# and c.block# + c.blocks - 1
UNION
SELECT null owner, null segment_type, null segment_name, null partition_name, c.file#
, greatest(f.block_id, c.block#) corr_start_block#
, least(f.block_id+f.blocks-1, c.block#+c.blocks-1) corr_end_block#
, least(f.block_id+f.blocks-1, c.block#+c.blocks-1)
- greatest(f.block_id, c.block#) + 1 blocks_corrupted
, 'Free Block' description
FROM dba_free_space f, v$database_block_corruption c
WHERE f.file_id = c.file#
AND f.block_id <= c.block# + c.blocks - 1
AND f.block_id + f.blocks - 1 >= c.block#
order by file#, corr_start_block#;
Below oracle support note will help you :
ORA-1578 / ORA-26040 Corrupt blocks by NOLOGGING - Error explanation and solution (Doc ID 794505.1)
The Gains and Pains of Nologging Operations (Doc ID 290161.1)
SQL> select d.NAME as DBF_NAME, t.NAME as TS_NAME, d.UNRECOVERABLE_CHANGE# as NOLOG_CHNG#, to_char(d.UNRECOVERABLE_TIME, 'Dy DD-Mon-YYYY HH24:MI:SS') as NOLOG_TIME from V$DATAFILE d join V$TABLESPACE t on d.TS# = t.TS# order by t.NAME;
Thanks,
gssdba.wordpress.com -
What's wrong with this RMAN script?
Hi,
I have a rman script to back up the 8i database like the following:
#!/bin/ksh
if [ $# != 1 ]; then
echo "Usage: $0 ORACLE_SID"
exit
fi
ORACLE_SID=$1; export ORACLE_SID
RMAN_LOC=/u1/rman_backup
export ORACLE_HOME=/u2/oracle/8.1.7
export PATH=$ORACLE_HOME/bin:$PATH
echo "connect target /" > rman_backup.rcv
echo "" >> rman_backup.rcv
echo "configure controlfile autobackup on;" >> rman_backup.rcv
echo "" >> rman_backup.rcv
echo "configure controlfile autobackup format for device type disk to '${RMAN_LOC}/%F';" >
rman_backup.rcvecho "" >> rman_backup.rcv
echo "run {" >> rman_backup.rcv
echo "allocate channel t1 type disk;" >> rman_backup.rcv
echo "backup database format '${RMAN_LOC}/db_${ORACLE_SID}_%u';" >> rman_backup.rcv
echo "}" >> rman_backup.rcv
rman cmdfile rman_backup.rcv
When I run it, I got the following error:
RMAN> connect target /
2>
3> configure controlfile
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "controlfile": expecting one of: "compatible"
RMAN-01007: at line 3 column 11 file: rman_backup.rcv
BTW, the same script is working fine with 9i db.
Could someone help me?
Thanks in advance,
HelenHello,
there is no controlfile autobackup in 8i RMAN. You must copy controlfile on your own, e.g. SQL 'ALTER DATABASE BACKUP CONTROLFILE TO file_name' or use eqiv. rman command - please check documentation.
Kind Regards, Piotr
DBA OCP.
Maybe you are looking for
-
JavaScript error in keywords.js?
When entering or modifying 'keywords' in an html-file in Dreamweaver I seem to get the following error when switching applications and returning to DW: While executing onBlur in keywords.htm, the following JavaScript error(s) occurred: At line 66 of
-
Fraudulent message received. Please check this use...
Hello, Just received a message from a user calling himself : Skype Company , user name : award.team33 Message is: Skype Co-operation Management Worldwide are pleased to inform you that you are a winner of our annual SKYPE-WORD LOTTO LOTTERY . Your e
-
Can't figure out how to make a graphic expand in an animated gif (CS4)
I'm trying to make an animated gif where two of my graphics expand to the outer edges of the picture. However all that I can manage to accomplish is to have the opacity fade in or out. Is it possible to make a graphic expand in CS4? Thanks for any he
-
I am creating a new Entitilement Segment. When I sync, I get a parsing exception. The error stack is described below. The same error message is displayed while starting the server. Any help is appreciated. Kumar URI : /contentselectors/GlobalContentS
-
Lightroom 5 and location of photos
Hi everyone..... I plan on buying Lightroom 5. I have never used Lightroom before. I have limited space on my primary C: drive. However, I have 3 other drives in my computer where I keep my photos. When I install Lightroom and attempt to organize th