Incompatible control file

I attempted to upgrade 10.2.0.1 to 11.2 but things went wrong. So, I am trying to start the source database but I get the following error: ORA-00201 control file version 11.2.0.0.0 incompatible with ORACLE version 10.2.0.1.0. Is there any way I can make this control file compatible with my source DB? I am no DB admin but I think I may have a backupset but I have no idea what's in it and how to restore controlfile from it.

Is it possible to recreate controlfile without restoring database? I was reading [managing control files|http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/control.htm#i1006293] from 10.2 database administrator's guide and it looks like to me it is possible. As I mentioned, I am no dba admin so please bear with me.
Yes, it is possible to recreate the control file. If you still have 11.2 software installed on target system and you have the init.ora file created as part of your failed upgrade attempt, the easiest way to do it is this:
1. load the 11.2 environment (set ORACLE_HOME, ORACLE_SID, etc.) and mount the database in 11.2 (that is, version that is compatible with control file version)
STARTUP MOUNT PFILE='/path/to/init.ora.for.11.2'2. backup the control file to trace:
ALTER DATABASE BACKUP CONTROLFILE TO TRACE AS '/path/to/ctlfile_recreate.sql' NORESETLOGS;3. shutdown 11.2 instance
SHUTDOWN IMMEDIATE4. open the generated file and review it. If you see any statements you think are not needed, comment them out (like those related to standby log files.)
5. change your environment to 10.2 and run the script in SQL*Plus - it contains all commands necessary to start the instance, recreate the control file and other files, recover the database and open it.
Make sure you backup the whole database before doing this (you actually should've done that before upgrade attempt - if you did, you could simply restore from backup and be done with it already...)

Similar Messages

  • Control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.

    hi;
    I'm totally new to the oracle databases field...am trying to startup the database using the parameter file init.ora by using the command
    startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/init.ora'
    But its giving me the following error:
    ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version
    10.2.0.0.0
    ORA-00202: control file:
    '/u01/app/oracle/product/10.2.0/db_1/dbs/control01.ctl'
    Can anyone help me with this error?
    Thanks!

    startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/init.ora'You are most likely using the wrong init.ora file. Get a list of files at /u01/app/oracle/product/10.2.0/db_1/dbs/
    For the database ORACLE_SID that you are attempting to startup, there would be an initSID.ora or spfileSID.ora
    e.g. if the ORACLE_SID is PROD, the file would be initPROD.ora or spfilePROD.ora
    The spfileSID.ora is a binary file and should not be accessed by a text-editor.
    Hemant K Chitale

  • ORA-00201: control file version 10.2.0.4.0 incompatible with ORACLE version

    Hi,
    I have upgraded the database from 9.2.0.4 to 10.2.0.4 and for some time compatible parameter remained 9.2.0.0.
    Recently i have changed compatible parameter to 10.2.0.4.Now I could open the database with pfile but when I am trying to open database with spfile then I am getting following error:--
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1694498816 bytes
    Fixed Size 1299532 bytes
    Variable Size 1342180276 bytes
    Database Buffers 343932928 bytes
    Redo Buffers 7086080 bytes
    ORA-00201: control file version 10.2.0.4.0 incompatible with ORACLE version
    9.2.0.0.0
    ORA-00202: control file: 'C:\ORACLE9I\ORADATA\UPGRD9I\CONTROL01.CTL'
    OS=Windowxp 32 bit
    Database version=10.2.0.4 32 bit.
    Please share your experience with me.
    MK

    Yes,everything is set to 10g only with spfile I am getting this error.
    When i am starting it with pfile it is opening and running good the onle thing I can not enable alter system set db_file_recovery_dest_size=5G scope=both bcoz spfile is not being used .I started using pfile and created spfile from pfile and then bounce the database startup then I am getting above error.
    Mk

  • Getting a ORA-00201: control file version 10.2.0.1.0 incompatible with 10.0

    I have just shut down and restarted a production database. It will not open.. It wasn't recovered, upgraded or anything, it was shutdown and an attempt was made to restart it.
    ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version
    10.2.0.0.0
    There does not seem to be an spfile.
    what could be going wrong here?

    It sounds like someone made a change to the COMPATIBLE parameter and saved it to SPFILE (or even updated the init.ora file) only to cause a problem on restart but you say there was no SPFILE. Have you tried changing the COMPATIBLE parameter back to what it was on the previous start? Check the alert log for the history of changes and previous values.
    Edited by: stellios3 on Oct 28, 2010 11:59 AM

  • Control File error while duplicating Database through Rman

    Hi,
    Oracle Ver: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    Os:Win Xp
    I am trying to create a Standby through Rman....
    I am using this Run Block to take backup of Primary Database.......
    run {
    allocate channel d1 type disk;
    allocate channel d2 type disk;
    setlimit channel d1 kbytes 2097150;
    setlimit channel d2 kbytes 2097150;
    backup incremental level 0 format 'e:\Oracle\standby\rman\df_%U' database
    include current controlfile for standby;
    sql "alter system archive log current";
    backup
    archivelog all format 'e:\Oracle\standby\rman\al_%U' delete input;
    }After taking the Backup when I am trying to create the standby with Duplicate command it s giving me Error...
    The Run Block I am using is ......
    RMAN> run {
    2> allocate auxiliary channel dup1 type disk;
    3> allocate auxiliary channel dup2 type disk;
    4> set newname for datafile 1 to 'E:\Oracle\standby\system01.dbf';
    5> set newname for datafile 2 to 'E:\Oracle\standby\UNDOTBS01.DBF';
    6> set newname for datafile 3 to 'E:\Oracle\standby\SYSAUX01.DBF';
    7> set newname for datafile 4 to 'E:\Oracle\standby\USERS01.DBF';
    8> duplicate target database for standby
    9> dorecover;
    10> }
    allocated channel: dup1
    channel dup1: sid=37 devtype=DISK
    allocated channel: dup2
    channel dup2: sid=36 devtype=DISK
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 02-OCT-08
    contents of Memory Script:
       set until scn  1105194;
       restore clone standby controlfile;
       sql clone 'alter database mount standby database';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 02-OCT-08
    channel dup1: starting datafile backupset restore
    channel dup1: restoring control file
    channel dup1: reading from backup piece E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1
    channel dup1: restored backup piece 1
    piece handle=E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1 tag=TAG20081002T124502
    channel dup1: restore complete, elapsed time: 00:00:01
    output filename=D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA
    Finished restore at 02-OCT-08
    sql statement: alter database mount standby database
    released channel: dup1
    released channel: dup2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/02/2008 13:01:43
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 10/02/2008 13:01:43
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
    *ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.0*
    ORA-00202: control file: 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA'Why i am getting this Incomaptable Control File error inspite of Backing up the control File.....
    Regards,
    Prosenjit Mukherjee

    Check the value for the parameter "COMPATIBLE" in the source and standby database instance parameter files.
    "COMPATIBLE" should be the same.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i70517
    "... ensure the COMPATIBLE initialization parameter is set to the same value on both the primary and standby databases"
    Edited by: Hemant K Chitale on Oct 2, 2008 4:09 PM
    Added link and quote from 10g doc

  • Upgrade Error when starting the DB   ora-00201 control file version

    Hi Experts,
    While Upgrading R12.1.1 Vision database version from 11.1.0.7 to 11gR2on RHEL 6 64bit Plateform the following patches 've been applied successfully on apps tier
    According to note ID: 1058763.1
    Patch 7303030 , 9062910 , 8919489 - Oracle E-Business Suite Techstack 12.1.3 Product Release Update Pack ANd 9868229 - 10163753 - 11071569 -
    9738085 - 9852070 - 12686610 - 6400501 Applied without any Issue.
    On DB tier i.e 11.1.0.7 these patches are applied successfully According to metalink Note *[ID 1058763.1]*
    Oracle Database Upgrade Guide 11g Release 2 (11.2) And Complete Checklist for Manual Upgrades to 11gR2 *[ID 837570.1]*
    *7695070 - Change In The Timezone File Format*, And 13417321 -14112098 DST Changes For DSTV18 -7695070
    Than we 've. Downloaded the 11.2.0.3 x86_64 software (of patch 10404530) Installed 11.2.0.3 on this Location /u01/oracle/VIS/db/tech_st/11.2.0.3
    the Old ORACLE_HOME is /u01/oracle/VIS/db/tech_st/11.1.0.7
    AND after that
    On 11.2.0.3 home, applied these additional 11.2.0.3 RDBMS patches successfully according to metalink Nots Mentioned above :
    *4247037 , 9858539, 3) 12942119 ,12960302 ,12985184 ,13001379,13004894 ,13258936 , 13366268,*
    Now Need to Run utlu112i.sql on existing 11.1.0.7 oracle database.. for that started the listener But when i tried
    to startup DB from sqlplus prompt. got this ora-00201 control file version error,
    We Unable to start the Database in order to run the utlu112i.sql on existing 11.1.0.7 oracle database..
    Please advise. we are doing manual upgrade.
    Thanks
    Priya

    Please verify the value of COMPATIBLE initialization parameter.
    Troubleshooting ORA-201 ORA-202 [ID 948710.1]
    OERR: ORA 201 control file version <num> incompatible with Oracle version <nu [ID 18286.1]
    Thanks,
    Hussein

  • Oracle binary and control files

    Hi All,
    I want know whether the oracle binary and control files are they related in anyway.
    I have my physical files on a SAN storage and my oracle binary files on a local disk.
    In case if I delete my oracle binaries and restore it from a backup, will I be able to start my database without any issues.
    Since all my oracle datafiles,controlfiles and redofiles are located in SAN storage.

    Oracle binaries and control files are related in some way because Oracle version is recorded in control files:
    oerr ora 201
    00201, 00000, "control file version %s incompatible with ORACLE version %s"
    // *Cause:  The control file was created by incompatible software.
    // *Action: Either restart with a compatible software release or use
    //          CREATE CONTROLFILE to create a new control file that is
    //          compatible with this release.When restoring Oracle binaries on UNIX you should take care about setuid bits on oracle executable to avoid local connection issues by non oracle Unix accounts.

  • Problems creating control file in RMAN duplicate database

    There is so much detail involved in this operation that I don't know what might be useful, so I'll start simple. I'm attempting to clone a database on the same host using RMAN "duplicate database". I finally got all the setup done, the OS authentication hurdles hurdled, etc. and entered the command:
    duplicate target database to COPYCH2M until time "to_date('March 15 2012 12:00:00', 'Mon DD YYYY HH24:MI:SS')";
    The first time I got:
    ORA-19504: failed to create file "/u01/app/oracle/oradata/COPYCH2M/control01.ctl"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 2: No such file or directory
    There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/21/2012 15:59:25
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-00201: control file version 11.2.0.0.0 incompatible with ORACLE version 11.1.0.1.0
    ORA-00202: control file: '/u01/app/oracle/oradata/COPYCH2M/control01.ctl'
    Sounds straightforward, if frustrating, right? Apparently you can't duplicate a database that's not in the exact same version. But:
    1) The backuppiece we got the control file from was from last November.
    2) The version of Oracle has not been updated since that time.
    How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
    Thanks, I'm hoping this is easy but I can post more info if needed.

    >
    There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
    >
    The database is limited as to what it can create. Since you defined where you wanted the controlfiles to go (pfile/spfile), it's up to you to make sure the directory is valid and exists. :)
    >
    How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
    >
    As for your controlfiles, make sure the compatible parameter is set the same on both the source and the target unless you are using the default (11.1.0.1 for you, and you aren't)
    Keep going, you'll get there. RMAN duplicate is a great feature.
    Good luck.

  • Problems creating control file (duplicated database)

    Hello,
    We're duplicated database but some datafiles weren't added on controlfile creation script, so I need to recreate controlfiles again with missed data files.
    I launched controlfile creation script but I get the following error:
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - 64bit Production
    SVRMGR> connect internal
    Connected.
    SVRMGR> @inicio.sql
    CREATE CONTROLFILE REUSE SET DATABASE "SPT" RESETLOGS NOARCHIVELOG
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01161: database name SPC in file header does not match given name of SPT
    ORA-01110: data file 205: '/oracle/SPT/sapdata8/user2d_1/user2d.data1'
    SVRMGR>
    Problems are just with missed datafiles.
    Should I REUSE or just SET database?
    Thanks in advance for your help.
    Regards,
    Carles

    >
    There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
    >
    The database is limited as to what it can create. Since you defined where you wanted the controlfiles to go (pfile/spfile), it's up to you to make sure the directory is valid and exists. :)
    >
    How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
    >
    As for your controlfiles, make sure the compatible parameter is set the same on both the source and the target unless you are using the default (11.1.0.1 for you, and you aren't)
    Keep going, you'll get there. RMAN duplicate is a great feature.
    Good luck.

  • Error while creating control file

    hi
    i am getting following error while creating controll file
    QL> shutdown
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  629145600 bytes
    Fixed Size                  1250548 bytes
    Variable Size             171969292 bytes
    Database Buffers          452984832 bytes
    Redo Buffers                2940928 bytes
    SQL> @c:\study\rose\c.sql
    SP2-0042: unknown command "DATAFILE" - rest of line ignored.
    SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
    SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
    SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    1  CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS  froce logging NOARCHIVELOG
    2      MAXLOGFILES 32
    3      MAXLOGMEMBERS 2
    4      MAXDATAFILES 32
    5      MAXINSTANCES 16
    6      MAXLOGHISTORY 1752
    7  LOGFILE
    8  GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA'  SIZE 50M,
    9    GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA'  SIZE 50M,
    10   GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG'  SIZE 25M,
    11*   GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG'  SIZE 25M
    SQL>

    CHETAN YADAV wrote:
    hi
    i am getting following error while creating controll file
    QL> shutdown
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  629145600 bytes
    Fixed Size                  1250548 bytes
    Variable Size             171969292 bytes
    Database Buffers          452984832 bytes
    Redo Buffers                2940928 bytes
    SQL> @c:\study\rose\c.sqlWe can't debug what we can't see. And what we can't see is the contents of "c:\study\rose\c.sql".
    SP2-0042: unknown command "DATAFILE" - rest of line ignored.
    SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
    SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
    SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
    2 MAXLOGFILES 32
    3 MAXLOGMEMBERS 2
    4 MAXDATAFILES 32
    5 MAXINSTANCES 16
    6 MAXLOGHISTORY 1752
    7 LOGFILE
    8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
    9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
    10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
    11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
    SQL>

  • In case of Control File Failure, Create Control File cmd how get scn?

    The following lines i picked from the
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5033895918209
    ======================================================
    1. We can use the 'alter database rename ' at mount stage to rename any datafile. Or is it not possible to rename the system datafile like this? Why?
    2. What happens to the SCN information in the controlfile when a controlfile is recreated? How will the database sync the SCN with that of the datafiles?
    If I issue a 'backup controlfile to <file>' at 8 am and then restore that controlfile binary backup at 10 am and try to open the database, it will give me a control file old error. I understand that it is because the SCN is not in sync. But if I issue a 'backup controlfile to trace' at 8 am and use that script to recreate a new controlfile at 10 am, why doesn't I get the error? Where does it get the SCN information then?
    So what is the use of taking a binary copy of the controlfile. Looks like having a 'backup controlfile to trace' script is better than a binary backup. Do you agree? Why/whynot?
    Followup August 16, 2002 - 2pm US/Eastern:
    1) you could but I just always did it with the create controlfile statement.
    When moving system -- I do it that way
    When moving ANY OTHER tablespace -- i just offline it, move the files, rename the files online it.
    2) it just happens.
    The control file you create will read the files to figure out what is up.
    I agree, I've never used a binary controlfile backup myself.
    =========================================================
    My Question- In the Point2 above "Where does it get the SCN information and how control file do SCN Sync with data files?
    "

    1. The CREATE CONTROLFILE reads SCNs from the DataFiles. If the
    database was last shutdown, all the datafiles are "non-fuzzy" and have the same
    SCN (as of the shutdown checkpoint), If the database or some of the files are from
    are hot backup, you cannot open the database because the SCN of some files is
    older (lower) than others -- that is why a RECOVER (DATABASE or DATAFILE) is
    required.
    See http://web.singnet.com.sg/~hkchital/Incomplete_Recovery_with_BackupControlfile.doc
    2. I'm not sure I agree with Tom Kyte's response
    "I agree, I've never used a binary controlfile backup myself. "
    to the question
    "So what is the use of taking a binary copy of the controlfile. Looks like having a 'backup controlfile to trace' script is better than a binary backup. Do you agree? Why/whynot?"
    If you have lost your database (storage/filesystem failure) and all your datafiles are lost,
    you cannot simply do a CREATE CONTROLFILE from a Trace -- because the
    CREATE CONTROLFILE has to read and verify all the datafiles specified in the
    CREATE statement. If you have an RMAN Repository, you can use that to restore
    your database files but otherwise, the RMAN information about backups and backupsets
    are in the binary controlfile.
    That is why it is important to take binary controlfile backups either manually or
    using RMAN or using CONFIGURE CONTROLFILE AUTOBACKUP ON.

  • Creation of control file failed

    Hi all
    when i am trying to create control file my terminal is hanging on following stage
    SQL> @/u02/ORACLE/orcldb/9.2.0/dbs/contrl.sql
    ORACLE instance started.
    Total System Global Area 581506668 bytes
    Fixed Size 452204 bytes
    Variable Size 402653184 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 10629120 bytes
    54
    and in alert log file no error are given

    Hi
    Thanks for your reply
    i am pasting whole sql file here please check it and tell me if any error are there ?
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "ORCL" NORESETLOGS ARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 32
    MAXLOGMEMBERS 5
    MAXDATAFILES 512
    MAXINSTANCES 8
    MAXLOGHISTORY 7260
    LOGFILE
    GROUP 1 (
    '/u02/ORACLE/orcldata/log01a.dbf',
    '/u02/ORACLE/orcldata/log01b.dbf'
    ) SIZE 10M,
    GROUP 2 (
    '/u02/ORACLE/orcldata/log02a.dbf',
    '/u02/ORACLE/orcldata/log02b.dbf'
    ) SIZE 10M
    -- STANDBY LOGFILE
    DATAFILE
    '/u02/ORACLE/orcldata/system01.dbf',
    '/u02/ORACLE/orcldata/system02.dbf',
    '/u02/ORACLE/orcldata/system03.dbf',
    '/u02/ORACLE/orcldata/system04.dbf',
    '/u02/ORACLE/orcldata/system05.dbf',
    '/u02/ORACLE/orcldata/ctxd01.dbf',
    '/u02/ORACLE/orcldata/owad01.dbf',
    '/u02/ORACLE/orcldata/a_queue02.dbf',
    '/u02/ORACLE/orcldata/odm.dbf',
    '/u02/ORACLE/orcldata/olap.dbf',
    '/u02/ORACLE/orcldata/system10.dbf',
    '/u02/ORACLE/orcldata/system06.dbf',
    '/u02/ORACLE/orcldata/portal01.dbf',
    '/u02/ORACLE/orcldata/system07.dbf',
    '/u02/ORACLE/orcldata/system09.dbf',
    '/u02/ORACLE/orcldata/system08.dbf',
    '/u02/ORACLE/orcldata/system11.dbf',
    '/u02/ORACLE/orcldata/undo01.dbf',
    '/u02/ORACLE/orcldata/a_txn_data01.dbf',
    '/u02/ORACLE/orcldata/a_txn_ind01.dbf',
    '/u02/ORACLE/orcldata/a_ref01.dbf',
    '/u02/ORACLE/orcldata/a_int01.dbf',
    '/u02/ORACLE/orcldata/a_summ01.dbf',
    '/u02/ORACLE/orcldata/a_nolog01.dbf',
    '/u02/ORACLE/orcldata/a_archive01.dbf',
    '/u02/ORACLE/orcldata/a_queue01.dbf',
    '/u02/ORACLE/orcldata/a_media01.dbf',
    '/u02/ORACLE/orcldata/a_txn_data02.dbf',
    '/u02/ORACLE/orcldata/a_txn_data03.dbf',
    '/u02/ORACLE/orcldata/a_txn_ind02.dbf',
    '/u02/ORACLE/orcldata/a_txn_ind03.dbf',
    '/u02/ORACLE/orcldata/a_txn_ind04.dbf',
    '/u02/ORACLE/orcldata/a_txn_ind05.dbf',
    '/u02/ORACLE/orcldata/a_ref02.dbf'
    CHARACTER SET US7ASCII

  • Creation of control file

    Hi friends,
    I want to do homogeneous system copy.
    I want to know the steps in homogeneous copy, and how to create control file from source system for target system.
    And after that what activity is required .
    thanks
    Regards
    Manoj

    hi
    while doing homogeneous copy sap will do some functinalaties through one sql file I think it will take control file backup and recreate it.
    if u want to do manually
    issue command
    sql>alter database backup controlfile to trace;
    look for trace file in udump dir from that file u can recreate controlfile or rename database.
    before doing take complete cold backup of source.
    start process with sap inst
    it will do certain tasks ref in manual
    let me know if u knoe some more inputs
    vinod

  • Creation of control file in Oracle 10g

    Hi,
    I had taken the backup of control file(backup control file to trace) and edited it to change the new location of the datafile.But when i try to create the Control file(Startup nomount,@cntrl.sql) it fails with the following error
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01276: Cannot add file
    /oracle/DBS/redolog/DBS/controlfile/o1_mf_2s4ho2n8_.ctl. File has an Oracle
    Managed Files file name.
    how can i recreate it?
    Regards,
    Cherry

    HI,
    what are you actually trying to do...
    relocation of datafile or control file.
    if you want to relocation of data file then go through below link
    http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10739/dfiles.htm#i1006457
    ORA-01276
    http://www.idevelopment.info/data/Oracle/DBA_tips/Tablespaces/TBS_8.shtml
    hope this helps
    Taj

  • How can i validate the data in the control file?

    Consider that the SQLLoader reads the Input data File from the path and it loads the data into the tables based up on the descrition specified in the control File.
    First, the table to be filled is created:
    create table sql_loader_1 ( load_time date, field_1 Numeric, field_2 varchar2(10)
    Sample Control File :
    load_1.ctl
    load data
    infile 'load_1.dat' "str '\r\n'"
    insert into table sql_loader_1
    load_time sysdate,
    field_2 position( 1:10),
    field_1 position(11:20)
    Note that the positions 11 through 20 are loaded into field_1 and positions 1 through 10 into field_2. The field load_time is filled with the current time (sysdate) of the load.
    Here's the data. The name of the file (load_1.dat) had been specified with the infile statement in the control file.
    load_1.dat
    0123456789abcdefghij
    foo bar
    here comes a very long line
    and the next is
    short
    Here i want to validate the field_1 (Numeric Datatype) since the data file contains the character value (i.e)abcdefghij

    Good question for this forum:
    Export/Import/SQL Loader & External Tables
    Werner

Maybe you are looking for