Re: Cold DB copy-- Create controlfile error


1. If you say that the source database was shutdown yesterday then all datafiles in that
database would have been checkpointed and timestamped yesterday.
If that one file has an older timestamp (ie it did not get updated by the database shutdown checkpoint) then it seems as if that file does not belong to the current incarnation (since the last resetlogs)
of the source database.

2. Was the source database itself created as a copy of another with incomplete recovery and resetlogs OR was the source database at some point opened with a resetlogs ? Can you find out why ?

3. If you can mount the controlfile (or open) of the source database, you can query
V$DATAFILE / V$DATAFILE_HEADER or just do  a BACKUP CONTROLFILE TO TRACE
to list all the datafiles that "belong" to the source database.

4. If this one datafile really doesn't belong to the database how did it get included in your CREATE CONTROLFILE script ? Was the CREATE CONTROLFILE script manually written
or really generated from a BACKUP .. TRACE ?

At 08:28 PM Monday, Bala wrote:

Cloning a Instance using Cold database backup

Create controlfile script errors out with the message
--
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01189: file is from a different RESETLOGS than previous files
ORA-01110: data file 25: '/oracle/SID/oradata/users01.dbf'
--

Oracle <http://9.2.0.6>9.2.0.6 on Solaris 2.9
does this mean the file should be not part of the controlfile creation script ? how to get around this ?. the timestamp of the file is 2 months
ago. ?? Database was shutdown  and backup taken yesterday - 5/27/07

Thanks for your time and any pointers
Bala --



Hemant K Chitale
http://web.singnet.com.sg/~hkchital
and
http://hemantscribbles.blogspot.com
and
http://hemantoracledba.blogspot.com

"First they ignore you, then they laugh at you, then they fight you, then you win" !" Mohandas Gandhi Quotes : http://www.brainyquote.com/quotes/authors/m/mohandas_gandhi.html

--
http://www.freelists.org/webpage/oracle-l


Other related posts: