Lost 2 of 3 Control Files for 8i - Can I recover?

I had a hard drive crash and lost 2 of my 3 CONTROL files for my 8.1.6 database. I do have a backup, but I also have a 9i database on this machine and am afraid I will have to reinstall both of them. Is there a way that I will be able to restore my database (aka rebuild the control files) from just ONE Control File?
Any help would be much appreciated. Thanks

That's the reason you have 3 control files - so that you can recover from losing one of them. In theory (and also in practice) all 3 control files are exact copies of each other. Just copy the remaining one to the location(s) where Oracle is expecting to see the other 2 controlfiles.

Similar Messages

  • Control file for United States Geometry

    Has anyone built a control file to load all of the United States? I have tried dumping all of the STATES GEOM data out of the Demo, but to clean it up and use it in a control file to load it into a new table I need to dump it into Excel. Excel hits its limit on column numbers when trying to create the Row for Alaska.
    does anyone have any other ideas on how I can do this.
    Thanks in advance!
    -Scott

    Hi again Richard,
    Again dumping the GEOM data from STATES table in the demo
    the output looks like this:
    Arizona AZ
    SDO_GEOMETRY(3, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 3, 1), SDO_ORDINATE_ARRAY(-114.0498, 37.000423, -113.48438, 37, -112.8986, 37.000401, -112.5396, 37.000683 ........................etc..
    To format the data from the demo so I can create a bulk load control file, it needs to be in the form of:
    BEGINDATA
    2003|Arizona|AZ|-112.5396|37.000683|-112|37.000977|-111.41205|37.001514|-111.13302|/
    etc.....
    this is what I am trying to accomplish, and why I would need Excel, or another tool, to help with the correct formatting.
    The reason for this is that the GEOM data needs to be loaded into a different table on a different server, I only have the demo running on my local machine. I need to create this control file so I can create my own table on the production server and develop from that version of the database.
    Hope that clears things up, thanks again.
    -Scott

  • Control file for the sql*loader

    hi
    i'm doing my project in database management as the part of my project i have to write the control file for the sql*loader so, any one please clear the funda...so that i can get back to my project work...help me with sample code ..

    Refer chapter 3 and 5 on this url for sql loader and its control file references :
    http://download-west.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90192/toc.htm
    or
    http://download-east.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90192/toc.htm
    You may also refer sql loader examples on this page:
    http://otn.oracle.com/sample_code/products/intermedia/htdocs/avi_bulk_loading.html
    Chandar

  • Control file for SQL*Loader

    Hello,
    I have the following file (2 line) which I want to intend in an oracle database with the SQL*Loader.
    tommy050+3423
    tom 070-0006
    The file consists of two lines and three columns.
    Column1 has always 5 digits and is a String. Additional empty digits will be filled with blanks. Here: “tommy” and “tom “
    Column2 has three digits and is a number. Here: “050” and “070”.
    Column 3 is also a number and consists of four digits. Additionally there is a fifth digit for the leading sign ("+" or "-"). Here: “+3423” and “-0006”.
    This file I want to import in my table “MyTab”.
    MyTab(
         thing          VARCHAR2(5)
         number     NUMBER(3)
         amount     NUMBER
    How would the control file for the SQL*Loader look like for this example?
    Regards
    Homer

    This is a start (untested)
        LOAD DATA
        INFILE 'sample.dat'
        BADFILE 'sample.bad'
        DISCARDFILE 'sample.dsc'
        APPEND
        INTO TABLE MyTab
          ( thing POSITION(1:5)  CHAR ,
           NUMBER    POSITION(6:8)  INTEGER,
           amount POSITION(9:12) INTEGER  )Can you have a column named number?

  • 12c Create Control File for Entire CDB (CDB-root + PDBs)

    Hi,
    In 12c, I understand that there is a single redo log and a single control file for an entire CDB. My question is what datafiles should I use to create control file for the entire CDB. According to Managing Control Files, I suppose I should use all the datafiles (the result of query from CDB-Root: select name from v$datafile), but in practice, the control file creation process can only be successful when I use CDB-Root databfiles. Thanks in advance for any advice.

    The actual error message is duplicate tablespace (system, sysaux), but the root-CDB and PDBs should have separate system and sysaux. The following is the script I used.
    CREATE CONTROLFILE REUSE DATABASE "CDB" RESETLOGS  ARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 1024
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 '/cdbdata/cdb/redo01.log'  SIZE 50M BLOCKSIZE 512,
      GROUP 2 '/cdbdata/cdb/redo02.log'  SIZE 50M BLOCKSIZE 512,
      GROUP 3 '/cdbdata/cdb/redo03.log'  SIZE 50M BLOCKSIZE 512
    DATAFILE
      '/cdbdata/cdb/system01.dbf',
      '/cdbdata/cdb/sysaux01.dbf',
      '/cdbdata/cdb/undotbs01.dbf',
      '/cdbdata/cdb/pdbseed/system01.dbf',
      '/cdbdata/cdb/users01.dbf',
      '/cdbdata/cdb/pdbseed/sysaux01.dbf',
      '/cdbdata/cdb/pdb1/system01.dbf',
      '/cdbdata/cdb/pdb1/sysaux01.dbf',
      '/cdbdata/cdb/pdb1/pdb1_users01.dbf'
    CHARACTER SET WE8MSWIN1252

  • Control file for Oracle Restore

    Hello All,
    We are making use of only ABAP stack of SAP ECC 6.0 Sr3 version
    Database version is Oracle 10.2
    how can i generate control file for ABAP stack only for database restore?
    Please Guide
    Best Regards,
    Amol Dounde

    Hi Amol,
    We discussed the issue in my previous threads;
    http://scn.sap.com/thread/3223223
    Best regards,
    Orkun Gedik

  • Concatenate positions in control file for sql*loader utility.

    Is there a way to concatenate several character positions in a control file for sql*loader???
    example... field1 position(1:3) || position(5:7) ????
    I would rather not create any unnecessary temp tables for a straight load...

    How about...
    /code
    field1 position(1:7) char "substr(:field1, 1, 3) || substr(:field1, 5)"

  • I lost data on ipod classic 120GB, how can i recover my data???

    I lost data on ipod classic 120GB, how can i recover my data???

    If your media is in iTunes restore the iPod, but the iPod is/was the only location currently hosting some of your media then the first task is to try to extract it. See the user tip Recovering your iTunes library from your iPod or iOS device for some recovery tools. Most third party tools will probably require the device to have a functioning library however the techniques outlined in the iLounge Article referenced at the end should work as long as the device still shows up in Windows Explorer or Finder.
    tt2

  • While updating iOS 6 on my iPhone I lost the Contacts I already had, where can I recover them?

    While updating iOS 6 on my iPhone 4 I lost the Contacts I already had, where can I recover them?
    Thanks in Advance,

    Thank you so much for the quick answer, but right now I just have my iPhone with me, I have the PC where I Sync at home, how can I do to proceed? I just get into the Tech Support of iCloud, but It is not clear to me....  Thanks.

  • I have lost all my fotos in iphoto, how can i recover?

    I have lost all my fotos in iphoto, how can i recover?

    Simple and fast answer: restore from your back up.
    Other than that:
    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • I caught my phone 4. Had to buy a new one, lost all contacts, and calendar photos. how can I recover them

    I caught my phone 4. Had to buy a new one, lost all contacts, and calendar photos. how can I recover them?

    What does "I caught my phone 4" mean?
    All contacts, calendars, photos etc should be on your computer as the iphone is designed to be synced to your computer.
    Just sync them to your new iphone.
    iPhone: Transferring information from your current iPhone to a new iPhone

  • Please help. I have deleted all my photos from my i phone 5 sometime ago and I have just relaised that they are very imortant for me, can I recover them

    please help. I have deleted all my photos and videos from my i phone 5 sometime ago and I have just relaised that they are very imortant for me, can I recover them at all. the pictures dates back to some time in June 2013

    ozyyy wrote:
    Thank you for your reply. I do not think it was connected to internet and saved in I Tunes or I cloud
    Sorry... but... No Sync + No Backup = No photos.

  • My Firefox crashed, I have lost all my passwords and bookmarks, how can I recover it?

    I was on line, my Firefox browser crashed, It asked me if it could recover it after which I have lost all my passwords and bookmarks, how can I recover it?
    duplicate of [/questions/1023258]

    '''https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles'''
    '''https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile'''
    '''https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles'''

  • No autobackup of control file for rman

    This is what I used for a backup of database. I do not have controlfile autobackup set, I back it up using rman commands. Backup is made to a third party media manager.
    I tried to restore and it cannot startup mount the database, it can only nomount the database. I am assumming this is because it cannot find the control file.
    Is it possible to recover the controlfile if autobackup not on ? I did make a backup current controlfile with the rman script below .. Is it possible to get back the database at all ..
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 1286066176 bytes
    Fixed Size 2221160 bytes
    Variable Size 805309336 bytes
    Database Buffers 469762048 bytes
    Redo Buffers 8773632 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    This is the backup script.
    rman target xxx/xxx nocatalog << eof
    run {
    allocate channel t1 type 'sbt_tape' parms
    'ENV=(tdpo_optfile=xxxxxxxxxxxx)';
    backup as compressed backupset database plus archivelog delete input;
    release channel t1;
    quit
    eof
    rman target xxxx/xxxx nocatalog << eof
    run {
    allocate channel t1 type 'sbt_tape' parms
    'ENV=(tdpo_optfile=xxxxxxxxxxxxx)';
    backup current controlfile;
    release channel t1;
    quit
    eof
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default

    joecbc wrote:
    I did find this in my ORACLE_HOME .. I was able to do the resrore controlfile command as below .. Not certain how the file named control02.ctl got there, maybe from my backup I did yesterday .. anyway the database is restored, thanks.
    RMAN> restore controlfile from '$ORACLE_HOME/fast_recovery_area/RMANT/control02.ctl';
    Starting restore at 05-OCT-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=212 device type=DISK
    channel ORA_DISK_1: copied control file copy
    output file name=/data99/oradata/RMANT/control01.ctl
    output file name=/u11/app/oracle/fast_recovery_area/RMANT/control02.ctl
    Finished restore at 05-OCT-12You have mutiplexed controlfile in two different location:
    /data99/oradata/RMANT
    /u11/app/oracle/fast_recovery_area/RMANT
    This controlfile "control02.ctl" was your current controlfile, you have controlfile in two different location "/data99/oradata/RMANT" and "/u11/app/oracle/fast_recovery_area/RMANT"
    So, be aware you have lost only this file "/data99/oradata/RMANT/control01.ctl" and the "control02.ctl" file is not a backup of controlfile, but is your current controlfile.
    You restored control01.ctl from control02.ctl
    Check it using command above
    sqlplus / as sysdba
    Select  name, status from v$controlfile.
    or
    show parameter controlEdited by: Levi Pereira on Oct 5, 2012 1:05 PM

  • Need help in writing the control file for SQLLOADER

    Is it possible to error out the Sqlloader in case the data fields in the data file for a row are more than the fields stated in the control file?
    i.e. My data file is something like
    aaa,bbb,cc
    dd,eee
    And my ctl file has just 2 columns in it. Is it possible to write a control file which will cause the Sqlloader to error out?
    Thanks...

    Nisha,
    Again I posted test example in your other post but here is how can do that
    CREATE TABLE mytest111 (
       col1 NUMBER,
       col2 NUMBER,
       col3 NUMBER
    LOAD DATA
    TRUNCATE INTO TABLE MYTEST111
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    col1 integer external,
    col2 integer external
    #mytest.dat
    1,2,3
    1,2
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Apr 10 11:40:39 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Control File:   mytest.ctl
    Data File:      mytest.dat
      Bad File:     mytest.bad
      Discard File:  none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table USIUSER.MYTEST111, loaded from every logical record.
    Insert option in effect for this table: TRUNCATE
    TRAILING NULLCOLS option in effect
       Column Name                  Position   Len  Term Encl Datatype
    COL1                                FIRST     *   ,  O(") CHARACTER           
    COL2                                 NEXT     *   ,  O(") CHARACTER           
    Table MYTEST111:
      2 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    Space allocated for bind array:                  33024 bytes(64 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:             2
    Total logical records rejected:         0
    Total logical records discarded:        0
    Run began on Fri Apr 10 11:40:39 2009
    Run ended on Fri Apr 10 11:40:40 2009
    Elapsed time was:     00:00:00.99
    CPU time was:         00:00:00.06
    {code}
    Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Different copys in different paper trays

    Hi, I want to print different copys from a page in different paper trays. For example i have a form with 1 page and the page have 3 copys, and each copy, i want to print in a different paper tray. Anyone can help me? Thanks, Ricardo

  • Mobility group same ssid multiple WLC

    I have a 4400 and a 5508 WLC in the same location We want to be able to roam between ap joined to both the 4400 and the 5508 using only one ssid Do I only need to create a mobility group and add both WLC then create only one WLAN on one of the contro

  • Where to perform SOLAR_PROJECT_ADMIN

    Hi Friends, i have some doubts to clarify: 1. Do we require seperate client to be created, i am talking about the client where i would use Tcode SOLAR_PROJECT_ADMIN 2. Do i require a seperate client for Maintenance Optimizer, 3. can i configure Maint

  • Any Suggestion to find nested-nested table levels??

    My Code will dynamically generate nested types of arbitrary depth, create a table with a column of that type and populate it with a simple set of values. create or replace procedure ntdepth1(n number) AUTHID CURRENT_USER as type_stm varchar2(255); ty

  • Termination Error when Changing Rejected Shopping Cart

    Hello All - We are on SRM 5.0 Classic scenario.  If you try to change a shopping cart that has been rejected, if the section that you want to edit is not open before you click the change button you get a termination message that says "error processin