Links
Home
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
ORA-01159 during controlfile recreate ?

ORA-01159 during controlfile recreate ?

2004-07-22       - By Hemant K Chitale

Reply:     1     2     3     4     5     6     7  



As your original database name was DEV01 and you are renaming it to DEV03,
if this is a Hot Backup, you must first complete recovery of the database
with the
name DEV01. --ie, do NOT run "create controlfile .. SET DEV03 " but use
"create controlfile DEV01 resetlogs ", then "recover database using backup
controlfile ",
"alter database open resetlogs ", "alter database backup controlfile to trace "
and .. now .. use the new controlfile to rename the database with the "SET
DEV03 RESETLOGS "
and, of course, OPEN RESETLOGS.


OPEN RESETLOGS is required when
a) Performing an incomplete recovery {which you must do first with the
same db_name DEV01}
b) Renaming a database {which are you doing to rename the DB to DEV03}


In any case, your CREATE CONTROLFILE statement seems to be missing some
datafiles.
Why not generate it from the original database DEV01 and modify it ? In
fact, your hot
backup could have included a Controlfile Backup also, which you could have
used to regenerate
the CREATE CONTROLFILE statement.

Hemant

At 10:15 AM Thursday, you wrote:
Hi all,
(...continuing with my previous post....)

after re-creating the control file,should i,

RECOVER DATABASE USING BACKUP CONTROLFILE;
(i did not do this.i am not sure whether
to do this in this case !! )

before

ALTER DATABASE OPEN RESETLOGS;

Thanks and Regards,
Prem.



Hemant K Chitale
Oracle 9i Database Administrator Certified Professional
http://web.singnet.com.sg/~hkchital
"A man 's reputation is what other people think of him; his character is
what he really is. "
-- Miner, Jack

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --