How to recover a PDB in noarchivelog mode?

Hi all,
Urgent! We have a PDB currently in mount stage after restoring and recovering from backup. Whenever I tried to open it or recover data file, I keep getting this error message:
Errors in file C:\ORACLE\diag\rdbms\us022348\us022348\trace\us022348_p000_8788.trc:
ORA-01113: file 9 needs media recovery
ORA-01110: data file 9: 'D:\ORADATA\12C\US022348\0FB7D663771D443E8DE2229B76E0DCA7\DATAFILE\O1_MF_USERS_B2TVTBL1_.DBF'
The CDB and PDB both are in noarchivelog modes.
Which command should I use to bring the database back?
Thanks!!

I tried these but no luck.
RMAN> alter pluggable database PDBNAME open;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 12/15/2014 14:10:49
ORA-01113: file 9 needs media recovery
ORA-01110: data file 9: 'D:\ORADATA\12C\US022348\0FB7D663771D443E8DE2229B76E0DCA7\DATAFILE\O1_MF_USERS_B2TVTBL1_.DBF'
RMAN> alter pluggable database PDBNAME open resetlogs;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 12/15/2014 14:11:05
ORA-39862: RESETLOGS option only valid after a Pluggable Database incomplete recovery

Similar Messages

  • Datafile recover in case of noarchivelog mode

    my database is in noarchivelog mode and there is no backup available and one of my datafile is currupted then how can i recover the datafile??
    thanx in advance

    saugat chatterjee wrote:
    my database is in noarchivelog mode and there is no backup available and one of my datafile is currupted then how can i recover the datafile??
    thanx in advanceWhat ever version. To recover datafile archiving should be enabled. Noarchive norecovery...

  • How to set the database in NOARCHIVELOG mode

    hellow world,
    I knewly joined this organization.
    Our database is very small < 4GB data.
    Database is running in ARCHIVELOG MODE.
    since we are not keeping any physical backup, so I opted to run the datbase in NOARCHIVELOG mode.
    For bringing the database in NOARCHIVE MODE, I simply changed the init.ora parameter LOG_ARCHIVE_START = FALSE and restart the database.
    offcourse the archiving stopped, but to my strange after 30 to 40 minutes my all log files filled an error message is being displayed to the server, saying
    log files are filled, waiting for the archiving, Oh my God, What has happened, All users came to my head, DATABASE HANGED, NOT RESPONSING.
    SIR, MY QUESTION IS
    WHAT FOR ALL LOG FILES WAITING?
    when i am saying NOARCHIEVE than
    please explain me, where i committed mistake. I am new to ADMINISTRATION.

    1. Not keeping any physical backup is all the more reason to stay in archivelog mode.
    2. You need to shutdown the database, startup mount, and issue 'alter database noarchivelog', the alter database open.

  • How to recover a datafile in recovery mode

    Hi,
    We have a datafile that's 0 bytes in size and is in recovery mode. I see that the datafile is showing as available in dba_data_files but in v$datafile, it's showing the status as recover. This is in Production and the tablespace has been in this mode since last november. We are not able to offline drop the datafile as it is in recovery mode. How can this be corrected without bringing the instance down? Any thoughts?
    Thanks.

    I would definitely contact Oracle support for something like this on my production database.
    Here are some ideas, but some will require some production downtime to complete.
    1) Export everything that is in the tablespace that contains the datafile. Drop the tablespace including contents, create the tablespace and import everything back in......Not a good solution but it is a solution...of course there are a lot of things to consider like triggers, foreign keys and similar. This should be tested a lot.
    2) Create logical standby with corrected structure and switch to logical standby for production when complete. This will take a lot of work and testing on a test system.
    3) Another possibility would be to move tables within this tablespace to a new tablespace and then drop the old tablespace. (Performance hit but safe and no down time).
    4) If indexes then drop and recreate new indexes (Performance hit but safe and no down time.)
    Once you get everything cleared out of the tablespace you should be able to drop it including contents and storage.
    Of course I would try any thing I do out on a test environment before doing anything to my production environment.
    Regards

  • How to recover iphoto library from recovery mode

    My macbook pro suddenly went on Utility Disk Mode and can only be accessed through recovery mode. I cannot even view the files. I'm willing to let everything go except for the photos and videos in the iphoto library. I don't know how to access my photos on icloud and when I did, it was just my iphone's photos that are there. is there any way I can view my photos in my locked macintosh hd in other devices or computer?

    Thanks for the response BDAqua, I did use Migration Assistant to transfer her data from the SuperDuper backup.  Are you suggesting that I use Migration Assistant to transfer data from the Time Machine backup?  Will that result in duplication?  Sorry, but I've no experience at all with Time Machine backups and don't know whether you can 'pick and choose' what to restore from the Time Machine using Migration Assistant.
    Cheers
    Tricia

  • How to recover CatOS bootup from rommon mode?

    I have a 6509 Sup2 not being able to bootup. It displayed the following error and went into rommon mode.
    Autoboot executing command: "boot bootflash:cat6000-sup2cvk8.8-3-7.bin"
    Error : compressed image checksum is incorrect 0x05ECF6AF
    Expected a checksum of 0x05ECF5AF
    *** System received a Software forced crash ***
    I want to break into the rommon mode and set the config register to bypass the config file to boot. Can someone let me know what the break sequence is for a 6509 Sup2 and what the config register I should set?
    Thanks a lot
    Gary

    Check out the following links:
    Recovering Catalyst Switches Running CatOS from Booting Failures
    http://www.cisco.com/en/US/products/hw/switches/ps663/products_tech_note09186a00800949c3.shtml
    Standard Break Key Sequence Combinations:
    http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtml#topic1
    Hope that helps.
    --Sundar

  • Recover database in NOarchivelog mode :)

    Hi all. How to recover a database wich is in noarchivelog mode? B-)
    Suppose,
    I have 3 redolog groups (with two members in each, the second members are located on another drive ). When first redo log group was 1/2 full I took a full backup. Then there were 2 switches from first to second and from second to third. Now the currnet redolog group - 3 (just started). At this point we faced media failer. How to roll forward changes using backup + online redologs?
    Edited by: Junior Oracle DBA on Oct 16, 2008 1:53 PM

    Restore your database cold backup (excluding redo logs).
    Then issue this command :
    RECOVER DATABASE USING BACKUP CONTROLFILE
    provide the names of the last ACTIVE / CURRENT Redo Logs in the database when Oracle prompts for an ArchiveLog.
    When Oracle has finished recovery to a consistent point in time, it will return to the command prompt without any error.
    Now issue this command :
    ALTER DATABASE OPEN RESETLOGS
    You would have a Complete Recovery.
    This is provided that Oracle had NOT cycled through all the Online Redo Logs since the time when the Cold Backup was taken. (If Oracle had cycled through all the Online Redo Logs, it would have overwrriten the oldest log because it wasn't in ArchiveLog mode).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • How to recover the data from a  dropped table in production/archive mode

    How to recover the data/change on a table that was dropped by accident.
    The database is on archive mode.

    Oracle Version. ? If 10g.
    Try this Way
    SQL> create table taj as select * from all_objects where rownum <= 100;
    Table created.
    SQL> drop table taj ;
    Table dropped.
    SQL> show recyclebin
    ORIGINAL NAME    RECYCLEBIN NAME                OBJECT TYPE  DROP TIME
    TAJ              BIN$b3MmS7kYS9ClMvKm0bu8Vw==$0 TABLE        2006-09-10:16:02:58
    SQL> flashback table taj to before drop;
    Flashback complete.
    SQL> show recyclebin;
    SQL> desc taj;
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(30)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                            DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    SQL>M.S.Taj

  • I have a WD Passport HD attached to my Mac. When it was last connected it went into sleep mode and ran out of battery. Now I cannot find my HD in Finder and Disk Utilities is telling me it cannot repair the HD. Any ideas on how to recover my data?

    I have a WD Passport HD attached to my Mac. When it was last connected it went into sleep mode and ran out of battery. Now I cannot find my HD in Finder and Disk Utilities is telling me it cannot repair the HD. I can see the HD but the volume part is greyed out. Any ideas on how to recover my data?

    There are other methodologies of scanning a HD
    which involve data extraction, but loss of metadata is often the result if the directory is corrupt.
    Metadata is the info on what the data IS. 
    Like having all your papers thrown in the air, its all there, but just a giant mess. 
    This is why you always always must have several external HD redundancies of your data.  One isnt enough, neither is two really.
    see here, and dont let that happen again>
    Methodology to protect your data. Backups vs. Archives. Long-term data protection
    Was that your only copy of your priceless data?  Just that one external HD?

  • Recover a deleted record in NOARCHIVELOG mode?

    Hello,
    I'm running 10gR2 in NOARCHIVELOG mode and we do not take backups (please, let's not get into a discussion about this!).
    I need to know if there is any possible way to recover a record once it has been deleted and a COMMIT has been issued? A user inserted two records in the database that they should not have, and I need to verify there is no possible way to recover those once they have been deleted.
    Thank you,
    Mimi

    Mimi Miami wrote:
    Ok so my UNDO_RETENTION parameter is set to 900...so 15 minutes after I delete the records they should not be querable using Flashback Query any longer, right?No,
    UNDO_RETENTION is low threshold value of undo retention. Meaning, Oracle will try to keep at least that time before overwritten.
    However, it's not gurranteed if not enough undo tablespace available, meaning it can be overwritten before the value is up if not enough undo tablespace to serve new transaction.
    On the other-hand, it will not remove the undo record until it's overwritten, meaning the record could stay there for considerable amount of time if your database is not busy and undo tablespace is big.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams222.htm#REFRN10225
    Not sure what's the intention to make your delete irreversible,
    you could actually create table newtable as select .. from old_table where <except the two records>.
    Drop the old table and rename new table.
    purge the recycle bin of your database

  • Recover datafile in noarchivelog mode

    hi all
    i faced problem when opening the database that there are datafile needed recovery
    i'm working in noarchivelog mode
    i tried to take this datafile offline but this failed
    what are the exactly procedures to recover this file ?

    i tried to take this datafile offline but this failed Please check your alert log file. Since you are working with noarchivelog mode. You must be having a backup. Do you ?
    what are the exactly procedures to recover this file ?You have not provided enough information but here are hints;
    - What kind of backups you have? Rman or user managed backups?
    Also read;
    http://www.oracle.com/technology/documentation/index.html
    Ex Senior DBA
    Lazy: Those who do not read documentation

  • I have tried to update IOS 5.1 in my Iphone 4 and unfortunately I got an error message and phone is stucked at restore point. It is not coming back to normal mode and is not able to detect my phone in iTunes. Please help me how to recover my Iphone IOS

    I have tried to update IOS 5.1 in my Iphone 4 and unfortunately I got an error message and phone is stucked at restore point. It is not coming back to normal mode and is not able to detect my phone in iTunes. Please help me how to recover my Iphone IOS, unfortunately I don't have my iphone backup too.

    we have a same problem

  • 3 Files are in recovery modes & we are not having any backup, how to recove

    3 Files are in recovery modes & we are not having any backup, how to recover.
    select from v$recover_file;
    FILE# ONLINE ONLINE_ ERROR CHANGE# TIME
    137 ONLINE ONLINE 1.7142E+10 05-MAR-11
    138 ONLINE ONLINE 1.7142E+10 05-MAR-11
    139 ONLINE ONLINE 1.7142E+10 05-MAR-11
    These 3 files are part of tablespace, whcih is having total 26 files
    SQL> select FILE#,TS#,name from v$datafile where TS#=12;
    FILE# TS# NAME
    137 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_00.dbf
    138 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_01.dbf
    139 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_02.dbf
    140 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_03.dbf
    141 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_04.dbf
    142 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_05.dbf
    177 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_06.dbf
    178 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_07.dbf
    179 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_08.dbf
    180 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_09.dbf
    181 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_10.dbf
    182 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_11.dbf
    183 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_12.dbf
    184 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_13.dbf
    185 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_14.dbf
    186 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_15.dbf
    187 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_16.dbf
    188 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_17.dbf
    189 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_18.dbf
    190 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_19.dbf
    192 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_20.dbf
    195 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_21.dbf
    196 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_22.dbf
    200 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_23.dbf
    257 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_24.dbf
    258 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_25.dbf
    260 12 /dbo/data/IBPROD/IBPROD_TDB_IDX_26.dbf
    Pls treat it urgent.

    Pls treat it urgent. If it's urgent , open a priority 1 service request on My Oracle Support/metalink.
    If it's not so urgent, set the datafiles to OFFLINE, so you can open the database.
    Without backup you only can recover if you have ALL archivelogs since creation of the files. Normally that's rarely the case.
    Werner

  • How to backup only one tablespace in cold backup noarchivelog mode

    Hi,
    How to backup only one tablespace in cold backup noarchivelog mode
    Reagrds,
    Rushang

    We have to restore all 50 GB database if we fail in scripts meanwhile to start again the data load.
    Out scripts populater only two tablespaces.
    That's why if i take backup of those tabblespace then i have to restore only those tablespace not whole database.
    Regards,
    Rushang

  • How to change the ARCHIVELOG / NOARCHIVELOG mode in Oracle 10g

    Hi
    how How to change the ARCHIVELOG / NOARCHIVELOG mode in Oracle10g in SQLPLUS ?
    Many thanks.

    Steps :
    0 - change SPFILE
    ALTER SYSTEM SET log_archive_dest = '/oracle9i/archive/tmpr' SCOPE =SPFILE;
    ALTER SYSTEM SET log_archive_start = TRUE SCOPE =SPFILE;
    ALTER SYSTEM SET log_archive_format = 'tmpr_%s.arc' SCOPE =SPFILE;
    1 - shutdown immediate
    2 - startup mount
    3 - alter database archivelog;
    4 - alter database open
    Note : to verify if is ok type :
    SQL> archive log list;

Maybe you are looking for