Datafile got corrupted

Dear Friends
Ours Development project, Here we are using Oracle 8i database on sun solaris 5.8 version. Our database is in ARCHIVELOG MODE only.
Yesterday one of our user datafile got corrupted. and we have only 3days archivelogs. We dont have any physical or logical backup.the one that was available was got deleted.
So how can we recover this datafile and use
need help,
venkat

venkat muthadi wrote:
Dear Friends
Ours Development project, Here we are using Oracle 8i database on sun solaris 5.8 version. Our database is in ARCHIVELOG MODE only.
Yesterday one of our user datafile got corrupted. and we have only 3days archivelogs. We dont have any physical or logical backup.the one that was available was got deleted.
So how can we recover this datafile and use Venkat,
You should maintain your database backup a little more carefully. Saying that "we don't have any and the one we had , got deleted" just shows that the backup/recovery is not taken seriously.
About the corruption, how did the file got corrupted?Is it a file corruption or a block corruption?If its a full file, probably you can go ahead and can recreate the corrupted file with alter database create datafile
http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76993/performi.htm#16272
The only issue is,you need archivelogs since the time the original datafile was created. If this would be more older than the 3 days of archive logs you have, it would be an issue.
To sum up, if you don't have ANY backup, you are mostly out of luck here. That's more true as you are using a very much older and unsupported version of Oracle which is officially not part of main stream, supported releases.
HTH
Aman....

Similar Messages

  • How to recover database SYSTEM datafile get corrupt ?

    Database is in ARCHIVELOG mode, and the datafile belonging to SYSTEM tablespace gets corrupted. Up to what point can I recover the database ?
    A. Until last commit.
    B. Until the time you perform recovery.
    C. Until the time the datafile got corrupted.
    D. You cannot recover the SYSTEM tablespace and you must be re-create the database.
    and 1 more doubt :
    If redologfiles are not multiplexed and redolog blocks get corrupt in group 2, and archiving stops. All redolog files are filled and database activity is halted.
    DBWR has written everything to disk. What command can be used to proceed further ?
    A. recover logfile block group 2;
    B. alter database drop logfile group 2;
    C. alter database clear logfile group 2;
    D. alter database recover logfile group 2;
    E. alter database clear unarchived lofile group 2;
    Edited by: user642367 on Sep 18, 2008 8:45 PM

    1. A. Since the DB is in archivelog mode, so you can always restore and recover the whole DB including system tablespace datafile till last SCN generated provided the redo record is available in archive/online logfiles.
    2. E. Since only redolog is corrupted so archiver won't proceed and hence a db hang is obvious, So, in order to proceed further you need to clear online (un archived log file) and then db will work as usual. Care should be taken that you must take a full backkup of DB(cold backup wherever feasible) as soon as possible after issuing this command. As now you don't have redo info in archivelog files to recover the db in case of a crash.
    Please go through Oracle 10g DB Administrators guide (available on OTN) for more details.
    Thanks

  • Data file got corrupted

    <b>If the datafile get corrupted while creating, what should I do?</b>

    Hi
    During creation of datafile, if the datafile got corrupted then you can delete the data file and recreate it again. The condition is that the particular data file has not been used after creation.
    But if the datafile is created snd used, then you have to restore the datafile from the backup (use the Brtools to restore the datafile)
    Please use Brtools utliity for the same.
    Thanks

  • Sysaux  Datafile was Corrupted

    hi , i m new to this forums...
    one of my Learning Instance sysaux Datafile was corrupted...
    how to recover it?
    is Point in time Recovery is Possible??

    Hi all,
    If are there no backup for sysaux?
    there is a corrupted block on datafile of sysaux.
    Because this, I cannot export, drop, anything.
    so, I´ve tried to use:
    run
       set newname for datafile 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\DEVDB\SYSAUX01.DBF'
       to 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\DEVDB\DATA\SYSAUX01.DBF';
       restore (tablespace sysaux);
       switch datafile 3;
       recover tablespace sysaux;
    }But with this I got the error:
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 2874 lowscn 47185106
    So I´ve tried:
    BLOCKRECOVER DATAFILE 3 BLOCK 50139;But with this I got the error:
    RMAN-03002: failure of blockrecover command at 04/29/2008 16:04:30
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    Is there any other way to restore and recover this?
    I would like at least to export, but I got error too. :-(
    thanks!!!!
    Obs: I have backup for all database files, but when I did the backups,
    because this datafile is corrupted, I take the tablespace offline.

  • Datafile physical corruption

    can some one tell me
    what is the meaning of datafile physical corruption.
    we had one ORA-00600 error in our production database (9i R2 )
    I checked on metalink that it is saying to check for physical corruption of 2 datafiles.
    but database is working and it never went down .I just got this error message in alter log file.
    how to check it and if it is here how can i resolve it .

    donald wrote:
    Thanks a lot laura
    we are not using RMAN (not good but...)
    can i use dbverify
    dbv file=test1.dbf log='/u001/as.log'
    if it will say some header or block corrupt .
    what will be the solutionJust because you're not using rman for backups (worse than "not good") doesn't mean you can't use it to verify file corruption.

  • System datafile block corrupted

    hi there,
    i have got a serious problem, my database is in mount state, but when i try to start it up, it gives error datafile block corrupted file 'd:\path\system01.dbf'. these are backup file from last database, afer which os has been formated and reinstalled.
    these are files from oracle 9i R1 and i want to install it intom oracle 9i R2.is it ok or i have to install oracle 9i R1 for making database up?
    plz help what should i do???
    thanks and regards
    VD

    ya its true,
    its not consistent backup.its not RMAN backup.i just have files >DBF,controlfiles and redo log files.
    now i am asked to retrieve data from these files.i have rebuild the database, and mounted it.but it is not getting opened.
    if i use 'ALTER DATABASE OPEN RESETLOGS' it takes too much time but dosent open.
    thats the issue.
    SQL> ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    ERROR at line 1:
    ORA-01190: controlfile or data file 2 is from before the last RESETLOGS
    ORA-01110: data file 2: 'D:\ORACLE\ORADATA\ORACLE\UNDOTBS01.DBF'
    alert log file entry:-
    Mon Nov 17 15:59:49 2008
    ORA-1589 signalled during: ALTER DATABASE OPEN..
    Mon Nov 17 16:00:06 2008
    RESETLOGS after incomplete recovery UNTIL CHANGE 81553193
    Resetting resetlogs activation ID 0 (0x0)
    Mon Nov 17 16:00:21 2008
    Errors in file D:\ORACLE\admin\ORACLE\udump\ORA02204.TRC:
    ORA-01110: data file 2: 'D:\ORACLE\ORADATA\ORACLE\UNDOTBS01.DBF'
    ORA-01114: IO error writing block to file 2 (block # 1)
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.
    Mon Nov 17 16:00:22 2008
    now tell me what should i do??
    thanks and regards
    VD

  • How do i retrieve file vault protected files from an external hard disk that used to be my mbp's hard drive? the hard disk got corrupted and will no longer boot. I put it in an enclosure and attempted to copy my files but failed because of FV encryption.

    This external hard disk used to serve as the main drive of my mbp. It got corrupted and the OSX would no longer load. I upgraded to a 500gb hd and used the old hd as an external drive. I tried to copy my files but i could not access them because of the filevault encryption. 110gb of hd space appears as used which means that my files are still in the drive. Is there a way to retrieve these files? thanks

    According to your post, you're using Leopard, so FileVault only encrypts your user folder (unlike Lion). On the mounted external drive, in your user folder, you should see a file called username.sparsebundle, with username being your user name. Double-click that file to open it and it should prompt you for a password. Type in your password and the file will mount as a volume in Finder. You should be able to copy all of your files over.

  • My ITunes got corrupted and I kept getting a message when updating iTunes64msi missing so I uninstalled all files and I thought I removed all registry values but  when reinstalling I get an older version is installed and cannot be removed. I need a soluti

    My ITunes got corrupted and I kept getting a message when updating iTunes64msi missing so I uninstalled all files and I thought I removed all registry values but  when reinstalling I get an older version is installed and cannot be removed. I need a solution.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Numbers does not open with the main user after installing mountain lion. It works flawlessly when I use the second account on my mac. What got corrupted in the admin-account, something in the user-library? How can I fix it? I´m kinda desperate...

    Numbers does not open with the main user after installing mountain lion. It works flawlessly when I use the second account on my mac. What got corrupted in the admin-account, something in the user-library? How can I fix it? I´m kinda desperate... (the same happens with the other iWork-Apps!)
    Looking forward to hearing from somebody with a littlemore expertise than me, Chris

    you can remove preferences files by navigating to the Preferences folder for your user as follows:
    0) Quit ALL iWork apps (Keynote, Pages and Numbers)
    1) from the Finder select the menu item "Go > Go To Folder…".  This will bring up a dialog:
    2) enter the path "~/Library/Preferences" (no double quotes)
    3) find the files:
    com.apple.iWork.Keynote.plist
    com.apple.iWork.Numbers.plist
    com.apple.iWork.Pages.plist
    and move these to the trash.  I would NOT empty until later.
    4) restart Numbers

  • HT201272 Having a bad day my iTunes library got corrupted and my back up disk has failed how can I restore my purchases from the iTunes store

    Having a bad day my iTunes library got corrupted and my back up disk has failed how can I restore my purchases from the iTunes store? When I try it tells me the pruchases have already been downloaded to this computer.

    Does your purchased rmusic appears under the Purchased link under Quicklinks on the right-hand side of the iTunes store home page (music can't be re-downloaded in all countries) ? If they do and you don't have the cloud symbol against them so as to re-download them, then do you still have the entries for them in your library i.e. where you would normally click on them to play them ? If you do then try deleting them from there (iTunes will be seeing them and assuming that you still have them somewhere) and they should then get the cloud symbol for re-downloading in the Purchased link.
    If you aren't in a country where music can be re-downloaded then you could try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page,

  • My Windows 7 Professional desktop system hard disk got corrupted and I took the opportunity to install an SSD for a new system disk and reinstall Windows.  The system is up and running on the SSD, with my old system disk now used for storage as it is stil

    My Windows 7 Professional desktop system hard disk got corrupted and I took the opportunity to install an SSD for a new system disk and reinstall Windows.  The system is up and running on the SSD, with my old system disk now used for storage as it is still readable.  The only Adobe product I have reinstalled so far is Reader XI but I would like to reinstall Elements 8 and Acrobat 9 without taking up more licences as both are also installed on my laptop.  Can you point me to the best way to do this?  - Thanks

    If you have the two allotted activations already and one was lost on the hard drive that failed then you need to contact Adobe Support thru chat and ask them to reset your activations.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Data recovery from Datafiles of corrupted database ?

    Hi all
    Actullay one of my databse(Oracle 9i) is corrupted and i dnt have .dmp files . so i inatlled the new databse.
    before that i copied the oradata folder from prevous database( Is not running right now)
    is there any way to restore the prevoius data from the files that i have in oradata folder to the new instance.
    thanks & regards
    Vivek

    Has the database - even when it was corrupted - been shutdown cleanly ?
    If yes, and only if you have all the files, it should be startable.
    If any of the datafiles is corrupted and it prevents database startup, you can always try following:
    startup mount
    alter database datafile <filename> offline drop;
    If the database is/was in archivelog mode you can omit the "drop" and only put it offline.
    As soon as all corrupted datafiles are put offline, including all not corrupted from the same tablespace, the database should be able to open.
    Keep in mind that this is only true for datafiles not belonging to SYSTEM/SYSAUX or other Instance dependant tablespaces;
    I don't think you can restore data from corrupted datafiles, unless you're able to recover them

  • On a macbook I purchased secondhand hard drive got corrupted and I started to get the flashing folder with the question mark, I purchased a new hard drive and snow lion install DVD I installed the hard drive and tried disc but kept getting blinking folder

    On a macbook I purchased secondhand hard drive got corrupted and I started to get the flashing folder with the question mark, I purchased a new hard drive and snow lion install DVD I installed the hard drive and tried disc but kept getting blinking folder

    Welcome to Apple Support Communities. We're users here and do not speak for "Apple Inc."
    Power on the computer and insert the DVD immediately.
    Hold down the 'C' key to boot from the Snow Leopard DVD.
    http://support.apple.com/kb/ht1533
    After selecting the appropriate language, if necessary, select Utilities, and Disk Utility.
    You'll likely need to partition and format the new drive before it's recognized.
    http://manuals.info.apple.com/MANUALS/0/MA161/en_US/MacBook_13inch_HardDrive_DIY .pdf
    (Yes, these instructions ARE 7 years old, but the procedure is the same for installing from DVD media.)

  • How to restore itunes library after a drive got corrupted

    I have iTunes on my PC. I have my media on D drive while library file on C drive.
    My C drive got corrupted and my computer started showing Blue Screen of Death. I tried every thing possible but was not able to restore any files from that drive. I had to reformat the drive and reinstall windows 7 again.
    Since D drive was fine all my songs, videos, movies, apps and books are fine. How can I restore my library as is. There is no option to add the whole folder in iTunes. There are a lot of files to add individually. Please help.

    Restore all of your important data from the backup of the computer.
    If you have no backup, the library and playlists should be possible to recreate by following the instrucitons here: http://support.apple.com/kb/ht1451

  • Operating System(Windows 7) got corrupted ..!

    Hi all,
    Can someone please help me with my laptop issue ???
    My Laptop Details :
    Product name         :  HP Pavilion dv6 Notebook PC
    Operating System :  Windows 7 Home Premium
    RAM                             :  6GB
    Processor                  :  Intel(R) Core(TM) i3 CPU [email protected](2400MHz)
    Purchase                   :  Decemeber, 2010.
    My Laptop problem :
    My HP-laptop got infected with "virus" ( it says like found 38 virus).
    And because of this virus attack , I was NOT able to open any application , for example say if i try to open "notepad" - then throws a message like " unable to open notepad application, though infected with virus".
    So with this , i can confirm that my laptop was NOT allowing me to open anything because infected with virus.
    Now i have 2 options to go further :
    1) Remove virus , using antivirus removal software ( This i don't have , so NOT attempting to use)
    2) Recover thru recovery option.
    When i purchased this laptop , the laptop contains recovery partition within the laptop , so it's a built-in option.
    Though i was NOT interested to keep that recovery partition in my laptop, I just burned recovery manager into 7 DVDs, and then deleted the partition.
    With this my laptop contains drives like :
     C: drive --> this contains OS related stuff
    D: drive --> this contains my general stuff like songs , movies , etc
    System drive --> 199MB ( not sure what thid contains )
    Now coming to original problem/issue -
    I have planned to use recovery DVDs , to recover to factory state.
    Started with 1st DVD , it went upto 18% and then asked me to insert 2nd DVD.. and this went upto 30%.. now again asked me to insert 3rd DVD.
    With 3rd DVD.. it went upto 40% , and then stopped responding. Nearly I've waited for about 3 hrs.. but NO use.. it's still hanged at 40% only.
    So with 3rd DVD , it got hanged or stopped.
    My doubt - not sure whether my 3rd DVD got corrupted or not , but i don't think so.. because 3rd DVD worked for atleast 10%..
    Finally , I was struck here...
    Not sure what's my next step
    Please help me what I have to do now, like  what steps to take... etc
    How to recover?
    Thanks
    Kiran

    Hi,
    Lets start with your providing the complete product name or product number. 
    HP has produced and brought to market perhaps more than 10,000 models of notebooks and desktop PCs over the years. It is difficult to help you if we don't know which one you own and which operating system is installed.
    Method #1: If the notebook will boot into Windows you can retrieve your Product Number by pressing Fn + Esc key. You can also read the Service Tag (if present) attached to the bottom of your notebook\netbook.
    Method #2:
    Remove the battery and look in the compartment where the battery was installed. You should see a printed part number and a product name. Please post one or both of them (with all alphanumeric characters here). If you live outside of North America, it helps us if you post the country of purchase.
    Were you using an antivirus product (free or paid) when this issue happened?
    What was the brand and product name of the Antivirus product?
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for

  • Generated a report which gives PR(Purchase Requisition) analysis using ALV.

    hi experts, please give me tables and fields for following report, and also exlain me briefly, Generated a report which gives PR(Purchase Requisition) analysis using ALV. thanks in advance, radhakrishna

  • Mail trigger to the customer

    HI we have the scenario like , we create the quotation in CRM and after creation we release the quotation , after release at the time of saving the document , system has to trigger a mail to the customer that is quotation printout . So for sending qu

  • Spool to HTML Function Module

    Hi Experts,             Can anyone help me please.  Is there any FM that can convert spool to HTML?  Just like converting spool to PDF but only I need it in HTML.  I can't use spool to PDF because I'm having problems when it comes to massive pages, b

  • Compatibility of jinitiator

    Hi, i m facing a problem with jinitiator. i have to use jinitiator 1.1.8.21 for oracle apps 11.5.10 and i need jinitiator 1.1.8.16 for oracle apps 11.5.9. i need to access both the servers and only one copy of jinitiator can be there. so is there any

  • Global metadata settings

    I just upgraded from CS2 to CS4 and of course, there will always be a few "improvements" that will take time to get used to. But one thing that is really bugging me is entering metadata in both Photoshop and Bridge. When I export or import a template