Ando de nuevo por acá y esta vez con un bug que ocurre en cuando estoy restoreando una base que originariamente se encontraba con el modo FLASHBACK_ON activo.
SQL> select flashback_on from v$database; FLASHBACK_ON ------------------ YES
Este error me ocurria en algunos casos y en otros no.
Siempre con el mismo ambiente y con los mismos párametros.
Cuando me toca recuperar estos ambientes , en nuevo sitios y a posterior de haber ejecutado el restore de la misma, en ocaciones ocurrio que el recover nunca comenzo debido al que me arrojaba los errores RMAN-11003 ORA-00283 y ORA-38760 en conjunto.
RMAN> recover database; Starting recover at 31-AUG-10 using channel ORA_DISK_1 starting media recovery media recovery failed RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 08/31/2010 15:05:54 ORA-00283: recovery session canceled due to errors RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed start until cancel using backup controlfile ORA-00283: recovery session canceled due to errors ORA-38760: This database instance failed to turn on flashback database RMAN> quit
Leyendo el error rapidamente me di cuenta que se debia desactivar la flashback.
Lo hice y funciono.
El error se ocaciono por que si hubiere algún tipo de error de I/O que impidiese escribir en la flashback la instancia se colgara (CRASHED) .
Perder el registro de flashback actual también provocara el blokeo.
Si al inicio los registros flashback no pudiesen ser accedidos la instancia no arrancara.
Entonces, desactivo la flashback:
SQL> alter database flashback off; Database altered.
Comienzo el revocer sin problemas.
RMAN> recover database; Starting recover at 31-AUG-10 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=158 devtype=DISK starting media recovery channel ORA_DISK_1: starting archive log restore to default destination channel ORA_DISK_1: restoring archive log archive log thread=2 sequence=4882 channel ORA_DISK_1: restoring archive log archive log thread=1 sequence=5045 channel ORA_DISK_1: reading from backup piece /tsm/t2/t2p/diario/20091130_PRO_s8767_p1_arc channel ORA_DISK_1: restored backup piece 1 piece handle=/tsm/t2/t2p/diario/20091130_PRO_s8767_p1_arc tag=T2_POSCOB_20091130.2054 channel ORA_DISK_1: restore complete, elapsed time: 00:03:06 archive log filename=+PRUEBAS_DG1/pro03/archivelog/2010_08_31/thread_1_seq_5045.352.728493027 thread=1 sequence=5045 archive log filename=+PRUEBAS_DG1/pro03/archivelog/2010_08_31/thread_2_seq_4882.347.728493027 thread=2 sequence=4882 channel ORA_DISK_1: starting archive log restore to default destination channel ORA_DISK_1: restoring archive log archive log thread=4 sequence=3157 channel ORA_DISK_1: restoring archive log archive log thread=3 sequence=2979 channel ORA_DISK_1: reading from backup piece /tsm/t2/t2p/diario/20091130_PRO_s8768_p1_arc channel ORA_DISK_1: restored backup piece 1 piece handle=/tsm/t2/t2p/diario/20091130_PRO_s8768_p1_arc tag=T2_POSCOB_20091130.2054 channel ORA_DISK_1: restore complete, elapsed time: 00:00:25 archive log filename=+PRUEBAS_DG1/pro03/archivelog/2010_08_31/thread_3_seq_2979.429.728493059 thread=3 sequence=2979 archive log filename=+PRUEBAS_DG1/pro03/archivelog/2010_08_31/thread_4_seq_3157.349.728493061 thread=4 sequence=3157 channel default: deleting archive log(s) archive log filename=+PRUEBAS_DG1/pro03/archivelog/2010_08_31/thread_1_seq_5045.352.728493027 recid=57942 stamp=728493033 unable to find archive log archive log thread=1 sequence=5046 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 08/31/2010 15:12:17 RMAN-06054: media recovery requesting unknown log: thread 1 seq 5046 lowscn 1852363646
Luego con el mismo modo , hice laboratorio con otras versiones y pude comprobar el mismo error en 10.1 y 10.2
Lei en una nota de metalink ID 469336.1 , que hacia referencia al mismo error (Bug 4628253) pero ejecutando un clonado de base desde Grid Control y este afectaba a la version 10.2.0.3 y se solucionaba con 11G.
Cuando me haga un tiempo voy a experimentar y comentarles que es lo que ocurrio.
Espero les sea de utilidad.
Buenas, muchas gracias por el tip, me pasó lo mismo en 10.2.0.4. Saludos!
LikeLike