Saturday, January 15, 2011

Archive files are deleted mistakenly form my Database and RMAN show ORA-19625 error identifying file string

Archive files are deleted mistakenly form my Database and RMAN show ORA-19625 error identifying file string
====================================================================================================


Suddenly one of my DBA member deleted some Archive log files mistakenly. and he don't told me.but when he run RMAN backup script. he found ORA-19625 error. then he told me that.


Solution of this problem:-

==========================


Run in RMAN command line,

RMAN> CROSSCHECK ARCHIVELOG ALL;

RMAN> DELETE EXPIRED ARCHIVELOG ALL;



The first command verifies the list of archivelogs in the
controlfile with those actually present on disk. Files that
are not found on disk (those that were deleted
by mistake) will be marked as "EXPIRED".


The second command then identifies all the "EXPIRED" files,
presents the list to you and asks you to confirm if they
should be deleted -- meaning that they will be deleted from
the controlfile. RMAN, at the next backup run (or a backup that
you initiate immediately thereafter) will not look for
these files and will not error.

No comments: