RAC control file has correpted, unable to mount database

hi guru's,
Im trying to startup my rac db, but it giving following error.
SQL> startup
ORACLE instance started.
Total System Global Area 233861120 bytes
Fixed Size 2212088 bytes
Variable Size 176164616 bytes
Database Buffers 50331648 bytes
Redo Buffers 5152768 bytes
ORA-00221: error on write to control file
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
alert log:
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
ORA-221 signalled during: ALTER DATABASE MOUNT...
trace file:
Trace file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORACLE_HOME = /rdbms1/app/oracle/product/11.2.0/db_home/
System name: Linux
Node name: RAC-NODE1.vod.com
Release: 2.6.18-128.el5
Version: #1 SMP Wed Dec 17 11:41:38 EST 2008
Machine: x86_64
Instance name: finance1
Redo thread mounted by this instance: 0 <none>
Oracle process number: 28
Unix process pid: 11821, image: [email protected] (TNS V1-V3)
*** 2013-04-27 00:02:39.859
*** SESSION ID:(1.3) 2013-04-27 00:02:39.859
*** CLIENT ID:() 2013-04-27 00:02:39.859
*** SERVICE NAME:() 2013-04-27 00:02:39.859
*** MODULE NAME:([email protected] (TNS V1-V3)) 2013-04-27 00:02:39.859
*** ACTION NAME:() 2013-04-27 00:02:39.859
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):1.0xe96d8019 disk_path:/dev/sdd2
AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57250 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):2.0xe96d801a disk_path:/dev/sdd3
AU:76 disk_offset(bytes):79708160 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57128 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):3.0xe96d8018 disk_path:/dev/sdd4
AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57000 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
DDE rules only execution for: ORA 202
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
all the diskgroups are in mount state only
SQL> select name,state from v$asm_diskgroup;
NAME STATE
ARCLOG MOUNTED
CTRL MOUNTED
DBFILE MOUNTED
FRA MOUNTED
REDO1 MOUNTED
REDO2 MOUNTED
VOTE MOUNTED
since i did not have mirror copy or backup of current control file to replace the correpted one.
Is there any way to create new control file and transfered to ASM diskgroup and open database. or i need to drop the existing database.
if i need to drop the db, without open the db how to drop database.
kindly help on this.
Thanks in advance.

Hi,
Thanks for the replay. im able to open the db.
But can you tel me how to make my rac db to open with spfile which is on asmdiskgroup.
SQL> select name,state from v$asm_diskgroup;
NAME STATE
ARCLOG MOUNTED
CTRL MOUNTED
DBFILE MOUNTED
FRA MOUNTED
REDO1 MOUNTED
REDO2 MOUNTED
VOTE MOUNTED
Spfile:
ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > pwd
+DBFILE/FINANCE/PARAMETERFILE
ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > ls
spfile.262.813843989
i shutdown the db and up the same but it can't take the spfile.
SQL> show parameter spfile
NAME TYPE VALUE
spfile string
Thanks in advance.

Similar Messages

  • Error code: MapiExceptionJetDatabaseCorruption: Unable to mount database. (hr=0x80004005, ec=-338)

    We are on Exchange 2007
    We have one database that will not mount. Whenever we try to mount we get the below error
    Exchange is unable to mount the database that you specified. Specified database: EXG01\SG3-DB\SG3-DB; Error code: MapiExceptionJetDatabaseCorruption: Unable to mount database. (hr=0x80004005, ec=-338)
    I ran the eseutil /mh against the DB & found the database to be in clean shutdown state. I moved all the log files and chk files to another location and tried mounting the DB but the very same error.
    Initiating FILE DUMP mode...
             Database: SG3-DB.edb
            File Type: Database
       Format ulMagic: 0x89abcdef
       Engine ulMagic: 0x89abcdef
     Format ulVersion: 0x620,12
     Engine ulVersion: 0x620,12
    Created ulVersion: 0x620,12
         DB Signature: Create time:06/07/2011 00:22:54 Rand:482525 Computer:
             cbDbPage: 8192
               dbtime: 3942751903 (0xeb019e9f)
                State: Clean Shutdown
         Log Required: 0-0 (0x0-0x0)
        Log Committed: 0-0 (0x0-0x0)
       Streaming File: No
             Shadowed: Yes
           Last Objid: 877765
         Scrub Dbtime: 0 (0x0)
           Scrub Date: 00/00/1900 00:00:00
    Please help us on how to clear this error and mount the database.

    We are on Exchange 2007
    We have one database that will not mount. Whenever we try to mount we get the below error
    Exchange is unable to mount the database that you specified. Specified database: EXG01\SG3-DB\SG3-DB; Error code: MapiExceptionJetDatabaseCorruption: Unable to mount database. (hr=0x80004005, ec=-338)
    I ran the eseutil /mh against the DB & found the database to be in clean shutdown state. I moved all the log files and chk files to another location and tried mounting the DB but the very same error.
    Initiating FILE DUMP mode...
             Database: SG3-DB.edb
            File Type: Database
       Format ulMagic: 0x89abcdef
       Engine ulMagic: 0x89abcdef
     Format ulVersion: 0x620,12
     Engine ulVersion: 0x620,12
    Created ulVersion: 0x620,12
         DB Signature: Create time:06/07/2011 00:22:54 Rand:482525 Computer:
             cbDbPage: 8192
               dbtime: 3942751903 (0xeb019e9f)
                State: Clean Shutdown
         Log Required: 0-0 (0x0-0x0)
        Log Committed: 0-0 (0x0-0x0)
       Streaming File: No
             Shadowed: Yes
           Last Objid: 877765
         Scrub Dbtime: 0 (0x0)
           Scrub Date: 00/00/1900 00:00:00
    Please help us on how to clear this error and mount the database.

  • Database can not mount in exchange server 2013 due to Unable to mount database. (hr=0x80004005, ec=-543)

    Hello All,
    Database can not mount. In this Database domain Administrator mailbox have.
    Please suggest. It's very important
    The error:
    [PS] C:\Windows\system32>Mount-Database -Identity MBX-01 -Force
    Confirm
    At least one committed transaction log file is missing. Mounting this database will result in data loss. If you can
    locate the missing log files, don't continue. Are you sure you want to continue?
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): a
    Failed to mount database "MBX-01". Error: An Active Manager operation failed. Error: The database action failed.
    Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing: Unable to mount database.
    (hr=0x80004005, ec=-543)
    Diagnostic context:
        Lid: 65256
        Lid: 10722   StoreEc: 0xFFFFFDE1
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 45120   dwParam: 0x51FF5F0
        Lid: 57728   dwParam: 0x51FF68C
        Lid: 46144   dwParam: 0x51FF709
        Lid: 34880   dwParam: 0x51FF709
        Lid: 34760   StoreEc: 0xFFFFFDE1
        Lid: 41344   Guid: 1c2c8cab-ae3f-40c8-8024-ffc776b22360
        Lid: 35200   dwParam: 0x2EFC
        Lid: 46144   dwParam: 0x51FFA55
        Lid: 34880   dwParam: 0x51FFA55
        Lid: 56264   StoreEc: 0x1388
        Lid: 46280   StoreEc: 0xFFFFFDE1
        Lid: 1750    ---- Remote Context End ----
        Lid: 1047    StoreEc: 0xFFFFFDE1 [Database: MBX-01, Server: EG-EXCHG-01.ABC.com]
        + CategoryInfo          : InvalidOperation: (MBX-01:ADObjectId) [Mount-Database], InvalidOperationException
        + FullyQualifiedErrorId : [Server=EG-EXCHG-01,RequestId=ca57e784-43c7-4357-9ab6-08881c87bb77,TimeStamp=9/18/2014 5
       :31:08 AM] [FailureCategory=Cmdlet-InvalidOperationException] 51350054,Microsoft.Exchange.Management.SystemConfigu
      rationTasks.MountDatabase
        + PSComputerName        : eg-exchg-01.ABC.com

    Hi,
    This issue indicate corrupted database or corrupted logs. I suggest you to check and repair the database or check and repair the database log.
    1. Check the state of database by following command: eseutil /mh "Path of the database"
    Ps: Default path of the database is “C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database\Mailbox Database.edb”
    Default path of the log files is “C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database\E00”
    2. If the state is in clean shutdown, move all the log files from the Transaction logs folder location and then mount the database.
    3. If the state is in dirty shutdown, check if the log files that is indicated as Logs required is available or not.
    4. You can run Eseutil ml “Path of the log file\e00” to make sure that the log files is required is in a Clean state. This command will help you check the health of all the log files in the location.
    5. If the log files are healthy, then try Soft recovery with the command Eseutil /r e00 /l ”Path of log files” /p “Path of the database” 
    Note:
    Make sure you make a backup of the database before attempting any kind of repairs
    6. Once the command completes successfully, then mount the database.
    7. In case the required log files are not available in a clean state or missing, either restore from a successful back up or perform Hard repair with defragment.
    Refer to this file about hard repair:
    http://gallery.technet.microsoft.com/Step-by-Step-Exchange-2013-f8bed401
    Hope this will be helpful for you

  • MapiExceptionJetErrorPageNotInitialized: Unable to mount database. (hr=0x80004005, ec=-1019)

    Hi,
    Can any one help to resolve the database dismount error fixing?
    MapiExceptionJetErrorPageNotInitialized: Unable to mount database. (hr=0x80004005, ec=-1019)
    Tried..rebooted server and then tried to set-adserversettings -preferredtargetserver with correct DC
    But, still unable to mount database successfully. Unfortunately, we dont have backup for this mailbox database as it's more than 1 TB size database.
    MD

    Hi,
    Here is the error event id in server:-
    Log Name:      Application
    Source:        ESE
    Date:          7/18/2014 2:20:58 PM
    Event ID:      419
    Task Category: Logging/Recovery
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      MB04.domain.Com
    Description:
    Information Store (3548) mbx-archive1: Unable to read page 36249103 of database Q:\mbx-archive1\mbx-archive1.edb. Error -1019.
    Database size is 1TB, is there anyway to repair it? any idea how many days will take for repair the database through esutil tool?
    Please help
    MD
    Most likely not.  What's done is done.  Make sure the hardware is OK or you will end up in the same boat.......
    Make a copy of the DB and all the logs before doing anything. 
    Then you can do the /P  - and it will take several hours.
    Make another copy
    Once that completes, then do a /D to remove the cut page links.  That will also take several hours.
    fingers crossed....
    You can also make a support case with us - if this is valuable data it's worth the cost!
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • How many control files will be present in a database?

    How many control files will be present in a database?

    See this link for control file recommendations
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96524/c04space.htm
    See the portion "Control Files Overview" and the last "Multiplexed Control Files"
    Don't forget to reward points if this answer your query.

  • MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-501)

    We have sbs 2011 standard. Yesterday. exchange public folder cannot be mounted. It show error :
    An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-501).
    I run eseutil /mh. it tells me dirty shutdown. I then run eseutil /p. to change to clean shutdown. It still have same error.  I try to use asiedit to remove public folder. It doesnot have delete option.
    Please help
    gary zhou

    Hi,
    I think you could look into the Event Viewer to verify whether there are some related errors or warnings included. I think it could be checkpoint here. At the same time, you need to run the Exchange Best Practice Analyzer to have a general health check of
    your server.
    Actually, you could delete the public folder in the ADSI Edit if you like,
    Open ADSI-Edit and got to configuration
    Navigate to this path:
    CN=Configuration,DC=DOMAIN,DC=LOCAL
    CN=Services
    CN=Microsoft Exchange
    CN=EXCHANGE_ORG
    CN=Administrative Groups
    CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
    CN=Databases
    CN=PUBLIC_FOLDER_DATABASE
    Just like a figure below:
    Note: You need to make sure that there is no useful information included in the public folder database.
    Regards,
    James
    James Xiong
    TechNet Community Support

  • Exchange 2010 mount database ERROR: MapiExceptionJetErrorAttachedDatabaseMismatch: Unable to mount database. (hr=0x80004005, ec=-1216)

    Microsoft Exchange 错误
    装入数据库'Mailbox Database 0742827366'失败。
    Mailbox Database 0742827366
    失败
    错误:
    无法装入指定的数据库。指定的数据库 :Mailbox Database 0742827366;错误代码: 活动管理器操作失败。错误: 数据库操作失败。错误: 操作失败,出现消息: MapiExceptionJetErrorAttachedDatabaseMismatch: Unable to mount database. (hr=0x80004005, ec=-1216)
    。 [数据库: Mailbox Database 0742827366, 服务器: EX2K7.shelleson.ad]。
    活动管理器操作失败。错误: 数据库操作失败。错误: 操作失败,出现消息: MapiExceptionJetErrorAttachedDatabaseMismatch: Unable to mount database. (hr=0x80004005, ec=-1216)
    。 [数据库: Mailbox Database 0742827366, 服务器: EX2K7.shelleson.ad]
    活动管理器操作失败。错误: 操作失败,出现消息: MapiExceptionJetErrorAttachedDatabaseMismatch: Unable to mount database. (hr=0x80004005, ec=-1216)
    。 [服务器: EX2K7.shelleson.ad]
     Unable to mount database. (hr=0x80004005, ec=-1216)
    确定
    Pls Help! what can I do.

    Hi
       Checked the state of database using command eseutil /mh.
    http://technet.microsoft.com/en-us/library/bb331958.aspx
       You also need put your case to chinese forum.
      http://social.technet.microsoft.com/Forums/zh-CN/exchangeserverzhchs/threads
    Terence Yu
    TechNet Community Support

  • Renaming datafiles in control files with database mounted but not open

    Hi,
    I moved a database (physical files) from one server to another. I need to modify the contents of the control files since the directory structure of the servers are not the same (and I can't change that).
    I know I can use ALTER DATABASE BACKUP CONTROLFILE TO TRACE to produce a script that I can than modify and run with the instance started, database mounted but not open, and that will recreate the control files. I don't want to do that.
    I was also told I can modify the datafile entries in the control files by starting the instance, mounting but not opening the database. Then I can issue the (this is the part I need help with) ALTER DATABASE RENAME FILE <file1> to <file2>. When I tried this it complains that <file1> is not found. Obviously the command I used is not the right one,,, what is the right command for what I want to do.
    Thanks,
    Gabriel

    Move all datafiles from one directory to an other without recreate controlfile :
    SYS@DEMO102> select file_name from dba_data_files
      2  union
      3  select member from v$logfile
      4  union
      5  select file_name from dba_temp_files
      6  union
      7  select name from v$controlfile;
    FILE_NAME
    E:\ORACLE\ORADATA\DEMO102C\CONTROL01.CTL
    E:\ORACLE\ORADATA\DEMO102C\CONTROL02.CTL
    E:\ORACLE\ORADATA\DEMO102C\CONTROL03.CTL
    E:\ORACLE\ORADATA\DEMO102C\EXAMPLE01.DBF
    E:\ORACLE\ORADATA\DEMO102C\REDO01.LOG
    E:\ORACLE\ORADATA\DEMO102C\REDO02.LOG
    E:\ORACLE\ORADATA\DEMO102C\REDO03.LOG
    E:\ORACLE\ORADATA\DEMO102C\SYSAUX01.DBF
    E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF
    E:\ORACLE\ORADATA\DEMO102C\TBS102_1.DBF
    E:\ORACLE\ORADATA\DEMO102C\TBS102_2.DBF
    E:\ORACLE\ORADATA\DEMO102C\TEMP01.DBF
    E:\ORACLE\ORADATA\DEMO102C\UNDOTBS01.DBF
    E:\ORACLE\ORADATA\DEMO102C\USERS01.DBF
    14 rows selected.
    SYS@DEMO102> create pfile='E:\oracle\admin\DEMO102\pfile\pfile102.ora' from spfile;
    File created.
    SYS@DEMO102> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.Here, I move all datafiles mentionned above, and modify my pfile for new controlfile directory. Then :
    SYS@DEMO102> startup pfile=E:\oracle\admin\DEMO102\pfile\pfile102.ora
    ORACLE instance started.
    Total System Global Area  272629760 bytes
    Fixed Size                  1288940 bytes
    Variable Size             163579156 bytes
    Database Buffers          100663296 bytes
    Redo Buffers                7098368 bytes
    Database mounted. --Note that we are in mount state
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF'
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\USERS01.DBF' to 'E:\ORACLE\ORADATA\demo102\USERS01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\SYSAUX01.DBF' to 'E:\ORACLE\ORADATA\demo102\SYSAUX01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\UNDOTBS01.DBF' to 'E:\ORACLE\ORADATA\demo102\UNDOTBS01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF' to 'E:\ORACLE\ORADATA\demo102\SYSTEM\SYSTEM01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\EXAMPLE01.DBF' to 'E:\ORACLE\ORADATA\demo102\EXAMPLE01.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TBS102_1.DBF' to 'E:\ORACLE\ORADATA\demo102\TBS102_1.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TBS102_2.DBF' to 'E:\ORACLE\ORADATA\demo102\TBS102_2.DBF';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO01.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO01.LOG';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO02.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO02.LOG';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO03.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO03.LOG';
    Database altered.
    SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TEMP01.DBF' to 'E:\ORACLE\ORADATA\demo102\TEMP01.DBF';
    Database altered.
    SYS@DEMO102> alter database open;
    Database altered.
    SYS@DEMO102> create spfile from pfile='E:\oracle\admin\DEMO102\pfile\pfile102.ora';
    File created.
    SYS@DEMO102> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SYS@DEMO102> startup
    ORACLE instance started.
    Total System Global Area  272629760 bytes
    Fixed Size                  1288940 bytes
    Variable Size             163579156 bytes
    Database Buffers          100663296 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    Database opened.
    SYS@DEMO102> select file_name from dba_data_files
      2  union
      3  select member from v$logfile
      4  union
      5  select file_name from dba_temp_files
      6  union
      7  select name from v$controlfile;
    FILE_NAME
    E:\ORACLE\ORADATA\DEMO102\CONTROL01.CTL
    E:\ORACLE\ORADATA\DEMO102\CONTROL02.CTL
    E:\ORACLE\ORADATA\DEMO102\CONTROL03.CTL
    E:\ORACLE\ORADATA\DEMO102\EXAMPLE01.DBF
    E:\ORACLE\ORADATA\DEMO102\REDO01.LOG
    E:\ORACLE\ORADATA\DEMO102\REDO02.LOG
    E:\ORACLE\ORADATA\DEMO102\REDO03.LOG
    E:\ORACLE\ORADATA\DEMO102\SYSAUX01.DBF
    E:\ORACLE\ORADATA\DEMO102\SYSTEM\SYSTEM01.DBF
    E:\ORACLE\ORADATA\DEMO102\TBS102_1.DBF
    E:\ORACLE\ORADATA\DEMO102\TBS102_2.DBF
    E:\ORACLE\ORADATA\DEMO102\TEMP01.DBF
    E:\ORACLE\ORADATA\DEMO102\UNDOTBS01.DBF
    E:\ORACLE\ORADATA\DEMO102\USERS01.DBF
    14 rows selected.
    SYS@DEMO102> Nicolas.

  • How to use old archieve logs with a new control file

    Environment:
    ORACLE_BASE="/export/home/oracle"
    ORACLE_HOME="/export/home/oracle/product/8.1.6"
    NLS_LANG=".UTF8"
    2 partitions:
    i) /data1 -- contains important datafiles (OS striping on 3 hard
    disks)
    ii) /export/home -- contains the oracle program, and SYS/SYSTEM
    datafiles
    Problem:
    -/data1 cannot be read/mount (damaged)
    -oracle failed
    Action Performed:
    -reinstalled OS
    -mount /export/home successfully (all oracle system files,
    instance init files exist)
    -/data1 is an empty partition
    -created the oracle user, and its groups
    -chown recusively for the $ORACLE_BASE directory
    -set all the oracle environment variables
    -attempted to start the instance, but failed due to a control
    file was
    missing
    -since control files were set to be mirrored, i copied a control
    file somewhere
    from /export/home/oracle/oradata/<SID>/control1.ctl to
    /data1/oracle/oradata/<SID>/control2.ctl (i.e. have them back to
    their original locations)
    -the instance failed to start as well, since the datafile set in
    the control files couldn't be found
    -this forced me to re-create the control file... b4 i re-create
    a new control file, i backed up the old one
    -once the control file was created, the database can be started,
    but, to oracle, all achieve log information are lost (although
    the achieve log's physical files r still there)
    -i imported the important data from a dump file that was
    exported a week ago b4 the system failure
    -since we r using the new control file, the redo logs switch
    contains no achieve log information that the old control file
    has, so running "recover database" doesn't do anything
    Purpose:
    since the dump file is a week old, i'd like to get the data
    after my last export and b4 the system failure. the database was
    run in arhieve log mode, how can i recover those data with the
    new control file
    Question:
    -how can we create a new control file that can drive the old
    achieve logs?
    -can we convert the achieve log data (.dbf format) into text
    format?
    -can we still use the old control files to start the database?
    -what's a suggested solution if we'd like to re-construct the
    database up to the moment b4 the system failure in another
    server?
    thx

    user3930585 wrote:
    I am in an unenviable position, with an unsupported database.
    We are running Oracle 9i on Windows XP. We are upgrading soon to Oracle 11g on a newer platform, but need to get our development environment working first.
    We lost a system that was running our development database without having a database export. The C drive was placed into a new system as the D drive.
    I have loaded Oracle 9i on the C drive, but I have been unable to determine how to point it to the existing data files on the D drive. My search skills may be the limiting factor here...
    We cannot simply load the drive as C, since the hardware is different.
    What are the steps to point the new database software at the data files on the D drive? Or, how do I copy the old data files into the new Oracle Home and have them recognized properly?
    Are you stating that you don't know how to use COPY command?
    Can you recreate same directory structure on new C drive as exist on old C drive?
    Can you then drag & drop copies of the files?

  • Creating a control file copy with ASM

    Configuration is Oracle 10.2, RAC, and ASM (Automatic Storage Management). I would like to create a second copy of the control file.
    If this wasn't ASM, I could just bring down the database, copy the control file using an operating system command, modify the pfile to reference both the original and new copy, and then restart the database.
    Since this is ASM, I cannot use an operating system command to copy the control file, and RMAN "BACKUP" (which is the only way I know to make a copy of the control file) will only work if the database is up. When I "restore" the control file using RMAN and change the pfile to reference both control files I get a message like the following when attempting to start the database:
    ORA-00214: control file '+ASMGROUP1/db1/controlfile/current.271.566646845'
    version 2241 inconsistent with file
    '+ASMGROUP1/db1/controlfile/current.268.566661765' version 2236
    Soooooo, how do I make and implement a second copy of a control file using ASM.
    Thanks

    Hi.
    This is not testet so presede with caution as it is meant as a discussion ;-)
    As I see it there is no logical way to extend the instance by adding a controlfile.
    The following procedure might work (has not been tested)
    I think you have to make a controlfilebackup with the database closed in normal mode using RMAN.
    Further you might be able to edit the pfile with create pfile from spfile and further create spfile from pfile. Extending the controlfile parameter to represent number and names of controlfile needed.
    With this done, the database is closed normal with a controlfile copy presented somewhere on the filesystem.
    startup mount;
    restore controlfile from '<backup controlfile location>'
    alter database mount;
    alter database open;
    Any thoughts about this procedure guys?
    Rgds
    Kjell Ove

  • ORA-00245: control file backup failed; target is likely on a local file sys

    Hello,
    our RAC (Linux, 11.2.0.3.0) is rather new and we are still on gaining experiences with that system...
    When starting the backup with RMAN we are getting the following error:
    Starting Control File and SPFILE Autobackup at 04-JUL-12
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 07/04/2012 16:41:48
    ORA-00245: control file backup failed; target is likely on a local file system
    The reason for the error is clear ORA-00245 - in a RAC environment the location of the Snapshot Controlfile must be on a shared location.
    When executing the RMAN command "show all" on each node, we are getting
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD021.f'; # default
    for node #1
    and
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD022.f'; # default
    for node #2
    When using a shared location for the Snapshot Controlfile do we still need to setup 2 different names for that file?
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/<shared location>/snapcf_PROD021.f'; # default
    for node #1 and
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/<shared location>/snapcf_PROD022.f'; # default
    for node #2
    Or should we configure just one Snapshot Controlfile?
    The RMAN setup for "CONFIGURE SNAPSHOT CONTROLFILE NAME TO..." must be changed on both nodes - correct?
    Hopefully my question is clear enough - any help will be appreciated.
    Rgds
    JH
    Edited by: VivaLaVida on 05.07.2012 11:41

    No, it must be configured on a shared storage:Not really required, i've RAC setup and snapshot is configured on local storage.
    Configuring the RMAN Snapshot Control File Location
    The snapshot control file is a copy of a database control file created in an operating system-specific location by Recovery Manager. RMAN creates the snapshot control file so that it has a consistent version of a control file to use when either resynchronizing the recovery catalog or backing up the control file. In Oracle RAC, the snapshot control file is only needed on the nodes on which RMAN performs backups; the snapshot control file does not need to be globally available to all instances in an Oracle RAC environment.
    See below from doc.
    http://docs.oracle.com/cd/B28359_01/rac.111/b28254/rman.htm#i455026

  • Reg : control file recovery...

    Hi gurus,
    I am running oracle 9.1 db. Suddenly my DB get crashed and after that I could not able to start my db. During startup an error has been raised at the time of mount. The cause of the error is bcoz of Control file has been locked due to previous ubnormal db shutdown and while startup it could not able to open the control file..
    I didn't have any backup of controlfile...
    Is there any way to create a control file in nomount state and make the db up...
    Thanks for your help..
    regards.

    in this situation,
    start instance with nomount option
    if you know the location and sizes of your datafiles, then, use create controlfile command to create a new controlfile. Once you done with it, you can start db with this newly created controlfile.

  • Problem while Creating Control files while Cloning the Oracle DB

    Hi,
    I am failrly new to Oracle Administration. I have got the task of cloning our Production database into a new machine. With the help of various articles found over the web I have followed the below mentioned steps
    1)Executed the Alter database command for getting the control file copy.
    2) Taken the Datafiles,Control and redo log files copies into the Target machine.
    3) Copied the Pfile with the neccessary changes into the target machine.
    4) Edited the Create Control file syntax (generated from step 1) and executed the same on the target machine.
    Now the problem I face is that I get the following error while executing the create Control file syntax
    a)ORA-01503 - Creation of Controlfile failed.
    b) ORA-00219 - Required controlfile size 41760 exceeds max allowable size 20000.
    I am really stuck. Both my machine configurations and O/S installed are the same.
    Please advice me on how to Proceed... Thanking you all in advannce.
    Rgds,
    SN.

    Hi Jaffer,
    This is my code........ The control file has been generated by executing the syntax alter database backup controlfile to trace at the source db .
    STARTUP NOMOUNT pfile=ORADATA:ORAHOME1\ADMIN\ORACLE\PFILE\INIT.ORA;
    CREATE CONTROLFILE set DATABASE "ORACLE" RESETLOGS NOARCHIVELOG
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXDATAFILES 32
    MAXINSTANCES 16
    MAXLOGHISTORY 65535
    LOGFILE
    GROUP 1 'ORADATA:ORAHOME1\ORADATA\ORACLE\LOG2ORCL.ORA' SIZE 200K,
    GROUP 2 'ORADATA:ORAHOME1\ORADATA\ORACLE\LOG1ORCL.ORA' SIZE 200K
    DATAFILE
    'ORADATA:ORAHOME1\ORADATA\ORACLE\SYS1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\USR1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\RBS1ORCL.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KAN_DAT.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KAN_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KIS_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_KIS_INDEX.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_LUB_DATA.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BIMBJ01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BIMAT01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BITPA01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BLUBFSINDEFX01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\TEMP01.DBF',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\BTXIS_TOOLS.ORA',
    'ORADATA:ORAHOME1\ORADATA\ORACLE\IMPORT1.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;
    # No tempfile entries found to add.
    #

  • Mv control files, redo.log, database fies

    Hello,
    I installed Oracle 10.2. on Unix.
    we have created file systems for our data/control files.
    some how we missed that part to define location for dbf, control & redo.log files during installation.
    My question is how to mv all control files, redo.log and dbf files to one location to another.
    for. eg:
    currently there are installed in /opt/oracle/oradata.
    now i want o move in /u03/oradata.
    Please note:
    Prior to that I'd like to put in archive log mode.
    shutdown immediate;
    startup mount;
    alter database archivelog;
    alter database open;
    DN

    For DB and Redo files
    conn / as sysdba
    shutdown immediate;
    startup mount
    host
    $ cp old_name new_name
    $ exit
    alter database rename file old_name
    to new_name;
    alter database open
    host
    $ rm old_name
    $ exitFor control files
    1. Shut down the database.
    2. Copy an existing control file to a different locations, using operating system commands.
    3. Edit the CONTROL_FILES parameter in the database's initialization parameter file to add the new control file's name, or to change the existing control filename.
    4. start the database.
    Message was edited by:
    tekicora

  • How to dynamically create sqlldr control file using stored procedure

    I am trying to dynamically create the control file (.ctl) and execute the same using a stored procedure.I would be passing the file name as a parameter to this procedure. How do I go about doing this?
    The control file has the following structure. The file name (mktg) varies and is passed as an input to the stored procedure.
    SPOOL mktg.ctl
    LOAD DATA
    INFILE 'mktg.csv'
    INTO TABLE staging
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (COMPANY_NAME,
    ADDRESS,
    CITY,
    STATE,
    ZIP)
    SPOOL OFF ;
    sqlldr scott/tiger CONTROL= mktg.ctl LOG=mktg.log BAD=mktg.bad

    We are using oracle 9i rel 2.
    I have not had much success with the creation of log and bad files using external tables when they are being used within a dynamic sql.
    Plz check this:
    Re: problems related to data loads from excel, CSV files into an oracle 9i db

Maybe you are looking for

  • Process Chain Error while activating DSO

    Hello. 1st, let me say that I'm pretty new to BI so I apologize for the stupid question :-S I have a process chain (Warehouse Mangement) that failed this morning at the DSO data activation step.  It's simply because some entries have lowercase value

  • Buffer table not up to date

    hi all, While creating a contact i am getting error as"Buffer table not up to date"..what does it mean..i am working in SRM 5.0 classical scenario... Thanks&Regards, Hari...

  • Solution Documentation: Define WMB and ATG in solution Manager

    Hello, I am working on solution docuemtnation. and looking for some help to define the NOn SAP system like WMB or ATG in solution manager landscape defination. Solution Manager version is 7.1 Regards, BA

  • How to adjust the playhead frame by frame instead of bar and beat?

    I'm doing the dubbing in Logic Pro 9.1.1, the video is 24 frame per second. The playhead always moves by bar and beat, not frame by frame when I use Euphonix MC Control shuttle/jog wheel. Is there any way to adjust the playhead frame by frame?

  • Packages in AUR

    I just completed the switch to arch of my personal desktop  (great, my new favourite distro BTW), and since I installed a few packages from AUR I was wondering what happens when the PKGBUILD there are updated? I mean how can I know (possibly automati