CREATE CONTROLFILE REUSE DATABASE

version 9206
where is the location where new controlfile is created, is that the location mentioned in pfile?
I have to change 100s dbfile/online logfile destinations in multiple dbs. that what i am planning
-startup nomount.
mv *.dbf /newlocation & mv *.log /newlocation
-create new controlfile with new dbfile/logfile locations
-and starup db
make me righ if i am not,
I dont want to use alter database rename file to new dest because of error chances .
Edited by: DBA2008 on Nov 11, 2009 12:07 PM

fixed ulimit not seeing this error anymore in alert log , but stuck here
ORA-27092: skgfofi: size of file exceeds file size limit of the process,
SQL> startup force;
ORACLE instance started.
Total System Global Area 319784528 bytes
Fixed Size 742992 bytes
Variable Size 285212672 bytes
Database Buffers 33554432 bytes
Redo Buffers 274432 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open RESETLOGS;
alter database open RESETLOGS
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/tulppwradb_db01/efrp/efrp_system01.dbf'
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database until co^H;
ORA-00277: illegal option to the UNTIL recovery flag CO
SQL> recover database using recover database using backup controlfile;
ORA-01906: BACKUP keyword expected
SQL> recover database using backup controlfile;
ORA-00279: change 4447751183142 generated at 09/14/2009 13:17:06 needed for
thread 1
ORA-00289: suggestion : /oracle/product/9.2.0.6/dbs/arch1_22008.dbf
ORA-00280: change 4447751183142 for thread 1 is in sequence #22008
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
Media recovery cancelled.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/tulppwradb_db01/efrp/efrp_system01.dbf'
SQL> recover database using backup controlfile;
ORA-00279: change 4447751183142 generated at 09/14/2009 13:17:06 needed for
thread 1
ORA-00289: suggestion : /oracle/product/9.2.0.6/dbs/arch1_22008.dbf
ORA-00280: change 4447751183142 for thread 1 is in sequence #22008
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00308: cannot open archived log
'/oracle/product/9.2.0.6/dbs/arch1_22008.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
ORA-00308: cannot open archived log
'/oracle/product/9.2.0.6/dbs/arch1_22008.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
oracle:rvaix5:efrp>ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) 32768
coredump(blocks) unlimited
nofiles(descriptors) 2000
SQL> startup force;
ORACLE instance started.
Total System Global Area 555714464 bytes
Fixed Size 743328 bytes
Variable Size 285212672 bytes
Database Buffers 268435456 bytes
Redo Buffers 1323008 bytes
Database mounted.
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/tulppwradb_db01/ncersp/system01.dbf'
Edited by: DBA2008 on Nov 12, 2009 4:07 PM

Similar Messages

  • CREATE CONTROLFILE REUSE DATABASE ....(what's the meaning of the 'REUSE')?

    I know the Oracle documents about 'CREATE CONTROLFILE':
    [http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm]
    but i don't understand the following statements:
    REUSE
    Specify REUSE to indicate that existing control files identified by the initialization parameter CONTROL_FILES can be reused, overwriting any information they may currently contain. If you omit this clause and any of these control files already exists, then Oracle Database returns an error.
    Please Note the last statements:If you omit this clause and any of these control files already exists, then Oracle Database returns an error.
    i try a test ,nomatter the control files exists or not , it can re-create the new control files . it doesn't occur an error.
    i'm confusing,what's this statements meaning ?
    If you omit this clause and any of these control files already exists, then Oracle Database returns an error

    Hi,
    You use "reuse" to indicate that the control files identified in the initialization parameter can be reuse and can be overwritten, and the database name will be the same.
    CREATE CONTROLFILE REUSE DATABASE "TEST" RESETLOGS NOARCHIVELOG
    If you want to change the database name you move the actual control files to a different location and change the "Reuse" for "Set"
    CREATE CONTROLFILE SET DATABASE "NEW_NAME" RESETLOGS NOARCHIVELOG
    I think we can get an error using the
    CREATE CONTROLFILE SET DATABASE "NEW_NAME" RESETLOGS NOARCHIVELOG
    without moving the controlfiles if I add the REUSE before the SET it overwrite the Controlfile
    CREATE CONTROLFILE REUSE SET DATABASE "NEW_NAME" RESETLOGS NOARCHIVELOG
    Edited by: user9132844 on Apr 10, 2012 8:55 AM

  • CREATE CONTROLFILE REUSE DATABASE OR SET DATABASE

    Hi Guys,
    I'm doing a db migration from one mount point to another mount point in the same server.
    The location of controlfile, log files and datafiles will be change.
    I have updated the new controfile location in my pfile and startup nomount.
    When creating the controfile to reflect the new location of redo logs / datafiles, should i use "reuse" or "set" syntax? Can explain what's the diff between the 2? Have read up the document but not able to understand.
    thanks

    Here not only controlfile but also data & redo log files That's irrelevant. The REUSE in the CREATE CONTROLFILE statement applies only to the controlfile.
    (REUSE for Datafiles is in ALTER ... CREATE ... DATAFILE .... etc).
    REUSE in CREATE CONTROLFILE is to specify that existing controlfiles are to be overwritten.
    SET in CREATE CONTROLFILE is to specify that the DB_NAME is being changed from whatever is the existing name in datafile headers.
    They are two different clauses for two different purposes. It is not an "either/or" decision.
    I can REUSE with SET.
    I can REUSE without SET.
    I can exclude REUSE but use SET.
    I can exclue REUSE and exclude SET.
    Hemant K Chitale

  • Recover controlfile with database in NOMOUNT state

    Hi,
    I'm doing some tests, destroying my test envinroment. At this time i was trying to recover a "missing" controlfile both via RMAN and ALTER DATABASE command, but they all have failed because i cannot mount my database and as my researches show, i am only able to recover a controlfile if my instance is in MOUNT, but i cannot mount it because of the missing controlfile. I saw that via RMAN, i can recover the controlfile from a backup if i use static service registration. This is the only manner?
    Thanks for your attention
    Version: 10.2.0.4
    OS: Win 2003

    Fabricio_Jorge wrote:
    Hi,
    I'm doing some tests, destroying my test envinroment. At this time i was trying to recover a "missing" controlfile both via RMAN and ALTER DATABASE command, but they all have failed because i cannot mount my database and as my researches show, i am only able to recover a controlfile if my instance is in MOUNT, but i cannot mount it because of the missing controlfile. I saw that via RMAN, i can recover the controlfile from a backup if i use static service registration. This is the only manner?
    Thanks for your attention
    Version: 10.2.0.4
    OS: Win 2003I make new CONTROLFILE from SQL below
    bcm@bcm-laptop:~$ cat restart.sql
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "V112" NORESETLOGS  NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 100
        MAXINSTANCES 8
        MAXLOGHISTORY 1168
    LOGFILE
      GROUP 1 '/u01/app/oracle/oradata/v112/redo01.log'  SIZE 50M BLOCKSIZE 512,
      GROUP 2 '/u01/app/oracle/oradata/v112/redo02.log'  SIZE 50M BLOCKSIZE 512,
      GROUP 3 '/u01/app/oracle/oradata/v112/redo03.log'  SIZE 50M BLOCKSIZE 512
    -- STANDBY LOGFILE
    DATAFILE
      '/u01/app/oracle/oradata/v112/system01.dbf',
      '/u01/app/oracle/oradata/v112/sysaux01.dbf',
      '/u01/app/oracle/oradata/v112/undotbs01.dbf',
      '/u01/app/oracle/oradata/v112/users01.dbf',
      '/u01/app/oracle/oradata/v112/example01.dbf'
    CHARACTER SET AL32UTF8
    -- Commands to re-create incarnation table
    -- Below log names MUST be changed to existing filenames on
    -- disk. Any one log file from each branch can be used to
    -- re-create incarnation records.
    -- ALTER DATABASE REGISTER LOGFILE '/u01/app/oracle/flash_recovery_area/V112/archivelog/2011_10_20/o1_mf_1_1_%u_.arc';
    -- ALTER DATABASE REGISTER LOGFILE '/u01/app/oracle/flash_recovery_area/V112/archivelog/2011_10_20/o1_mf_1_1_%u_.arc';
    -- Recovery is required if any of the datafiles are restored backups,
    -- or if the last shutdown was not normal or immediate.
    RECOVER DATABASE
    -- Set Database Guard and/or Supplemental Logging
    ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
    -- Database can now be opened normally.
    ALTER DATABASE OPEN;
    -- Commands to add tempfiles to temporary tablespaces.
    -- Online tempfiles have complete space information.
    -- Other tempfiles may require adjustment.
    ALTER TABLESPACE TEMP ADD TEMPFILE '/u01/app/oracle/oradata/v112/temp01.dbf'
         SIZE 39845888  REUSE AUTOEXTEND ON NEXT 655360  MAXSIZE 32767M;
    -- End of tempfile additions.
    bcm@bcm-laptop:~$

  • Cannot create controlfile

    When I try create controlfile reuse resetlogs database 'cms';
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file
    '%ORACLE_HOME%\DATABASE\DBS1%ORACLE_SID%.ORA'
    ORA-27048: skgfifi: file header information is invalid
    OSD-04001: invalid logical block size (OS 1919900730)
    What could be the problem? And why is it looking for DBS1%ORACLE_SID%.ORA' should there be such file?
    ora11, Win2003 server

    anilreddy wrote:
    Go to the Trace file location and edit the trace file, recreate the control file at nomount stateI don't get this advice... why should you go to the tracefile location.
    In this stadium there might not even be a tracefile.
    Have a look at the statement you use. Usually it looks something like this:
    CREATE CONTROLFILE REUSE DATABASE "REPT01" NORESETLOGS FORCE LOGGING NOARCHIVELOG
    MAXLOGFILES 29
    MAXLOGMEMBERS 4
    MAXDATAFILES 254
    MAXINSTANCES 2
    MAXLOGHISTORY 11685
    LOGFILE
    GROUP 1 '/opt/rept01/re01/repprd_redo1.log' SIZE 50M,
    GROUP 2 '/opt/rept01/re01/repprd_redo2.log' SIZE 50M,
    GROUP 3 '/opt/rept01/re01/repprd_redo3.log' SIZE 50M,
    DATAFILE
    '/opt/rept01/db01/repprd_system01.dbf',
    '/opt/rept01/db01/undotbs1.dbf',
    '/opt/rept01/db01/repprd_sysaux.dbf',
    '/opt/rept01/db01/data01.dbf',
    '/opt/rept01/db01/data06.dbf'
    CHARACTER SET UTF8
    ;In your case you should check the files mentioned in the DATAFILE section
    Maybe post the complete command you're using.
    Thanks
    FJFranken

  • Creating Controlfile Consfusion

    According to Oracle Documents [http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm|http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm]
    When you issue a CREATE CONTROLFILE statement, Oracle Database creates a new control file based on the information you specify in the statement. The control file resides in the location specified in the CONTROL_FILES initialization parameter. If that parameter does not have a value, then the database creates an Oracle-managed control file in the default control file destination, which is one of the following (in order of precedence):
    •One or more control files as specified in the DB_CREATE_ONLINE_LOG_DEST_n initialization parameter. The file in the first directory is the primary control file. When DB_CREATE_ONLINE_LOG_DEST_n is specified, the database does not create a control file in DB_CREATE_FILE_DEST or in DB_RECOVERY_FILE_DEST (the flash recovery area).
    •If no value is specified for DB_CREATE_ONLINE_LOG_DEST_n, but values are set for both the DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST, then the database creates one control file in each location. The location specified in DB_CREATE_FILE_DEST is the primary control file.
    •If a value is specified only for DB_CREATE_FILE_DEST, then the database creates one control file in that location.
    •If a value is specified only for DB_RECOVERY_FILE_DEST, then the database creates one control file in that location.
    If no values are set for any of these parameters, then the database creates a control file in the default location for the operating system on which the database is running. This control file is not an Oracle-managed file.
    SQL> alter database backup controlfile to trace as 'D:\oracle\stuff\control.txt'
      2  /
    Database altered.
    SQL> show parameter control_files
    NAME                                 TYPE        VALUE
    control_files                        string      D:\ORACLE\PRODUCT\10.2.0\ORADA
                                                     TA\ORCL\CONTROL01.CTL, D:\ORAC
                                                     LE\PRODUCT\10.2.0\ORADATA\ORCL
                                                     \CONTROL02.CTL, D:\ORACLE\PROD
                                                     UCT\10.2.0\ORADATA\ORCL\CONTRO
                                                     L03.CTL
    SQL> create pfile='D:\oracle\stuff\pfile.txt' from spfile
      2  /
    File created.take out control_files parameter from pfile.txt and define the parameter only
    db_recovery_file_dest='D:\oracle\product\10.2.0\db_1
    db_recovery_file_dest_size=2147483648
    SQL> shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup pfile='D:\oracle\stuff\pfile.txt' nomount
    ORACLE instance started.
    Total System Global Area  293601280 bytes
    Fixed Size                  1290208 bytes
    Variable Size             218103840 bytes
    Database Buffers           67108864 bytes
    Redo Buffers                7098368 bytes
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
      2      MAXLOGFILES 16
      3      MAXLOGMEMBERS 3
      4      MAXDATAFILES 100
      5      MAXINSTANCES 8
      6      MAXLOGHISTORY 292
      7  LOGFILE
      8    GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'  SIZE 50M,
      9    GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG'  SIZE 50M,
    10    GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'  SIZE 50M,
    11    GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG'  SIZE 100M
    12  DATAFILE
    13    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
    17    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF'
    18  CHARACTER SET WE8MSWIN1252
    19  /
    Control file created.
    SQL> select name from v$controlfile
      2  /
    NAME
    D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MTSRCWH_.CTLAs you can see the location of OMF controlfile which is defined in parameter db_Recovery_file_dest,db_recovery_file_dest='D:\oracle\product\10.2.0\db_1\flash_recovery_area'
    But why its failing when i try to assert the Oracle doc statment
    If no values are set for any of these parameters DB_CREATE_ONLINE_LOG_DEST_n,DB_CREATE_FILE_DEST,DB_RECOVERY_FILE_DEST.The database creates a control file in the default location for the operating system on which the database is running. This control file is not an Oracle-managed file.
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
      2      MAXLOGFILES 16
      3      MAXLOGMEMBERS 3
      4      MAXDATAFILES 100
      5      MAXINSTANCES 8
      6      MAXLOGHISTORY 292
      7  LOGFILE
      8    GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'  SIZE 50M,
      9    GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG'  SIZE 50M,
    10    GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'  SIZE 50M,
    11    GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG'  SIZE 100M
    12  DATAFILE
    13    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
    17    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF'
    18  CHARACTER SET WE8MSWIN1252
    19  ;
    CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00600: internal error code, arguments: [kccbcf_omf_reuse], [], [], [], [],
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>

    Oh really , here you go , i hope you can help me to sort the issue.
    SQL> alter database backup controlfile to trace as 'D:\oracle\stuff\control.txt'
      2  /
    Database altered.
    SQL> show parameter control_files
    NAME                                 TYPE        VALUE
    control_files                        string      D:\ORACLE\PRODUCT\10.2.0\ORADA
                                                     TA\ORCL\CONTROL01.CTL, D:\ORAC
                                                     LE\PRODUCT\10.2.0\ORADATA\ORCL
                                                     \CONTROL02.CTL, D:\ORACLE\PROD
                                                     UCT\10.2.0\ORADATA\ORCL\CONTRO
                                                     L03.CTL
    SQL> create pfile='D:\oracle\stuff\pfile.txt' from spfile
      2  /
    File created.take out control_files parameter from pfile.txt
    Pfile Parameters
    orcl.__db_cache_size=71303168
    orcl.__java_pool_size=8388608
    orcl.__large_pool_size=4194304
    orcl.__shared_pool_size=201326592
    orcl.__streams_pool_size=0
    *.audit_file_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\adump'
    *.background_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\bdump'
    *.compatible='10.2.0.3.0'
    #*.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_.CTL'
    *.db_recovery_file_dest_size=2147483648
    *.db_recovery_file_dest='D:\oracle\product\10.2.0\db_1\flash_recovery_area'
    *.core_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.job_queue_processes=10
    *.open_cursors=300
    *.pga_aggregate_target=96468992
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=290455552
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\udump'
    SQL> shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup pfile='D:\oracle\stuff\pfile.txt' nomount
    ORACLE instance started.
    Total System Global Area  293601280 bytes
    Fixed Size                  1290208 bytes
    Variable Size             218103840 bytes
    Database Buffers           67108864 bytes
    Redo Buffers                7098368 bytes
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
      2      MAXLOGFILES 16
      3      MAXLOGMEMBERS 3
      4      MAXDATAFILES 100
      5      MAXINSTANCES 8
      6      MAXLOGHISTORY 292
      7  LOGFILE
      8    GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'  SIZE 50M,
      9    GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG'  SIZE 50M,
    10    GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'  SIZE 50M,
    11    GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG'  SIZE 100M
    12  DATAFILE
    13    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
    17    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF'
    18  CHARACTER SET WE8MSWIN1252
    19  /
    Control file created.
    SQL> select name from v$controlfile
      2  /
    NAME
    D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MTSRCWH_.CTLAs you can see the location of OMF controlfile which is defined in parameter db_Recovery_file_dest,db_recovery_file_dest='D:\oracle\product\10.2.0\db_1\flash_recovery_area'
    But why its failing when i try to assert the Oracle doc statment
    If no values are set for any of these parameters DB_CREATE_ONLINE_LOG_DEST_n,DB_CREATE_FILE_DEST,DB_RECOVERY_FILE_DEST.The database creates a control file in the default location for the operating system on which the database is running. This control file is not an Oracle-managed file.
    Pfile Parameters
    orcl.__db_cache_size=71303168
    orcl.__java_pool_size=8388608
    orcl.__large_pool_size=4194304
    orcl.__shared_pool_size=201326592
    orcl.__streams_pool_size=0
    *.audit_file_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\adump'
    *.background_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\bdump'
    *.compatible='10.2.0.3.0'
    *.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_.CTL'
    *.core_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.job_queue_processes=10
    *.open_cursors=300
    *.pga_aggregate_target=96468992
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=290455552
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\udump'
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
      2      MAXLOGFILES 16
      3      MAXLOGMEMBERS 3
      4      MAXDATAFILES 100
      5      MAXINSTANCES 8
      6      MAXLOGHISTORY 292
      7  LOGFILE
      8    GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'  SIZE 50M,
      9    GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG'  SIZE 50M,
    10    GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'  SIZE 50M,
    11    GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG'  SIZE 100M
    12  DATAFILE
    13    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
    17    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF'
    18  CHARACTER SET WE8MSWIN1252
    19  ;
    CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00600: internal error code, arguments: [kccbcf_omf_reuse], [], [], [], [],
    [], [], []when i do not define the contro_files parameter within pfile , it works a trait. It creates the control file using OS default location in the absence of control_files, whats the point?
    Pfile Parameters
    orcl.__db_cache_size=71303168
    orcl.__java_pool_size=8388608
    orcl.__large_pool_size=4194304
    orcl.__shared_pool_size=201326592
    orcl.__streams_pool_size=0
    *.audit_file_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\adump'
    *.background_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\bdump'
    *.compatible='10.2.0.3.0'
    #*.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_.CTL'
    *.db_recovery_file_dest_size=2147483648
    *.db_recovery_file_dest='D:\oracle\product\10.2.0\db_1\flash_recovery_area'
    *.core_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='orcl'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.job_queue_processes=10
    *.open_cursors=300
    *.pga_aggregate_target=96468992
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=290455552
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\oracle\product\10.2.0\db_1\admin\orcl\udump'
    SQL> startup pfile='D:\oracle\stuff\pfile.txt' nomount
    ORACLE instance started.
    Total System Global Area  293601280 bytes
    Fixed Size                  1290208 bytes
    Variable Size             218103840 bytes
    Database Buffers           67108864 bytes
    Redo Buffers                7098368 bytes
    SQL>  CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS  ARCHIVELOG
      2       MAXLOGFILES 16
      3       MAXLOGMEMBERS 3
      4       MAXDATAFILES 100
      5       MAXINSTANCES 8
      6       MAXLOGHISTORY 292
      7   LOGFILE
      8     GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'  SIZE 50M,
      9     GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG'  SIZE 50M,
    10     GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'  SIZE 50M,
    11     GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG'  SIZE 100M
    12   DATAFILE
    13     'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14     'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15     'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16     'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF',
    17     'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF'
    18   CHARACTER SET WE8MSWIN1252
    19   ;
    Control file created.
    SQL> select name from v$controlfile
      2  /
    NAME
    D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1ORCL.ORA

  • Create controlfile statement

    I created a copy of my database
    by physically copying datafiles and
    tempfiles it consist of,
    then I called create control file statement,
    but there can't be tempfiles specified there.
    I thought that I have to create temp tablespace
    after opening database, but it existed so I just
    called alter tablespace temp add tempfile
    'tempxx.dbf' reuse;
    for all tempfiles copied.
    I don't know how it is possible temp tablespace
    existed in created database when no tempfiles
    were specified in create controlfile statement.

    I created a copy of my database
    by physically copying datafiles and
    tempfiles it consist of,
    then I called create control file statement,
    but there can't be tempfiles specified there.r.- From where you took the script to create the temp datafiles ?
    I thought that I have to create temp tablespace
    after opening database, but it existed so I just
    called alter tablespace temp add tempfile
    'tempxx.dbf' reuse;r.- In effect they are created after opening the database
    for all tempfiles copied.
    I don't know how it is possible temp tablespace
    existed in created database when no tempfiles
    were specified in create controlfile statement.That task must be done so:
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "COPY1" NORESETLOGS  NOARCHIVELOG
    --  SET STANDBY TO MAXIMIZE PERFORMANCE
        MAXLOGFILES 50
        MAXLOGMEMBERS 5
        MAXDATAFILES 100
        MAXINSTANCES 1
        MAXLOGHISTORY 226
    LOGFILE
      GROUP 1 'C:\COPY1\COPY1\REDO01.LOG'  SIZE 10M,
      GROUP 2 'C:\COPY1\COPY1\REDO02.LOG'  SIZE 10M,
      GROUP 3 'C:\COPY1\COPY1\REDO03.LOG'  SIZE 10M
    -- STANDBY LOGFILE
    DATAFILE
      'C:\COPY1\COPY1\SYSTEM01.DBF',
      'C:\COPY1\COPY1\UNDOTBS01.DBF',
      'C:\COPY1\COPY1\CWMLITE01.DBF',
      'C:\COPY1\COPY1\DRSYS01.DBF',
      'C:\COPY1\COPY1\EXAMPLE01.DBF',
      'C:\COPY1\COPY1\INDX01.DBF',
      'C:\COPY1\COPY1\ODM01.DBF',
      'C:\COPY1\COPY1\TOOLS01.DBF',
      'C:\COPY1\COPY1\USERS01.DBF',
      'C:\COPY1\COPY1\XDB01.DBF'
    CHARACTER SET WE8ISO8859P1
    # Recovery is required if any of the datafiles are restored backups,
    # or if the last shutdown was not normal or immediate.
    RECOVER DATABASE
    # Database can now be opened normally.
    ALTER DATABASE OPEN;
    # Commands to add tempfiles to temporary tablespaces.
    # Online tempfiles have complete space information.
    # Other tempfiles may require adjustment.
    ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\COPY1\COPY1\TEMP01.DBF'
         SIZE 41943040  REUSE AUTOEXTEND ON NEXT 655360  MAXSIZE 32767M;
    # End of tempfile additions.Why you want to create or recreate the controlfiles ?
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Error re-creating controlfile

    I am trying to recreate the control file from the text trace file I created.
    When I run the script in the trace file I get errors, so I'm breaking it down into little steps.
    After running this:
    STARTUP NOMOUNT;
    CREATE CONTROLFILE REUSE DATABASE "D3P" RESETLOGS ARCHIVELOG;
    I get this error:
    SQL> CREATE CONTROLFILE REUSE DATABASE "D3P" RESETLOGS ARCHIVELOG;
    CREATE CONTROLFILE REUSE DATABASE "D3P" RESETLOGS ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file '?/dbs/[email protected]'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3
    I have no ideas where this file is coming from:
    ?/dbs/[email protected]'
    Any advice?

    I am using Oracle 9.2.0.6
    Here are the home & sid:
    ORACLE_SID=D3P
    ORACLE_HOME=/oracle/D3P/920_64
    Here is the complete statement:
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE SET DATABASE "D3P" RESETLOGS ARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 255
    MAXLOGMEMBERS 3
    MAXDATAFILES 254
    MAXINSTANCES 50
    MAXLOGHISTORY 2949
    LOGFILE
    GROUP 1 (
    '/oracle/D3P/origlogA/log_g11m1.dbf',
    '/oracle/D3P/mirrlogA/log_g11m2.dbf'
    ) SIZE 50M,
    GROUP 2 (
    '/oracle/D3P/origlogB/log_g12m1.dbf',
    '/oracle/D3P/mirrlogB/log_g12m2.dbf'
    ) SIZE 50M,
    GROUP 3 (
    '/oracle/D3P/origlogA/log_g13m1.dbf',
    '/oracle/D3P/mirrlogA/log_g13m2.dbf'
    ) SIZE 50M,
    GROUP 4 (
    '/oracle/D3P/origlogB/log_g14m1.dbf',
    '/oracle/D3P/mirrlogB/log_g14m2.dbf'
    ) SIZE 50M
    -- STANDBY LOGFILE
    DATAFILE
    '/oracle/D3P/sapdata3/system_1/system.data1',
    '/oracle/D3P/sapdata1/r3_1/r3.data1',
    '/oracle/D3P/sapdata2/r3_2/r3.data2',
    '/oracle/D3P/sapdata1/r3_3/r3.data3',
    '/oracle/D3P/sapdata2/r3_4/r3.data4',
    '/oracle/D3P/sapdata1/r3_5/r3.data5',
    '/oracle/D3P/sapdata2/r3_6/r3.data6',
    '/oracle/D3P/sapdata1/r3_7/r3.data7',
    '/oracle/D3P/sapdata2/r3_8/r3.data8',
    '/oracle/D3P/sapdata1/r3_9/r3.data9',
    '/oracle/D3P/sapdata2/r3620_1/r3620.data1',
    '/oracle/D3P/sapdata3/r3usr_1/r3usr.data1',
    '/oracle/D3P/sapdata3/r3_13/r3.data13',
    '/oracle/D3P/sapdata3/r3_10/r3.data10',
    '/oracle/D3P/sapdata2/r3620_2/r3620.data2',
    '/oracle/D3P/sapdata3/r3620_3/r3620.data3',
    '/oracle/D3P/sapdata3/r3_11/r3.data11',
    '/oracle/D3P/sapdata3/r3_12/r3.data12',
    '/oracle/D3P/sapdata4/undo_1/undo.data1',
    '/oracle/D3P/sapdata3/r3620_4/r3620.data4',
    '/oracle/D3P/sapdata4/r3_14/r3.data14',
    '/oracle/D3P/sapdata4/r3_15/r3.data15',
    '/oracle/D3P/sapdata4/r3_16/r3.data16',
    '/oracle/D3P/sapdata4/r3_17/r3.data17',
    '/oracle/D3P/sapdata2/r3_18/r3.data18',
    '/oracle/D3P/sapdata2/r3_19/r3.data19',
    '/oracle/D3P/sapdata2/r3_20/r3.data20'
    CHARACTER SET UTF8
    Here is the results
    SQL> CREATE CONTROLFILE REUSE SET DATABASE "D3P" RESETLOGS ARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 255
    MAXLOGMEMBERS 3
    MAXDATAFILES 254
    MAXINSTANCES 50
    MAXLOGHISTORY 2949
    LOGFILE
    GROUP 1 (
    '/oracle/D3P/origlogA/log_g11m1.dbf',
    '/oracle/D3P/mirrlogA/log_g11m2.dbf'
    ) SIZE 50M,
    GROUP 2 (
    '/oracle/D3P/origlogB/log_g12m1.dbf',
    '/oracle/D3P/mirrlogB/log_g12m2.dbf'
    ) SIZE 50M,
    GROUP 3 (
    '/oracle/D3P/origlogA/ 2 3 4 5 6 7 8 '/oracle/D3P/sapd
    ata4/r3_16/r3.data16',
    ERROR at line 2:
    ORA-01967: invalid option for CREATE CONTROLFILE

  • Create controlfile fails

    Dear Hussein,
    I refereshed my production database with UAT database and when I am executing create contirolfile command I am getting the below erros:
    SQL> @ctrl01.sql
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SP2-0042: unknown command "DATAFILE" - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    ======
    vi ctrl01.sql
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "PROD" RESETLOGS ARCHIVELOG
    MAXLOGFILES 32
    MAXLOGMEMBERS 5
    MAXDATAFILES 512
    MAXINSTANCES 8
    MAXLOGHISTORY 20157
    LOGFILE
    GROUP 1 (
    '/oracle/oraprod/PROD/db/apps_st/data/log01a.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log01b.dbf'
    ) SIZE 1024M,
    GROUP 2 (
    '/oracle/oraprod/PROD/db/apps_st/data/log02a.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log02b.dbf'
    ) SIZE 1024M
    DATAFILE
    '/oracle/oraprod/PROD/db/apps_st/data/a_archive01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_int01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_media01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_nolog01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_queue01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_queue02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_ref01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_ref02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_summ01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_data01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_data02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_data03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_data4.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind04.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind05.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/apps_ts_tools01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/cntrl01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/cntrl02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/cntrl03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/ctxd01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/interim.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log01a.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log01b.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log02a.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log02b.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/odm.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/olap.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/owad01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/portal01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/sysaux01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system04.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system05.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system07.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system08.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system09.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system10.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system11.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/temp01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/temp02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/temp03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/undo01.dbf'
    CHARACTER SET AR8ISO8859P6;
    can u plz suggest

    SP2-0042: unknown command "DATAFILE" - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0734: unknown command beginning "'/oracle/o..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELPIt seems to be there is space (one line space is there, as per your script) before DATAFILE clause, remove that space and re run the script, it should be fixed
    try with the below script
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "PROD" RESETLOGS ARCHIVELOG
    MAXLOGFILES 32
    MAXLOGMEMBERS 5
    MAXDATAFILES 512
    MAXINSTANCES 8
    MAXLOGHISTORY 20157
    LOGFILE
    GROUP 1 (
    '/oracle/oraprod/PROD/db/apps_st/data/log01a.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log01b.dbf'
    ) SIZE 1024M,
    GROUP 2 (
    '/oracle/oraprod/PROD/db/apps_st/data/log02a.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log02b.dbf'
    ) SIZE 1024M
    DATAFILE
    '/oracle/oraprod/PROD/db/apps_st/data/a_archive01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_int01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_media01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_nolog01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_queue01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_queue02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_ref01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_ref02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_summ01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_data01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_data02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_data03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_data4.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind04.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/a_txn_ind05.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/apps_ts_tools01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/cntrl01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/cntrl02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/cntrl03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/ctxd01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/interim.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log01a.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log01b.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log02a.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/log02b.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/odm.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/olap.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/owad01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/portal01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/sysaux01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system04.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system05.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system07.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system08.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system09.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system10.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/system11.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/temp01.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/temp02.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/temp03.dbf',
    '/oracle/oraprod/PROD/db/apps_st/data/undo01.dbf'
    CHARACTER SET AR8ISO8859P6;Edited by: oraDBA2 on Aug 3, 2009 2:15 PM

  • 00600 while running a create controlfile command.

    Hello,
    I got the ora 00600 during a "create controlfile". Below is the complete set of command I used for creating the controlfile. The database I am using is 10.2.0.3 on a win2k3 OS. IK did run a similar command on a 9i database recently and it worked fine.
    CREATE CONTROLFILE REUSE DATABASE "META4PRO" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 (
    'E:\ORACLE\ORADATA\META4PRO\REDO01.LOG',
    'D:\ORACLE\ORADATA\META4PRO\REDO01B.LOG'
    ) SIZE 50M,
    GROUP 2 (
    'E:\ORACLE\ORADATA\META4PRO\REDO02.LOG',
    'D:\ORACLE\ORADATA\META4PRO\REDO02B.LOG'
    ) SIZE 50M,
    GROUP 3 (
    'E:\ORACLE\ORADATA\META4PRO\REDO03.LOG',
    'D:\ORACLE\ORADATA\META4PRO\RODO03B.LOG'
    ) SIZE 50M
    DATAFILE
    'E:\ORACLE\ORADATA\META4PRO\SYSTEM01.DBF',
    'E:\ORACLE\ORADATA\META4PRO\UNDOTBS01.DBF',
    'E:\ORACLE\ORADATA\META4PRO\SYSAUX01.DBF',
    'E:\ORACLE\ORADATA\META4PRO\USERS01.DBF',
    'E:\ORACLE\ORADATA\META4PRO\TEMP01.DBF'
    CHARACTER SET WE8MSWIN1252
    Can anyone tip me off on what I did miss in this command and how to run the create controlfile with no errors?
    My database is in noarchive log mode.
    Thanks in advance.

    Hi..
    What is you remove the E:\ORACLE\ORADATA\META4PRO\TEMP01.DBF from the datafile clause. I think as per the name that it is the tempfile.
    Use:-
    CREATE CONTROLFILE REUSE DATABASE "META4PRO" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 (
    'E:\ORACLE\ORADATA\META4PRO\REDO01.LOG',
    'D:\ORACLE\ORADATA\META4PRO\REDO01B.LOG'
    ) SIZE 50M,
    GROUP 2 (
    'E:\ORACLE\ORADATA\META4PRO\REDO02.LOG',
    'D:\ORACLE\ORADATA\META4PRO\REDO02B.LOG'
    ) SIZE 50M,
    GROUP 3 (
    'E:\ORACLE\ORADATA\META4PRO\REDO03.LOG',
    'D:\ORACLE\ORADATA\META4PRO\REDO03B.LOG'
    ) SIZE 50M
    DATAFILE
    'E:\ORACLE\ORADATA\META4PRO\SYSTEM01.DBF',
    'E:\ORACLE\ORADATA\META4PRO\UNDOTBS01.DBF',
    'E:\ORACLE\ORADATA\META4PRO\SYSAUX01.DBF',
    'E:\ORACLE\ORADATA\META4PRO\USERS01.DBF'
    CHARACTER SET WE8MSWIN1252
    If successful then open the database and create a tempoaray tablespace or reuse the tempfile.
    HTH
    Anand
    Edited by: Anand... on Dec 2, 2008 1:50 PM

  • Error creating controlfile in linux

    hi my crt statement is
    CREATE CONTROLFILE
    SET DATABASE smsdev
    LOGFILE GROUP 1 ('/u01/app/oracle/oradata/smsdev/redo01_01.log',
    '/u01/app/oracle/oradata/smsdev/redo01_02.log'),
    GROUP 2 ('/u01/app/oracle/oradata/smsdev/redo02_01.log',
    '/u01/app/oracle/oradata/smsdev/redo02_02.log'),
    GROUP 3 ('/u01/app/oracle/oradata/smsdev/redo03_01.log',
    '/u01/app/oracle/oradata/smsdev/redo03_02.log')
    RESETLOGS
    DATAFILE '/u01/app/oracle/oradata/smsdev/system01.dbf' SIZE 3M,
    '/u01/app/oracle/oradata/smsdev/rbs01.dbs' SIZE 5M,
    '/u01/app/oracle/oradata/smsdev/users01.dbs' SIZE 5M,
    '/u01/app/oracle/oradata/smsdev/temp01.dbs' SIZE 5M
    MAXLOGFILES 50
    MAXLOGMEMBERS 3
    MAXLOGHISTORY 400
    MAXDATAFILES 200
    MAXINSTANCES 6
    ARCHIVELOG;
    am geting this error ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file
    '/u01/app/oracle/oradata/smsdev/system01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    what could be the problem , dir u01/app/oracle/oradata/smsdev is empty at the moment
    Edited by: Tshifhiwa on 2012/03/17 3:47 PM

    am starting database i already created database,how can i create this file DATAFILE '/u01/app/oracle/oradata/smsdev/system01.dbf' size 5m,
    '/u01/app/oracle/oradata/smsdev/undo01.dbf' size 5m,
    '/u01/app/oracle/oradata/smsdev/users01.dbf' size 5m,
    '/u01/app/oracle/oradata/smsdev/temp01.dbf' size 5m
    my create script is CREATE CONTROLFILE
    REUSE DATABASE smsdev
    LOGFILE GROUP 1 ('/u01/app/oracle/oradata/smsdev/redo01_01.log',
    '/u01/app/oracle/oradata/smsdev/redo01_02.log'),
    GROUP 2 ('/u01/app/oracle/oradata/smsdev/redo02_01.log',
    '/u01/app/oracle/oradata/smsdev/redo02_02.log'),
    GROUP 3 ('/u01/app/oracle/oradata/smsdev/redo03_01.log',
    '/u01/app/oracle/oradata/smsdev/redo03_02.log')
    RESETLOGS
    DATAFILE '/u01/app/oracle/oradata/smsdev/system01.dbf' size 5m,
    '/u01/app/oracle/oradata/smsdev/undo01.dbf' size 5m,
    '/u01/app/oracle/oradata/smsdev/users01.dbf' size 5m,
    '/u01/app/oracle/oradata/smsdev/temp01.dbf' size 5m
    MAXLOGFILES 50
    MAXLOGMEMBERS 3
    MAXLOGHISTORY 400
    MAXDATAFILES 200
    MAXINSTANCES 6
    ARCHIVELOG;
    Edited by: Tshifhiwa on 2012/03/17 4:08 PM
    Edited by: Tshifhiwa on 2012/03/17 4:28 PM
    Edited by: Tshifhiwa on 2012/03/17 4:29 PM

  • ORA-01503: CREATE CONTROLFILE failed

    Hello.
    I'm trying to install an ORACLE EBS 11i on an Oracle Linux Release 5 Update 5 Media Pack v1 for x86 (32 bit) from stage.
    The process is going great until the "Creating the database controlfile..." step. It crashes there.
    I've looked in the log file and this is what I can find:
    ORACLE_HOME : /u01/oracle/visdb/9.2.0
    ORACLE_SID : VIS
    TWO_TASK :
    PATH : /u01/oracle/visdb/9.2.0/Apache/perl/bin:/u01/oracle/visdb/9.2.0/bin:/usr/bin:/usr/sbin:/u01/oracle/visdb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/bin:/u01/Stage11i/startCD/Disk1
    /rapidwiz/unzip/Linux:/usr/bin:/usr/local/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
    LD_LIBRARY_PATH : /u01/oracle/visdb/9.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/oracle/visdb/9.2.0/ctx/lib
    Executable : /u01/oracle/visdb/9.2.0/bin/sqlplus
    The log information will be written to
    /u01/oracle/visdb/9.2.0/appsutil/log/VIS_ebs/adcrdb_VIS.txt
    Creating the control file for VIS_ebs database ...
    SQL*Plus: Release 9.2.0.5.0 - Production on Wed Feb 23 17:28:54 2011
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 581506616 bytes
    Fixed Size 452152 bytes
    Variable Size 402653184 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 10629120 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "VIS"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file '/u01/oracle/visdata/tx_data11.dbf'
    ORA-27046: file size is not a multiple of logical block size
    Additional information: 1
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u01/oracle/visdata/tmp1.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "VIS.gdmelectronics.com"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 581506616 bytes
    Fixed Size 452152 bytes
    Variable Size 402653184 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 10629120 bytes
    ORA-00205: error in identifying controlfile, check alert log for more info
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-00210: cannot open the specified controlfile
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 3284
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 581506616 bytes
    Fixed Size 452152 bytes
    Variable Size 402653184 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 10629120 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "VIS"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file '/u01/oracle/visdata/tx_data11.dbf'
    ORA-27046: file size is not a multiple of logical block size
    Additional information: 1
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u01/oracle/visdata/tmp1.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    Is there something I'm doing wrong ?
    How do I create a new control file and use it ?
    I don't know if I gave needed information. If you need more details, please ask and I will try to provide them.
    Thank you and regards,
    Sorin Miroiu

    Hi schavali.
    Thanks for the quick reply.
    I've checked and that file doesn't exists.
    [root@ebs ~]# ls /u01/oracle/visdata/
    apps_ts_tx_interface.dbf media1.dbf owa1.dbf summary2.dbf sys4.dbf tx_data1.dbf tx_data8.dbf tx_idx4.dbf undo02.dbf
    archive1.dbf media2.dbf portal.dbf summary3.dbf sys5.dbf tx_data2.dbf tx_data9.dbf tx_idx5.dbf undo03.dbf
    archive2.dbf media3.dbf queues1.dbf summary4.dbf sys6.dbf tx_data3.dbf tx_idx10.dbf tx_idx6.dbf undo04.dbf
    ctx1.dbf mobile01.dbf queues2.dbf summary5.dbf sys7.dbf tx_data4.dbf tx_idx11.dbf tx_idx7.dbf
    log1.dbf nologging1.dbf reference1.dbf sys1.dbf tmp1.dbf tx_data5.dbf tx_idx1.dbf tx_idx8.dbf
    log2.dbf odm.dbf reference2.dbf sys2.dbf tx_data10.dbf tx_data6.dbf tx_idx2.dbf tx_idx9.dbf
    log3.dbf olap.dbf summary1.dbf sys3.dbf tx_data11.dbf tx_data7.dbf tx_idx3.dbf undo01.dbf
    For some reason it stops at tx_data9.dbf.
    I will try to start the install all over again and comeback with feedback.
    I think I will redo the DB stage as well.
    Regards,
    Sorin Miroiu

  • Problem in Creating controlfile

    Hi All,
    am planning to system copy, databse restored succesfuly on target system, created control file on source system.
    copied the control file on target system in  /oracle/MDQ/saptrace/usertrace and renamed it as control.sql.
    when am trying to generate conrol file on target system as : @/oracle/MDQ/saptrace/usertrace/control.sql
    getting error  as :
    ORACLE instance started.
    Total System Global Area 2365587456 bytes
    Fixed Size                  2144144 bytes
    Variable Size            1203685488 bytes
    Database Buffers         1157627904 bytes
    Redo Buffers                2129920 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "MDQ" RESETLOGS  ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01200: actual file size of 27520 is smaller than correct size of 110080
    blocks
    ORA-01110: data file 1: '/oracle/MDQ/sapdata1/system_1/system.data1'
    ORA-01507: database not mounted
    ALTER SYSTEM ARCHIVE LOG ALL
    ERROR at line 1:
    ORA-01507: database not mounted
    ALTER DATABASE OPEN
    ERROR at line 1:
    ORA-01507: database not mounted
    ALTER TABLESPACE PSAPTEMP ADD TEMPFILE '/oracle/MDQ/sapdata2/temp_1/temp.data1'
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01081: cannot start already-running ORACLE - shut it down first
    CREATE CONTROLFILE REUSE SET DATABASE "MDQ" RESETLOGS  ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01200: actual file size of 27520 is smaller than correct size of 110080
    blocks
    ORA-01110: data file 1: '/oracle/MDQ/sapdata1/system_1/system.data1'
    Kindly suggest.

    Hi,
    i have chaecked the size of file system on source and target system, there is a huge differnce.
    Please refer this useful document to perform complete [Oracle DB Restore using Offline/Online Backup|http://www.basisconsultant.com/component/remository/Sytem-Copy-Guides/Homogeneous-System-Copy-using-OnlineandOffline-Backup/] in systematic way .
    BRARCHIVE - Return code: 0001 Success with warnings ( some offline redolog files not found).
    Perform manual Log switching and ensure the availability of Offline Redo log files at Log Archive location (log_archive_dest). Then run Archive Log Backup Job.
    Also please refer this useful SAP Note 490976 - BR013W No offline redo log files found for processing, to get info about the other possible causes.
    Regards
    Bhavik G. Shroff

  • Error in creating controlfile

    Hi all,
    I am getting this error from adclone.pl when trying to clone a database.
    Total System Global Area  444149652 bytes
    Fixed Size                    73620 bytes
    Variable Size             361099264 bytes
    Database Buffers           81920000 bytes
    Redo Buffers                1056768 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "NAME"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file '/path/name.DBF'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directoryit is true the actual file does not exist and is not essential for the running of the database.
    Is the information to create the controlfile held in a context file and if so is it possible to edit the file and remove the offending line?
    regards
    Alan
    Edited by: alanm on Sep 14, 2011 3:56 PM

    it is true the actual file does not exist and is not essential for the running of the database.
    Is the information to create the controlfile held in a context file and if so is it possible to edit the file and remove the offending line?It is possible (as mentioned above) but this may not guarantee that the script would work for the other database files which may not exist.
    Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]
    Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
    The best approach to fix this issue is by running preclone again on the source nodes, copy the files and run postclone then.
    Thanks,
    Hussein

  • Create controlfile

    Hi,
    on 10gR2, I recreate a new database (in noarchivlog mode)with the hot backed up data and redolog files of another database (in noarchivlog mode) with following script :
    STARTUP NOMOUNT PFILE="c:\oracle\product\10.2.0\admin\TEST\pfile\initTEST.ORA"
    CREATE CONTROLFILE SET DATABASE "TEST" RESETLOGS  NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 200
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 'D:\BASE\TEST\UNDO\REDO01.LOG'  SIZE 50M,
      GROUP 2 'D:\BASE\TEST\UNDO\REDO02.LOG'  SIZE 50M,
      GROUP 3 'D:\BASE\TEST\UNDO\REDO03.LOG'  SIZE 50M
    DATAFILE
      'D:\BASE\TEST\DATA\SYSTEM01.DBF',
      'D:\BASE\TEST\DATA\UNDOTBS01.DBF',
      'D:\BASE\TEST\DATA\SYSAUX01.DBF',
      'D:\BASE\TEST\DATA\USERS01.DBF',
      'D:\BASE\TEST\DATA\TSDATA01.DBF',
      'D:\BASE\TEST\DATA\TST1.DBF',
      'D:\BASE\TEST\DATA\TS_T1.DBF',
      'D:\BASE\TEST\DATA\TS_PO.DBF',
      'D:\BASE\TEST\DATA\TS_N1.DBF',
      'D:\BASE\TEST\DATA\TS_DATA1.DBF',
      'D:\BASE\TEST\DATA\TS_T2.DBF'
    CHARACTER SET WE8MSWIN1252
    RECOVER DATABASE using backup controlfile until cancel;
    AUTO
    ALTER DATABASE OPEN RESETLOGS;
    ALTER TABLESPACE TEMP ADD TEMPFILE 'D:\BASE\TEST\DATA\TEMP01.DBF'
         SIZE 20971520  REUSE AUTOEXTEND ON NEXT 655360  MAXSIZE 32767M;But it can not continue until end. It stops at "ALTER DATABASE OPEN RESETLOGS;"
    Then I retry "RECOVER DATABASE using backup controlfile until cancel;" and when prompted I give :
    'D:\BASE\TEST\UNDO\REDO01.LOG'
    'D:\BASE\TEST\UNDO\REDO02.LOG'
    These log files would be applied. I issue :
    ALTER DATABASE OPEN RESETLOGS;
    and then every thing is OK. I have my new database.
    My question is :
    Why my script can not go to end ? How can I have it automaticaly until end ? How can I make it to apply redologs automaticaly ?
    Thank you very much.

    thank you Erka, but :
    SQL> alter database recover automatic database using backup controlfile;
    alter database recover automatic database using backup controlfile
    ERROR at line 1:
    ORA-00279: change 12090228 generated at 02/13/2009 21:12:07 needed for thread 1
    ORA-00289: suggestion : D:\BASE\TEST\ARCH\ARC00425_0665589163.001
    ORA-00280: change 12090228 for thread 1 is in sequence #425
    ORA-00278: log file 'D:\BASE\TEST\ARCH\ARC00425_0665589163.001' no longer
    needed for this recovery
    ORA-00308: cannot open archived log 'D:\BASE\TEST\ARCH\ARC00425_0665589163.001'
    ORA-27041: unable to open fileOf cours as I said in the begining the databases are not in archivelog mode.

Maybe you are looking for

  • Dual screen with 2 lcd monitors?

    Hi I think i will buy myself a Macbook Pro, but i like to work on two lcd monitors(Not including the mac) but can i do this and does Parralels and Bootcamp support this settings? because i have a program on work that only support windows. Thank you

  • Macbook pro only boot with R key

    I have a problem with a macbook pro . I have snow leopard and after running onyx my computer only boot with the R key pressed , I have tried option-command-PR , reset SMC , repair permissions without success . I have an external apple led cinema but

  • Can I Get an .SCR Screensaver to work?

    I downloaded a screensaver I want to use, however don't know how to go about making it work. It's a .scr type file, the screensaver. how can i make it work? thanks

  • 10.4.7 installation disaster

    please help me... got an error during 10.4.7 installation don't really know why... now i don't manage to use .dmg files it says (device not configured) if i open automatic software update it suddenly quits if i connect usb pen they are not recognized

  • PDF type files

    I've tried downloading but I think my device does not support and cannot display PDF file formats. Iam on BB 8120 pearl. Can someone help me out here.