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-21       - By Prem Khanna J

Reply:     1     2     3     4     5     6     7  

Hi Tom ,Dennis, Mark and all,
thanx for ur input.this is my "create controlfile " script.
i did a "alter database backup controlfile ... " on DEV01
instance,edited it to look like this.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
CREATE CONTROLFILE SET DATABASE "DEV03 " RESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 5
MAXDATAFILES 512
MAXINSTANCES 1
MAXLOGHISTORY 7260
LOGFILE
GROUP 1 (
'/home01/db03/dev03data/log01a.dbf ',
'/home01/db03/dev03data/log01b.dbf '
) SIZE 10M,
GROUP 2 (
'/home01/db03/dev03data/log02a.dbf ',
'/home01/db03/dev03data/log02b.dbf '
) SIZE 10M
DATAFILE
'/home01/db03/dev03data/system01.dbf ' REUSE,
...........
'/home01/db03/dev03data/scs02d01.dbf ' REUSE,
-- '/home01/db03/dev03data/scs02x01.bdf ' REUSE,
'/home01/db03/dev03data/distutor00d01.dbf ' REUSE,
'/home01/db03/dev03data/distutor00x01.dbf ' REUSE
CHARACTER SET JA16SJIS;
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
actually DEV03 already exits and is a test instance.
we overwrite the DBF files of DEV03 with DEV01 - >
change the DB name/file path in new "create controlfile " script
- > startup nomount & re-create control file .
we do all this only to copy the data from DEV01 to DEV03.

alter.log of DEV03 says that
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
Tablespace 'SCS02X ' #392 found in data dictionary,
but not in the controlfile. Adding to controlfile.
File #400 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00400 ' in the controlfile.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
file# 400 is in all way similar with other 399 files.
WHEN IS SUCH A IN-CONSISTNENCY BETWEEN DATA DICT AND
CONTROL FILE LIKELY TO OCCUR ?

my manager feels EXP/IMP will be cumbersome ?
any other possible suggestions for this ?
this is oracle apps 11.5.9/oracle 9.2.0.4/AIX5.2 env.

Thanks and Regards,
Prem.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --