OCS V2 on linux "CREATE CONTROLFILE failed"

Hello,
i'd like some help regarding OCS instalation on linux.
at first i tried to install OCS V2 on redhat 9.
added redhat-9 to "certified OSes", installer started, fixed issue with "-z defs", then hung on relinkink webcache ins_calypso.mk. (ignored) later running DBCA get message "ORA-01503: CREATE CONTROLFILE failed" (abort) "ORA-01990: error opening password file ..." (abort) "ORA-27037: unable to obtain file status" (abort) same error (ok) other tasks continues...
even tried OCS V1 singlebox version. the same problem.
later downloaded and instaled UnitedLinux 1.0.
some more issues about fully qualified hostname.
needed to set /proc/sys/kernel/hostname not only to hostname, but to hostname.domainname.
and the get the same error.
i cant find answers to my problems in OTN and Metalink.
please help.
Thanks.
Saulius Speicys

also followed suse recomendations for Oracle 9i R2 install on SLES8 (920_sles8_install.pdf).
updated kernel, downgraded gcc .
and got the same troubles.
at first with hostname, later with ins_sqlplus.mk, and then at dbca "CREATE CONTROLFILE failed".
can it be because of fqhostname "ocs.as.local" ?
or any naming of oracle home "/opt/oracle/product/iasdb" , instance name, or instance name "infra" / "ocs_infra" ?
i think i'm lost %(
thanks for any help.
Saulius

Similar Messages

  • 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

  • ORA01503 CREATE CONTROLFILE failed

    Hello All,
    I am trying to refresh the Quality server with production.after i have copied the datafile and edited the control file.
    while running the control.sql script i am getting the following error.
    ORA01503 CREATE CONTROLFILE failed
    ORA0116 database name TEST in file header does not match given name of PROD
    ORA01110 data file
    can Some advise me on this
    Thanks and regards
    Kiran Deverla

    Kiran,
    Check below links. It may help you.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5003.htm#SQLRF01203
    ORA-1503 & ORA-01565
    Thanks
    Sushil

  • Oracle 816 for Linux "CREATE DATABASE failed"

    svrmgr>startup nomount
    svrmgr>create database "ora1"
    CREATE DATABASE "ora1"
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401
    ORA-00604: error occurred at recursive SQL level 1
    ORA-27102: out of memory
    Linux Error: 1100: Unknown error 1100
    Additional information: 1373184436
    Additional information: 6154254
    Additional information: 8
    trace listing:
    *** SESSION ID:(11.1) 2000-10-23 15:32:59.153
    ORA-00604: error occurred at recursive SQL level 1
    ORA-27102: out of memory
    Linux Error: 1100: Unknown error 1100
    Additional information: 1373184436
    Additional information: 6154254
    Additional information: 8
    Offending statement at line 401
    create tablespace SYSTEM datafile '/u01/app/oracle/oradata/ora1/system01.dbf' S
    IZE 54M AUTOEXTEND ON NEXT 640K
    default storage (initial 10K next 10K) online
    linux kernel 2.2-14
    glibc-2.1.3

    Don't run dbassist or shell script
    "create database generated dbassist" under
    mc (midnight commander )
    Use shell promt only

  • 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

  • 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

  • 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

  • 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

  • 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

  • Issue with create controlfile script that was generated from trace file

    Hi All,
    I am racking my brans here as cannot seem to fatham this one out. Having backed up control file to trace, then deleted all datafiles, control files, and redo log files, I then ran the following and received the below error:
    SQL> STATUP NOMOUNT
    ORACLE instance started.
    Total System Global Area 289406976 bytes
    Fixed Size 1248576 bytes
    Variable Size 88081088 bytes
    Database Buffers 192937984 bytes
    Redo Buffers 7139328 bytes
    SQL> CREATE CONTROLFILE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    5 MAXINSTANCES 8
    6 MAXLOGHISTORY 292
    7 LOGFILE
    8 GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\REDO01.LOG' SIZE 50M,
    9 GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\REDO02.LOG' SIZE 50M,
    10 GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\REDO03.LOG' SIZE 50M
    11 DATAFILE
    12 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF',
    13 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF',
    14 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSAUX01.DBF',
    15 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USERS01.DBF'
    16 CHARACTER SET WE8MSWIN1252;
    CREATE CONTROLFILE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file
    'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    I am able to restore a control file using [RMAN> restore controlfile to '....' ] and then mount the database without problems one the CF restore has taken place, it is just when I attempt to create control file using the able commands that I get the preceding error.
    As this control file statement that is attepting to create a control file has never had any information about datafiles is this why I am seeing the error?
    Have checked metalink & web but yet to find a reason why this is occuring. Please advise.
    Thanks,
    Andrew

    Hi,
    You deletd all the data files that is the issue. So it is complaining that it can not find system tablespace datafile. If you just wanted to recreate the controlfile then just delete control file. Why did you delete data files.
    Regards
    Generetaed control trace flle is used to re-create the control file. This not not a way to create/restore data files. They should exist for control file to be created.
    Edited by: skvaish1 on Nov 5, 2009 4:36 PM

  • Recreation of controlfile fail

    Hi all,
    I am attempting to recreate the controlfile for a 2 node RAC (10g) on EL4.I am using ASM for the shared storage. I copied the relevant section from the ASCII backup controlfile, when I run the script I am getting the following errors:
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-12720: operation requires database is in EXCLUSIVE mode
    .

    Thanks for the reply.
    Yes I lost a diskgroup that contained the controlfile.
    I must also share that the shared file system was NFS before I migrated it to ASM. I took a backup after I migrated to ASM.
    When I restored the DB it restored the datafiles to the previous NFS location ( Could this be because DB_CREATE_FILE_DEST is set to '/share1/oradata' in the spfile?), I therefore had to change the path to the datafiles from '+DG1/devdb/datafile/' to the NFS location as seen in the ascii file.
    The ASCII is as follows
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "DEVDB" RESETLOGS ARCHIVELOG
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    MAXINSTANCES 32
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 (
    '+DG1/devdb/log1/log_1_1a.log',
    '+DG1/devdb/log1/log_1_1b.log'
    ) SIZE 50M,
    GROUP 2 (
    '+DG1/devdb/log1/log_1_2a.log',
    '+DG1/devdb/log1/log_1_2b.log'
    ) SIZE 50M
    -- STANDBY LOGFILE
    DATAFILE
    '/share1/oradata/DEVDB/system.258.694992723',
    '/share1/oradata/DEVDB/undotbs1.261.694993001',
    '/share1/oradata/DEVDB/sysaux.259.694992839',
    '/share1/oradata/DEVDB/users.268.694993021',
    '/share1/oradata/DEVDB/example.260.694992977',
    '/share1/oradata/DEVDB/undotbs2.262.694993009',
    '/share1/oradata/DEVDB/test.264.694993017'
    CHARACTER SET WE8ISO8859P1
    -- Configure RMAN configuration record 1
    VARIABLE RECNO NUMBER;
    EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG('CONTROLFILE AUTOBACKUP','ON');
    -- Configure RMAN configuration record 2
    VARIABLE RECNO NUMBER;
    EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG('CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE','DISK TO ''ControlFileAutoBackup_%F''');
    -- 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 '+RECOVERYDEST';
    -- ALTER DATABASE REGISTER LOGFILE '+RECOVERYDEST';
    -- Recovery is required if any of the datafiles are restored backups,
    -- or if the last shutdown was not normal or immediate.
    RECOVER DATABASE USING BACKUP CONTROLFILE
    -- Create log files for threads other than thread one.
    ALTER DATABASE ADD LOGFILE THREAD 2
    GROUP 3 (
    '+DG1/devdb/log2/log_2_3a.log',
    '+DG1/devdb/log2/log_2_3b.log'
    ) SIZE 50M REUSE,
    GROUP 4 (
    '+DG1/devdb/log2/log_2_4a.log',
    '+DG1/devdb/log2/log_2_4b.log'
    ) SIZE 50M REUSE;
    -- Database can now be opened zeroing the online logs.
    ALTER DATABASE OPEN RESETLOGS;
    -- Commands to add tempfiles to temporary tablespaces.
    -- Online tempfiles have complete space information.
    -- Other tempfiles may require adjustment.
    ALTER TABLESPACE TEMPTBS ADD TEMPFILE '+DG1/devdb/tempfile/temptbs.266.694656657' REUSE;
    -- End of tempfile additions.
    --

  • EBS 11.5.10.2 installation Fails - create controlfile

    Hello All
    I am trying to install EBS 11.5.10.2 (test system) on Oracle Linux 5.8 (Apps tier 32-bit, database tier 64-bit). During the database creation phase I am getting this error: RW-50004 (Creating controlfile), so I checked log files and its says
    ORA-01031: insufficient privileges
    I tried to login to instance on database tier after sourcing env file but I got the same error. But if I create password file and then login sys/password as sysdba, it logs me in to an idle instance.
    But I need rapidwiz to pass this step. So please suggest what should I do?.
    Regards
    Amit

    Hi Amit,
    Hello All
    I am trying to install EBS 11.5.10.2 (test system) on Oracle Linux 5.8 (Apps tier 32-bit, database tier 64-bit). During the database creation phase I am getting this error: RW-50004 (Creating controlfile), so I checked log files and its says
    ORA-01031: insufficient privileges
    I tried to login to instance on database tier after sourcing env file but I got the same error. But if I create password file and then login sys/password as sysdba, it logs me in to an idle instance.
    But I need rapidwiz to pass this step. So please suggest what should I do?.
    Regards
    AmitFirst of all, please note that Oracle 9i (which comes with 11.5.10.2) is not certified on OEL 5
    Have you added the OS user who owns the database tier files to the dba group?
    OERR: ORA 1031 "insufficient privileges" [ID 18622.1]
    Troubleshooting ORA-1031: Insufficient Privileges While Connecting As SYSDBA [ID 730067.1]
    At what stage/step you get this error?
    Please upload all the installation log files to any free hosting website and post the link here (in one zip file).
    You do not need to create a password file at this level, and connecting as sysdba through oracle user and after sourcing the database env file does not need a password file.
    Also, please confirm that md5sum was run successfully -- MD5 Checksums for 11i10 Rapid Install Media [ID 289821.1]
    Thanks,
    Hussein

  • OCS 10g on Linux: Forbidden page displayed

    OCS 10g on Linux: Forbidden page displayed
    I have recently downloaded OCS 10g and installed on RHEL 4 i386
    server with 4GB RAM and 40+9+9 GB Hard disk. The installation was
    smooth though very time consuming, took almost 7 hours.
    After installation when I access http://servername:7778, I get the
    welcome page. When I click on any link I get the following error:
    Forbidden
    You don't have permission to
    access /pls/orasso/orasso.wwsso_app_admin.ls_login on this server.
    Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at
    ocsserver Port 7778
    I tried checking for errors in the log file and I found the following
    entry in the apache log folder:
    [Fri Sep 30 16:56:59 2005] [warn] [client 127.0.0.1] [ecid:
    1128079619:127.0.0.1:8670:0:138,0] MOD_OC4J_0184: Failed to find an
    oc4j process for destination: home
    [Fri Sep 30 16:56:59 2005] [error] [client 127.0.0.1] [ecid:
    1128079619:127.0.0.1:8670:0:138,0] MOD_OC4J_0145: There is no oc4j
    process (for destination: home) available to service request.
    [Fri Sep 30 16:56:59 2005] [error] [client 127.0.0.1] [ecid:
    1128079619:127.0.0.1:8670:0:138,0] MOD_OC4J_0119: Failed to get an
    oc4j process for destination: home
    [Fri Sep 30 16:56:59 2005] [error] [client 127.0.0.1] [ecid:
    1128079619:127.0.0.1:8670:0:138,0] MOD_OC4J_0013: Failed to call
    destination: home's service() to service the request.
    [Fri Sep 30 16:59:13 2005] [error] [client 127.0.0.1] [ecid:
    94296745340,1] client denied by server configuration:
    proxy:http://ocsserver.mshome.net:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
    Any ideas as to how to resolve the forbidden error.
    Vipul Garg

    Hello Richard,
    Thank you for the reply. I have not replaced the text in error report. The hostname is ocsserver. I am not purposely using the fully qualified hostname as I tried installing with hostname as ocsserver.matpl (matpl is the domain name set on my local Windows NT server), I was unable to access the RTC url from a local network PC running Windows 2000/XP. To check the capability of RTC I have to run the RTC url on a Windows based system. Hence I did a reinstall of the OCS 10g without a domain name in the hostname. Though in the network setting I find mshome.net as the DNS domain search path set automatically in my Linux server. I tried removing it but it automatically sets in. Is this creating problem? But after installation I restarted the server I was able to run all the opmn services of infra. Only that I was getting a forbidden page and for that I changed the password of PORTAL and ORASSO schema. One more thing I find unsual is that whenever I start the machine I find that the schema PORTAL is LOCKED(TIMED) and I have to unlock it, but it gets locked automatically once databse is restarted. Why is it happening?
    I checked the entries of processes and they are 250 as per the parameter. And 35 is the value as per the count of v$session.
    Please provide your valuable ideas in resolving the issue.
    Regards,
    Vipul

Maybe you are looking for

  • How can i find keywords in my script/document?

    i need to be able to jump to certain parts of my script quickly and I am having trouble doing that now.

  • Trying Creative Cloud - Photoshop CS6 asking for a serial number?

    I am trying out Creative Cloud and have previously used trial version of Photoshop CS6 Extended.  Have downloaded Photoshop CS6 via creative cloud but when try to run it I get a message that I must enter a serial number.  Can anyone help ?

  • Upright correction doesn't stick

    When I use the new upright correction in LR5 and export the file to a jpeg I find that the file is more distorted than the original file I was attempting to correct.  Is this a bug or a feature? Allan

  • Defining hierarchy level keys

    Hi, What is the best practice regarding the level keys (used in the hierarchy level for dimensions)? I had a problem with the numbers shown because the level key contained values with a mix of letters and numbers. If the level key only contains lette

  • Where is this Facebook integration with 10.8.2

    Maybe I'm slow, but is there an app with 10.8.2 where one could update Facebook via osx?