Ora-19571 Archived-log Recid Stamp Not Found In Control File
I am trying to duplicate a DB from live to dev but it is failing. Can anybody advise what is going wrong? Both databases are running Oracle 12c. All database files seem to be copied over but it fails when trying to apply the archive logs.
I am running a full database and archive log backup before executing the DUPLICATE
command.
Every backup I do I am getting an error like below at the bottom:, every backup I do, it's complaaining about DIFFERENT archive log. ORA-19571: archived-log recid 118360 stamp 705446770 not found in control file. May 20, 2015 - ORA-19588: archived log recid stamp is no longer valid occurs because deleted record or no archived log bckup found in the control file.
Command
Error
Thanks for any help.
1 Answer
Could you please tell us how you connected to rman?
For example:
The reason for you problem is that the two databases have trouble communicating with each other. Aaj more piya ghar aavenge free download.
If you use auxiliary /
because your rman session is located on the dev server this is not going to work. The reason is pretty simple as follows.
Lets say your rman session was opened on server dev. You use this connection:
The auxiliary database uses the TNSalias 'prod' to connect to the target database. The prod database uses the TNSalias 'dev' to connect to the auxiliary database. This means you have to configure the tnsnames.ora on both sides to be able to connect to the other database. Philosophy books in hindi. Since the rman session is on dev in this example you have to configure the TNSalias 'dev' on dev as well.
Back to the example with auxiliary /
, it is obvious now why it cannot work.
Then there are additional stuff to keep in mind. The auxiliary database needs to be restarted several times. In some cases you loose the connection to the auxiliary database when it shuts down. This means you have to configure the dev database in the SID_LIST of the listener on the dev server. And take care that the password file is present.
Well, this sounds like a lot configuration overhead. If you have to refresh your dev database frequently this is not a big deal. But I personally prefer to clone from backup location
because this is much more simple. You can also skip the SPFILE
clause when you create it manually. In my experience you need 2 or 3 attempts to work out the correct parameter conversion. If some parameters change on your prod database you might have to adjust this clause again.
Not the answer you're looking for? Browse other questions tagged oracleoracle-12crmanduplication or ask your own question.
I am trying to duplicate a DB from live to dev but it is failing. Can anybody advise what is going wrong? Both databases are running Oracle 12c. All database files seem to be copied over but it fails when trying to apply the archive logs.
I am running a full database and archive log backup before executing the DUPLICATE
command.
Command
Error
Thanks for any help.
1 Answer
Could you please tell us how you connected to rman?
For example:
The reason for you problem is that the two databases have trouble communicating with each other.
If you use auxiliary /
because your rman session is located on the dev server this is not going to work. Download free colin vallon rruga rapidshare library. The reason is pretty simple as follows.
Lets say your rman session was opened on server dev. You use this connection:
The auxiliary database uses the TNSalias 'prod' to connect to the target database. The prod database uses the TNSalias 'dev' to connect to the auxiliary database. This means you have to configure the tnsnames.ora on both sides to be able to connect to the other database. Since the rman session is on dev in this example you have to configure the TNSalias 'dev' on dev as well.
Back to the example with auxiliary /
, it is obvious now why it cannot work.
Then there are additional stuff to keep in mind. The auxiliary database needs to be restarted several times. In some cases you loose the connection to the auxiliary database when it shuts down. This means you have to configure the dev database in the SID_LIST of the listener on the dev server. And take care that the password file is present.
Well, this sounds like a lot configuration overhead. If you have to refresh your dev database frequently this is not a big deal. But I personally prefer to clone from backup location
because this is much more simple. You can also skip the SPFILE
clause when you create it manually. In my experience you need 2 or 3 attempts to work out the correct parameter conversion. If some parameters change on your prod database you might have to adjust this clause again.