One control file corrupted, how to recover?

The first control file get corrupted, and the db can't start up. The second and third are ok. How can I recover the first control file and bring the db up?
Thanks

but still not up:
SQL> startup
ORACLE instance started.
Total System Global Area 830472192 bytes
Fixed Size 2032520 bytes
Variable Size 746593400 bytes
Database Buffers 75497472 bytes
Redo Buffers 6348800 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
from alert:
Errors in file /opt/oracle/admin/pacedev5/bdump/pacedev5_lgwr_14488.trc:
ORA-19502: write error on file "/opt/oracle/u01/pacedev5/control01.ctl", blockno 297 (blocksize=16384)
ORA-27063: number of bytes read/written is incorrect
Additional information: 24576
Additional information: 196608
LGWR: terminating instance due to error 19502
Instance terminated by LGWR, pid = 14488
dbv the control file and see the corrupted blocks
something else could be wrong?
thanks

Similar Messages

  • Etc/system file corrupted how to recover it?

    etc/system file corrupted how to recover it?

    with boot -a you can only specify new /etc/system during boot , e.g. /dev/null
    but if you want to recover it , you can do it from live kernel ( if you didn't reboot after /etc/system was corrupted )
    with
    echo ::system|mdb -k
    or from previous crash dump simmilar way
    cd /var/crash/`uname -n`
    cho ::system|mdb unix.[x] vmcore.[y]

  • PDF files corrupted, how to recover them?

    I am using ubuntu 11.04. Few days ago, I installed wine to run .exe programs on the system. Somehow .exe virus flooded into the system & the entire system has got corrupted. Now I am unable to view pdf files as all of them are corrupted. How can recover them now?

    Some viruses destroy all PDF (and other types of file) on the system. If this is the case, they are gone, and you need to restore from backup.

  • One CONTROL FILE KO

    Hi all,
    I read some post from this forum and i found at this : http://forums.oracle.com/forums/login.jspa
    where user lost all the CONTROL FILE.
    Instead I have a problem only with one...but I have this error "ORA-00205...." I could start the DB but can't mount or open the DB.
    The problem was born when I tried to move one CONTROL FILE (Control02.ctl) from the original dir to another.
    For doing this I have done from SQL+ as SYSDBA: (the DB was OPEN)
    1) SQL> select name from v$controlfile;
    2) SQL> ALTER SYSTEM SET control_files='C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL01.CTL, G:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL02.CTL, C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL03.CTL'
    SCOPE=SPFILE;
    --->Changed directory of CONTROL02.CTL from disk C to G <---
    3) SQL> Shutdown immediate
    4) From OS (windows 2003) moved CONTROL02.CTL to new directory (G:\..)
    5) SQL> Startup (--> I have this errors :ORA-00205....check allert.log..)
    Checking ALLERT.LOG I found this errors :
    ORA-00202: control file: 'C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL01.CTL, G:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL02.CTL, C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL03.CTL'
    ORA-27041: impossible open file
    OSD-04002: ssible open file
    O/S-Error: (OS 123)
    So now..I have the DB down and I don't know how reopen it. Someone can Help me ?
    Any suggest will'be glad
    Thanks
    Diego

    Hi all,
    I read some post from this forum and i found at this
    : http://forums.oracle.com/forums/login.jspa
    where user lost all the CONTROL FILE.
    Instead I have a problem only with one...but I have
    this error "ORA-00205...." I could start the DB but
    can't mount or open the DB.
    The problem was born when I tried to move one CONTROL
    FILE (Control02.ctl) from the original dir to
    another.
    For doing this I have done from SQL+ as SYSDBA: (the
    DB was OPEN)
    1) SQL> select name from v$controlfile;
    2) SQL> ALTER SYSTEM SET
    control_files='C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\
    CONTROL01.CTL,
    G:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL02.CTL,
    C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL03.CTL'
    SCOPE=SPFILE;
    --->Changed directory of CONTROL02.CTL from disk C to
    G <---
    3) SQL> Shutdown immediate
    4) From OS (windows 2003) moved CONTROL02.CTL to new
    directory (G:\..)
    5) SQL> Startup (--> I have this errors
    :ORA-00205....check allert.log..)
    Checking ALLERT.LOG I found this errors :
    ORA-00202: control file:
    'C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL01.CTL,
    G:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL02.CTL,
    C:\ORACLE10.2.0G\ORADATA\CENTRALENIXUS\CONTROL03.CTL'
    ORA-27041: impossible open file
    OSD-04002: ssible open file
    O/S-Error: (OS 123)
    So now..I have the DB down and I don't know how
    reopen it. Someone can Help me ?
    Any suggest will'be glad
    Thanks
    DiegoHi,
    in my opinion:
    ad 2)
    ALTER SYSTEM SET control_files="/location1", "/location2","/location3" SCOPE=SPFILE;
    but there is a another solution:
    a) insert correct path into file: init<SID>.ora
    b) startup pfile=/location_to_init.ora
    c) create spfile from pfile
    Also chceck if you have right permission in new location.
    S.

  • If it is not specified,Oracle creates one control file in a default locatio

    Hi
    The CONTROL_FILES parameter is not required when you create a database. If it is not specified,Oracle creates one control file in a default location,.
    Where oracle create contol file default in this condition
    Thanks

    Can you try to create a database and see
    FYI
    It creates in $ORACLE_HOME\database folder..if not specified but in UNIX i think it will be under $ORACLE_HOME/dbs
    Because i dont have UNIX right now to test it
    Message was edited by:
    Maran Viswarayar

  • Can I have two Data Files in One control file of sql*loader tool

    hi,
    Can someone help me out. is it possible to have two Data Files in one control file of Sql*loader.
    And isit possible to run 10,000 records before lunch and 10,000 records before tea and 10,000 records before evening session by giving breaks after every 10,000 records.
    Thanks
    Ram

    Yes. You can specify two datafiles in one control file and can load using sql loader.
    I give you the sample control file.
    Load DATA
    INFILE 'TEST1.CSV'
    INFILE 'TEST2.CSV'
    TRUNCATE
    INTO TABLE TEST_P
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (COL_1,
    COL_2,
    COL_n)
    Hope It will help you.
    -Karthik

  • PSD files corrupted, How can i repair it?

    Hi,i have 3 .PSD files corrupted, How can i repair it? when i try to open it , appear this message  " it is not a valid Photoshop document."

    Work File Safety | Mylenium's Error Code Database
    Mylenium

  • Sysjobhistory table corrupted how to recover on sql 2008 r2

    sysjobhistory table corrupted how to recover ron sql 2008 r2

    Is it anything related to Master Data Services or just a generic question for SQL Server Agent?
    I guess its generic question and must be moved to database engine forum
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Control file corrupted

    HI, My database was operating on noarchivelog mode, I do have a backup from last night but all three control files seemed to be corrupted. Is there anyway, i can create new control file and syncronise with rest of the files?. If yes, can you please tell me the steps involved in creating new controlfile as I don't have any idea how to do that. Thanks alot.

    Hi,
    Set oracle_sid="your sid name"
    connect to sqlplus
    SQL>conn/as sysdba
    start your database in nomount stage
    SQL>Startup nomount
    Then type the following commands
    SQL> CREATE CONTROLFILE REUSE DATABASE "your database name"
    MAXLOGFILES 5 --optional
    MAXLOGMEMBERS 3 --optional
    MAXDATAFILES 14 --optional
    MAXINSTANCES 1 --optional
    MAXLOGHISTORY 226 --optional
    LOGFILE
    GROUP 1 'your logfile path' SIZE your logfile size,
    GROUP 2 'your logfile path' SIZE your logfile size
    DATAFILE
    'your datafile path',
    'your datafile path'
    After that open the database with RESETLOGS
    then shutdown the database
    SQL>shu
    Now multiflex the control file and mention the path in init file
    And take the complete closed backup( backup your datafile, control file, logfile)
    Then startup the database
    SQL> Startup
    Now your database is ready to USE.
    This is the Example to:
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL"
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 14
    MAXINSTANCES 1
    MAXLOGHISTORY 226
    LOGFILE
    GROUP 1 'E:\ORACLE\ORADATA\ORCL\REDO01.LOG' SIZE 100M,
    GROUP 2 'E:\ORACLE\ORADATA\ORCL\REDO02.LOG' SIZE 100M,
    GROUP 3 'E:\ORACLE\ORADATA\ORCL\REDO03.LOG' SIZE 100M
    DATAFILE
    'E:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF',
    'E:\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF',
    'E:\ORACLE\ORADATA\ORCL\INDX01.DBF',
    'E:\ORACLE\ORADATA\ORCL\TOOLS01.DBF',
    'E:\ORACLE\ORADATA\ORCL\USERS01.DBF',
    'E:\ORACLE\ORADATA\ORCL\OEM_REPOSITORY.DBF',
    'E:\ORACLE\ORADATA\ORCL\CWMLITE01.DBF',
    'E:\ORACLE\ORADATA\ORCL\DRSYS01.DBF',
    'E:\ORACLE\ORADATA\ORCL\ODM01.DBF',
    'E:\ORACLE\ORADATA\ORCL\XDB01.DBF',
    'E:\ORACLE\ORADATA\ORCL\USERS02.DBF',
    'E:\ORACLE\ORADATA\ORCL\USERS03.DBF',
    'E:\ORACLE\ORADATA\ORCL\USERS04.DBF'
    SQL>ALTER DATABASE OPEN RESETLOGS;
    And one more thing:
    To rename the database change reuse to set in the create control file script as shown below
    Regards
    S.Senthil Kumar

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

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

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

  • Datafiles and control file corrupted

    I have oracle 9i installed on windows 2003 server. A couple of days before our windows crashed and the system administrator took the backup of all files and reinstalled windows. After reinstallation of windows I restored the files backed up by system administrator and tried to start the database. I got the following error:
    ORA-00227: corrupt block detected in controlfile: (block 1, # blocks 1)
    ORA-00202: controlfile: 'D:\ORACLE\ORADATA\ORCL\CONTROL03.CTL'
    All the multiplexed copies of control files are also corrupted. We do not have the backup since last few days and the database is in noarchivelog mode. Simple restoration to the old backup would be a great loss. Kindly help me to recover the control file and datafiles.

    All the multiplexed copies of control files are also corrupted. We do not have the backup since last few days and the database is in noarchivelog mode. Simple restoration to the old backup would be a great loss. Kindly help me to recover the control file and datafiles.You could try to re-create the control files assuming the database itself was closed properly.
    However you should only do this if you know what you are doing.
    In any case you should backup the database in its current state in case things getting worse by trying to recover. CHECK this backup twice!
    In any case: Open a support ticket at Oracle. You will most probably need their help.
    In addition to that - it look quite bad for your data. You should prepare for data loss (just to be sure; i dont want to scare you)....
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • Bios is corrupt , how to recover

    bios is corrupt , how to recover

    Hey there,
    Can you give me some more information? I will need to know the specific model number of your computer, the operating system you are using, and any other relative information.
    Thanks,
    Sean
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Backup file corrupted- How do I recover or locate older backup files?

    I synced my original iPhone (with 2.0 software) a few times last night to make sure everything I had on the iPhone was synced to my computer before I restored it, and sold it on ebay. It backed up the iPhone a few times and always wanted to restore it everytime. Well the last time I attempted to sync the iPhone I interrupted the backup process by 'x-ing' out of it during the sync. Now I am trying to get my 3G iPhone synced with the backup of my original iPhone and it is saying that the file is corrupt. Obviously this is because I interrupted the backup process.
    So my question is: Is there a way for me to locate an older backup file that may only be an hour older than the corrupt file?
    In the preference settings in iTunes I can see the backup files for my phone, but it only lists one, which is the corrupt one. And I searched the finder for recent files, hoping I could find the corrupt file, locate the folder its in and there find older non-corrupt files. Alas, no luck.
    I've already restored the original iPhone so the info is gone from that phone. Is there any hope of finding a non-corrupt backup file? Please help.

    You can find your backup file here:
    /Users/YourUserName/Library/Application Support/MobileSync/Backup/
    It seems that iTunes lists all of the ones that are in that folder.
    I just lost my backup, too. More than a year's worth of settings. I can't find any way of "fixing" the corrupt backup. It seems that photos are gone forever, if they weren't imported into iPhoto, but I did find this software to recover notes, sms, and call logs:
    http://homepage.mac.com/vaughn/msync/#VER
    The developer seems like kind of a passive aggressive borderline extortionist, but the software seems to work.

  • Corrupt TIF files? How to recover?

    Hello there Gentlemen and Ladies.........
    I have recently had to recover 4000dpi scans which are TIF
    from a erased disk (sad and painful), each scan took me 10 minutes
    to complete , and now i have 130mb TIF files which Photoshop
    cannot open, because it says they are not TIF format...!!!
    I know they were fine before my recovery operation. clearly something
    has gone wrong, what tool could uncorrupt the TIF files back to normal?
    I can see their size is still 130mb after recovery, just the file format does
    not open!
    cheerio

    I used Data Rescue X II to recover the files from the deleted 100GB partition,
    it took me forever to recover them, and generating them was even more
    of a pain (i rented a Nikon ED4000 to make them)
    I need those images desperatley
    A mate of mine suggested using a Windows PC to recover them, and move
    the files on to Windows...i dare not
    appreciate any help, surely there must be a way, there is good data in those 130mb files...
    cheerio

  • N86 E: Mass memory corrupted - how to recover?"

    Hi,
    I'm using a N86 8MP which is less than 5 months old. Recently, I have lost all my music files and all the crucial photo images which I have taken between Jan till now and I have not done a backup yet. Somehow this occurs after I have switched the Singapore SIM Card to a China Prepaid Card. Could it be the cause of data losses? Also, not sure if the missing data has anything to do with the corrupted E:Mass Memory which I have just discovered yesterday.. Any ideas/advise?
    And, may I know, how can I recover the corrupted E:Mass Memory from my Nokia N86 8MP phone?
    Please help. Thanks!

    Thanks for the suggestion, Barney-15E. FYI I am not running both iCal and Calendar. Just Calendar. Me bad for using the old name and new name interchangeably.
    Tackling the iMac problem: In iCloud network preferences, I unchecked Safari then soon after rechecked it, and your suggestion appears to have worked: a bookmark recently added on one of the other devices appeared in the iMac Safari bookmarks. So far so good.
    Did the same thing with contacts. The iMac took a couple of hours to restore the sync setting, but it finally completed the task. The computer was laboring so I rebooted. Then I opened the contacts application and saw the spinning grey bars next to the "iCloud" heading above my list of contact groups. Some time later the spinning lines were replaced by an exclamation point. I clicked on it and got the message that the operation could not be completed because of a "CoreDAVErrorDomain error 1..". Subsequently, after much spinning of the line wheel, I have gotten either the exclamation point with the CoreDAV message or a lightning bolt icon. Whether exclamation point or lightning bolt, clicking on it provokes a long period of the spinning line wheel. And looking at some telltale contact discrepancies between the iMac and the other machines, nothing seems to have changed in terms of merging the discrepancies.
    Searching for the error message in the support community, I see this has happened to others, and they have had some success in following a list of steps starting with archiving the contacts, which I have done. Don't think I fully follow the other steps, nor am I sure they apply to my situation.

Maybe you are looking for

  • How do I sync my iPhoto library on my mac to my iPad

    How do I sync photos from my Iphoto library to my iPad 2? Any help would be great!

  • Do I need to defragment my iMac?

    Hi Guys, I have a question - do I need to defragment my iMac? I have noticed it is getting slower. blueheron11

  • Fonts display : Please help

    Hai friends, We migrated forms6i to forms 10g. But when displying forms thru browser, Fonts are not comming properly. eg: Command button title is "Leave Allowance" It is comming like this, "Leave A....." Any one please help me. regards Mathew

  • Creating a custom IDoc inbound function module

    I have created a custom idoc.I wanted to create a custom IDoc inbound function module, this Function module will provide to launch a BAPI .Tell me how to "create" inbound function module for the custom idoc ?

  • "Not enough free space" error. Prevents sync.

    My 4th generation iPod Touch has recently started throwing a "not enough free space" error message every time I try to sync. I haven't added and large files recently, and since getting this error, I have deleted many large files from my Ipod. I still