Home
All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

Re: Cold DB copy-- Create controlfile error

Hemant K Chitale

2007-05-28

Replies:

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