Trying to recover metadata from a lost DB

Hi:
We lost a DB instance and cannot recover. Ops replaced the broken disks and restored datafiles from backup, but "recover datafile..." for a specific datafile fails with OAR-01113 (file 89 needs media recovery). It calls for a file called arch1_120544.dbf which it (and I) cannot find.
Anyway....
What I'd really like to do at this point is to salvage the metadata. Is there a way to do this without starting the instance? Can I drop the problem datafile (and if necessary, the associated tablespace) somehow and then start the instance without it/them?
Thanks!

Nope, not yet...
SVRMGR> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SVRMGR> startup open pfile = "/odb0/oracle_projects/devodb/initdevodb.ora";
ORACLE instance started.
Total System Global Area 604451812 bytes
Fixed Size 103396 bytes
Variable Size 111763456 bytes
Database Buffers 491520000 bytes
Redo Buffers 1064960 bytes
Database mounted.
ORA-01113: file 89 needs media recovery
ORA-01110: data file 89: '/odb24/devodb/indexes/devodb_imp_idx_huge.dbf'
SVRMGR> alter database datafile '/odb24/devodb/indexes/devodb_imp_idx_huge.dbf' offline;
alter database datafile '/odb24/devodb/indexes/devodb_imp_idx_huge.dbf' offline
ORA-01145: offline immediate disallowed unless media recovery enabled
SVRMGR>

Similar Messages

  • Error when trying to recover datafile from standby database to primary

    hi friends,
    getting problem with restoring datafile from backupset taken on standby database to primary database.
    os: windows server 2003
    db: oracle 11gR1(11.1.0.6)
    i've configured standby database on two different hosts.
    host1 - primary (db_uinque_name= prod)
    host2 - standby (db_uniue_name= prodsby)
    I've configure both database with recovery catalog. I take backup on standby database. users' datafile of primary database has been lost.i'm trying to restore from the backupsets taken on standby database.
    with the help of - http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJCEFEG
    on primary
    c:\>rman target sys/password catalog rcat/password
    rman>list backup for db_unique_name prodsby;
    display the backupsets
    rman>restore datafile 4;
    Starting restore at 06-NOV-08
    starting full resync of recovery catalog
    full resync complete
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1051 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/06/2008 12:12:18
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    also use to tag to restore the datafile
    rman>restore datafile 4 from tag='base0_prodsby';
    Starting restore at 06-NOV-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/06/2008 11:27:21
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    i'm getting above errors when try to restore the datafile.
    when i issue the following command.
    BACKUP AS COPY DATAFILE 4 AUXILIARY FORMAT 'C:\app\Administrator\oradata\prod\USERS01.DBF';
    Starting backup at 06-NOV-08
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1068 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00004 name=C:\APP\ADMINISTRATOR\ORADATA\prod\USERS01.
    DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/06/2008 12:49:
    15
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    please friends, try to help me to solve the problem.
    Thanks,
    Vihang

    hi.
    Its not necessary its a otherway around to recover datafile from this backupset and apply archivelogs to make datafile consistent.
    yes, it ain't the right way to restore backup to primary location.
    so how would i connect to standby database with primary and recovery catalog.
    i need to connect to recovery catalog and primary site because i need to restore to primary location and recovery catalog contain all metadata and backupsets related information.
    i also tried the following steps from oracle documentation.
    Connect to the standby database as the target database:
    CONNECT TARGET sys@standby
    You are prompted for a password:
    target database Password: password
    Connect to the primary database as the auxiliary database:
    CONNECT AUXILIARY sys@primary
    You are prompted for a password:
    target database Password: password
    Back up the datafile on the standby host across the network to a location on the primary host. For example, suppose that /disk1/df2.dbf is the name of datafile 2 on the standby host. Suppose that /disk8/datafile2.dbf is the name of datafile 2 on the primary host. The following command would copy datafile 2 over the network to /disk9/df2copy.dbf:
    BACKUP AS COPY DATAFILE 2 AUXILIARY FORMAT '/disk9/df2copy.dbf';
    Starting backup at 06-NOV-08
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1068 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00004 name=C:\APP\ADMINISTRATOR\ORADATA\prod\USERS01.
    DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/06/2008 12:49:
    15
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    getting this error.

  • Problems when trying to import metadata from SQL server using OWB

    Hi,
    We are using Oracle 11.2 EE on AIX and OWB: 11.2. We are in the process testing Oracle Transparent gateway for SQL Server and have installed and configured it on a standalone windows server. We and have run the ORACLE_HOME\dg4msql\admin\dg4msql_cvw.sql on SQL Server side, in order to query the SQL-Server data dictionary. We have created a DB-link and can pull data correctly without any problems. When trying to import metadata in OWB Client on win xp, we have created a non-oracle SQL Server Module and are able to connect and start the import, but the displayed table names look strange and can not be imported. In front of every letter there is a square box, so instead of ADDRESS (the address table in the source system) , it reads "squarebox"A"squarebox"D"squarebox"D"squarebox"R"squarebox"E"squarebox"S"squarebox"S and subsequently the import fails with :API0413: Illegal name [<tablename>] Name with preceding and trailing spaces is not allowed.
    The gateway have been configured with the following parameters:
    HS_FDS_CONNECT_INFO=<connect string>
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
    Any ideas ?
    This topic has been posted in the Heterogenious Forum as well, but as the problem is within OWB, I also post it here.
    Thanks in advance!
    Henrik
    Edited by: he**** on Nov 15, 2011 1:29 PM

    Henrik,
    I've found other problems where OWB adds a space between all characters returned from SQL*Server which is what is happening in your case, although it is being displayed as a square box.
    In one of these cases the problem was fixed by using the 11.2.0.2 OWB so would it be possible for you to try with that version ?
    Also, as the problem is not with the gateway itself as you can select successfully using a database link then it would be better to follow up in the OWB forum -
    Forum: Warehouse Builder
    Warehouse Builder
    as they will be able to help with the OWB side of the problem.
    Regards,
    Mike

  • Trying to Recover Data From Old Backup Exec Tapes

    I have been tasked with recovering data from an old Windows XP machine with an HP C1537A DDS3 tape drive.  The machine used Backup Exec to create the tapes.  In trying to recover the data I constantly get an error that says the data on the tape is inconsistent.  I tried to run the HP analysis utility but it said the error log of the drive was full and it would be necessary to do a firmware load to clear it.  I therefore loaded the lastest firmware.
    I ran the HP analysis utilities using one of the tapes as a scratch tape (to write over):
    Test 'DDS Drive Assessment Test' started on device 'HP C1537A' at address '6/0.0.0'
    Please reload your media. Do you wish to continue?
    |__ Analysis Results
        ||__ DDS Drive Assessment Test version V08.11.2006
        ||__ Device Analysis for DDS Drives
        ||__ Firmware rev 'L411' is up-to-date for 'C1537A' as of Wed May 25 19:00:00 2005.
        ||__ You appear to have used tapes not designed for this drive.
        ||__ Please use tapes that are compatible with your product.
        ||__ Unsupported tapes have been inserted 6 times.
        ||__ You appear to be using very old tapes not designed for this drive.
        ||__ Non-MRS tapes tapes have been inserted 3 times.
        ||__ There were 9 rules checked.
        ||__ Testing has completed and no problems were found.
    The tape that was used in the analysis was a maxlell HS-4/125s DDS3 tape -- the same type that was used to create the backup tapes. 
    Why does the drive think I am using "very old tapes not designed for this drive"?  The tapes were witten to by this drive.
    What is a "Non-MRS" tape?
    The end results appears to be that "no problems were found" but Backup Exec reports that the tapes have inconsistent data. 
    Any suggestions on how to make the tapes readable by Backup Exec would be appreciated.
    I am using Backup Exec 9.1 Rev 4691.  Please do not suggest using a later version as this is the latest version that (1) will run on a Windows XP Pro box and (2) that supports the tape drive.

    Saberman,
    Have you tried the Enterprise/Business forum for this?  I doubt anyone here on the consumer section will be able to help you with Tape Storage.
    Here is the link to the Tape section of the forum.
    http://h30499.www3.hp.com/t5/Tape-Libraries-and-Drives/bd-p/itrc-198
    Good luck.

  • HTC Rhyme crashed - trying to recover sms from sd card

    Hello. HTC Rhyme crashed and I'm trying to recover SMS texts from the SD Card.  There is a folder on the SD card labeled "sms_backup".  WIthin that folder, there is an unidentifiable file that is 29KB.  In the type of file block, it simply says "File."  Can I restore these on the phone to a readable format - if so, how?  Tried to transfer to a PC just for historical purposes, but regardless of which program I use to open it, it comes up in some type of cryptic code.  Please help.

        Jay1, I know it can be difficult to lose precious info on your phone! The phone does not automatically backup SMS. Do you remember previously downloading an SMS backup application? If you did, you can re-download that application to recover your SMS. Search for SMS backup applications in the PlayStore and give it a try.
    MarquiaF_VZW
    Follow us on Twitter @VZWSupport

  • How do i get my ipad to stop saying no service now that i have recovered it from being lost?

    I recovered my lost ipad. But in the mean time I used the "find my phone" app to lock it. Now I can't get the messsage at the top of the ipad from saying "no service". I am unable to use my wi-fi even though it looks like it is connected. I tried to do a hard shut down but I still shows "no service", what do i do?

    Sounds like you have an iPad that you were using with Verizon, Sprint, or AT&T with. Visit your provider for support.

  • Trying to recover data from partition

    Hello, yesterday I ran into serious issues with the mac which had lead me to do a forced shut down, after which, the mac has only been able to boot through the recovery mode (cmd+control+p+r) that takes a while to complete. Leaving the mac to load by itself without holding the keys after the chime, would lead to the apple logo "loading" for hours on end with no sign of progress.
    Once the recovery mode has finished "setting up" there are several options. Naturally, I wanted to recover all the data on my interal HD before I do any wipes. In Disk Utility, the partition for my internal hardrive is grayed out and I have not been able to access it through the application. In terminal the drive is known as disk0s2, and have had no luck accessing it either.
    Here's the current issue..So after an hour of looking around, there are solutions on the web to use recovery software. One of them is testDisk. I placed files for that program on my external hardrive (through another mac pc) and I'm trying to access the files via terminal on my faulty macbook. In terminal, after cd'ing to the directory, and typing ./testdisk I get the message: Illegal Instruction set 4.
    Online sources have mentioned a flag -mmacosx-version-min=10.x
    but it has not done anything to change the problem. My macbook is running with an OS X version is 10.7.5. testDisk version is 7.0. I've been trying to run with administrator privilege using sudo command but it appears that the command is not available in recovery mode..
    So given that I'm running the mac on 'recovery mode' with limited choices, what is the best way to go about recovering partition data from my internal hardrive? Am I on the right path?

    ...the mac has only been able to boot through the recovery mode (cmd+control+p+r)
    This is NOT the recovery mode. This is resetting the PRAM.
    Boot into the Recovery Drive by holding down Command R when restarting.
    Run Repair Drive and Repair Permissions using Disk Utility in Recovery.
    Restart
    Hold down the Shift key as described below. This is a safe boot mode. This will do some extra clean up on your Mac.
    Safe boot
    *  shutdown
    *  start the Mac and *wait* for the startup chime to sound
    *  after the sound, press and hold down the shift key
    *  keep holding and *wait* until the grey  Apple logo appears
    *  now release the shift key and just wait (it could take a few minutes)
    *  eventually the login screen appears with the words SAFE BOOT
    *  continue to log into your account.
    Can you log in via safe boot mode?
    If yes, you might want to consider running the combo updater over your install to refresh your files.
    OS X Lion Update 10.7.5 (Client Combo) 1.91 GB
    http://support.apple.com/kb/DL1582
    MORE INFO ON WHY RUNNING COMBO FIXES ISSUES
    Apple updates available from the Software Update application are incremental updates. Delta updates are also incremental updates and are available from Apple Downloads (software updates are generally smaller than delta updates). The Combo updates contain all incremental updates and will update files that could have become corrupted.
    Combo updaters will install on the same version as they're applying--no need to roll back or do a clean install. So if you think you've got a borked 10.7.5 install from a regular update, just run the 10.7.5  Combo Updater on that system.
    "Delta" updaters can only take you from one version to the next. For example: 10.7.4 to 10.7.5 . If somehow the 10.7.5  is missing something it should have, and that something isn't changed between 10.7.4  and 10.7.5  it will still be stale after the delta update.

  • Trying to Recover Data from broken Hard Drive - Device Wont Show in Finder

    I just had the hard drive replaced in my intel iMac (the old one isn't working properly). The apple store folks told me they would not do any data recovery off the old drive, but suggested I might be able to get a SATA to USB adapter and plug the old drive in the computer.
    The first time I plugged the old hard drive it showed up in the finder and I began transferring the old file. 6 GB into it the transfer stopped and the the old hard drive disappeared from the finder. Now the drive wont appear in the finder HOWEVER when I unplug it I get the "Device Removal" error.
    A little about my broken drive:
    Its a Western Digital 320 GB. Its not making any clicking sounds or anything, which makes me think it might just be the circuit board which is replaceable. But I don't want to waste $50 on a new circuit board if thats not the problem.
    Any suggestions?

    Basics of File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • CS6 Crashing...trying to recover library from XFL

    I have this student who was working on his project that was an XFL, when Flash refused to open it this morning.  When I found his file, it appears the DOMDocument.xml, MobileSettings.xml, and PublishSettings.xml HAVE DISAPPEARED.
    I can see his library folder and the assets in there. Here is the million dollar question: HOW DO I RETRIEVE THE SYMBOLS FROM THE CORRUPTED XFL FILE?!
    I've tried converting the file to an RAR and repairing it, but that didn't do anything.
    HELP?
    Thanks!
    -Olden

    I have this student who was working on his project that was an XFL, when Flash refused to open it this morning.  When I found his file, it appears the DOMDocument.xml, MobileSettings.xml, and PublishSettings.xml HAVE DISAPPEARED.
    I can see his library folder and the assets in there. Here is the million dollar question: HOW DO I RETRIEVE THE SYMBOLS FROM THE CORRUPTED XFL FILE?!
    I've tried converting the file to an RAR and repairing it, but that didn't do anything.
    HELP?
    Thanks!
    -Olden

  • I'm trying to recover data from Time Machine but my Mac doesn't accept my Username

    Due to inattention, I'm having to do a re-install of data which I had hoped to do from my Time-Machine b/u. In order to access this info, I'm required to enter my User-name & Password. I've entered what I thought was that info but the box just shakes and I'm trying every user-name I can think of with no success. How can I successfully regain my info and get back to where I was? My system is OS 10.9.1 and up-to-date

    It sounds like those Cleaning program you initially used corrupted the current install of OS X. And to the point that no new install will work over the top of the corrupted install.
    If the screen you are getting looks like this.
    then your system is Auto starting from eithe rthe built in recovery HD partition or from the Online Internet system (I suspect the built in recovery HD partition). If you are also getting a globe on the screen then it is the online version.
    This only happens when the system can't boot to a real version of OS X which also means OS X and or the partition is was installed to is corrupted or missing.
    In any event before you try the clean reinstall or a Restore from your TM backup you should first Erase the Macintosh HD partition using Disk Utility (the botton option). Once when that is finished then try to do the restore from your TM backup and or a Clean fresh inbstall of OS X and then at first boot of the system using the Setup Assistant system to copy files, settings and Apps over from your TM backup drive.

  • Bummer. Trying to recover Metadata for deleted project

    I accidentally deleted a project in Aperture 2.1.1. I found my project in the trash and re-imported it. Great. But no metadata or adjustments were imported. Then I tried a restore using Time Machine for just the single project. Same result. Is there any way to get the metadata and adjustments back or do I have a long night ahead of me? Thanks.

    Nope, not yet...
    SVRMGR> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SVRMGR> startup open pfile = "/odb0/oracle_projects/devodb/initdevodb.ora";
    ORACLE instance started.
    Total System Global Area 604451812 bytes
    Fixed Size 103396 bytes
    Variable Size 111763456 bytes
    Database Buffers 491520000 bytes
    Redo Buffers 1064960 bytes
    Database mounted.
    ORA-01113: file 89 needs media recovery
    ORA-01110: data file 89: '/odb24/devodb/indexes/devodb_imp_idx_huge.dbf'
    SVRMGR> alter database datafile '/odb24/devodb/indexes/devodb_imp_idx_huge.dbf' offline;
    alter database datafile '/odb24/devodb/indexes/devodb_imp_idx_huge.dbf' offline
    ORA-01145: offline immediate disallowed unless media recovery enabled
    SVRMGR>

  • I am trying to extract metadata from essbase into a flat file using ODI.

    I have 2 questions in this regard :
    Some of the account members storage property is missing in the extract.the reason which i suspect is due to the parent child sorting that did not happen while extracting.How do i do this.I do not see this option when i select IKM hyperion Essbase Metadata to SQL....
    I have many account members that have more than one UDA's upto 5 UDA's.But in my extrcat only one UDA appears.How do i incorporate all the UDA's in a single column,sperated by a comma,the extract file as such is semicolon seperated,mainly because of this reason and some alias descriptions have comma's in the source system
    ODi is extracting metadata in a descending order.How do i change it to sort records in parent child order
    Thanks,
    Lingaraj
    Edited by: user649227 on 2009/06/10 6:50 AM

    Hi,
    There was an issue with early versions of the KM around the storage property, this has since been resolved. I recommend upgrading to the latest release of ODI or have a look through the patches.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Trying to recover music from my ipod

    I had my computer stolen, and luckily had most of my music on my new 60gb IPOD that I got for xmas. However, the new computer wants to reset and delete everything on my ipod. When I go to Itunes and select import, it finds nothingon my ipod to import. How do I get the music from my ipod and onto my laptop so I can make/manage playlists.

    I was told by Apple that you cannot sync ipod to a different computer. They also told me that it will erase the music on your ipod and resync it and add the music on the other computer. This is to prevent us from sharing music.

  • HT201263 i forgot my passcode to my ipod touch and i cant get on it i tried to recover it from itunes but it doesnt to anything when i plug it in it just says the ipod has a passcode and you have to enter it in before you can acsess itunes

    i dont know what else to try plz hellp

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen
    If recovery mode does not work try DFU mode.
      How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Trying to recover files from Vista back-up to Win8

    My Compaq Presario CQ50-210US hard drive crashed this past Friday.  I was able to create a back-up file before it completely died.  I ended up buying a new Toshiba laptop running Win8.  When I open the SD card with the back-up I'm seeing an EXE file, running it showed I was missing two DLL files.  Got those installed and the back-up is still not running. 
    Is there a way I can download and install the right HP recovery software onto this Win8 machine to at least open the EXE and see my files to transfer (move, copy/paste) over?  I'm not so worried about programs as I have most of them but my pics, files, settings, etc for a few different programs are very important to me.
    Thank you!
    Jaime

    The password would be either your iTunes ID password or your admin password for the Computer.
    MJ

Maybe you are looking for

  • Crystal Reports - Charts - Restricting the data points on the X-axis

    Hi, Is there a way to restrict the number of points to display on the x-axis of a crystal chart keeping the number of data points the same. For example, if the chart plots date vs value points and the data for the chart is from 1980 to 2009. This mea

  • Help Please - Pdf shows/ reads some white pages when opened by some  people

    I have made a pdf book of my artworks ( on a mac) and have a major problem. When I send it out, some people are able to read everything but others get a couple of white blank pages when they view the pdf online or download it or sometimes only either

  • How to change developer info here

    Anybody knows how to change this developer info here? I can't find any place in flash pro to change this, nor in itunes connect. Is it in the certificate, and how can I change it? Any help is appreciated!

  • ACE client authentication performance degredation

    Hi, If possible is anybody able to provide any advice & guidance WRT the below: According to; http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/vA4_1_0/command/reference/sslproxy.html "When you enable client authentication, a si

  • MPLS VPNs alongwith T1 and sub-rate SONET/SDH connections

    Hi, I know this question might seem out of place in this particular forum, I apologize for that. We currently offer MPLS VPN services on my Cisco 7600 platform with supported FE/GE modules. Coming to my question, can I offer DS0/T1 services without a