Test system update fails on ORA-01113: file 1 needs media recovery

I use Oracle 9.2.0.6 on HP - UX (B.11.11)

I'm refreshing to a test of production on the same server system.

The update fails on...

ALTER DATABASE OPEN RESETLOGS;
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: ' / elltest/system/system_01.dbf'


I do mainly:
-Place prod tablespaces in backup mode
-Copy the files from production to test directories
-Take prod tablespaces out of backup mode
-pass the prod (once for each newspaper group) log files
-copy files from archive prod to test

STARTUP NOMOUNT

Create control file from a copy of the prod trace file
(CREATE CONTROLFILE REUSE SET DATABASE 'ELLTEST' RESETLOGS ARCHIVELOG)
It works

RECOVER DATABASE USING BACKUP CONTROLFILE
-J' I grab the last log archive copied during production.

ALTER DATABASE OPEN RESETLOGS;
ERROR on line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: ' / elltest/system/system_01.dbf'

I think I have I have all required log archiving prod?

Any advice?

What you're trying to do is an incomplete recovery of the database. Since the redo logs are not used in your recovery you must explicitly specify the time to stop. If you do not process assumes a complete recovery and will require a request for reinstatement of online recovery log data that you do not.
You can use UNDO based recovery with
RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROL FILE;
then type CANCEL after the last active log has been applied.
Open with option RESETLOG database. It should work.

Tags: Database

Similar Questions

  • ORA-01033 and ORA-01113: file 1 should support recovery errors

    I ORA-01033 and ORA-01113: file 1 needs media recovery errors, I tried using the Recovery Manager to without result I got after a long wait of cataloging files... is ORA-19870: ERROR READING BACKUP PIECE, ORA-19501: READ ERROR ON LINE, ORA-27070: ASYNC READ/WRITE failed, OSD-04016: ERROR QUEUING ASYNCHRONOUS IO YEAR ASKS... then... switch to the previous backup... then RMAN-00571. 00569; 03002; 06026; 9 06023: I've exhausted all the advice that I know... PLS HELP

    Start rman and connect to the database

    rman target /
    

    Once connected, run

    list backup;
    

    If you don't find listed backup, you can use the catalog command to manually add information rman backup in the rman repository
    http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/rcmsynta008.htm

  • ORA-01194: file 1 needs a recovery more match

    Hello

    I tested on Linux Redhat 5.4 RMAN / Oracle 11.2.0.2 and had the following problems:

    My configuration:

    >
    RMAN > show all.

    Database with db_unique_name TESTDB RMAN configuration parameters are:
    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
    CONFIGURE BACKUP OPTIMIZATION
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/%F';
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/snapcf_TESTDB.f';

    >

    My 2 backups:

    >

    RMAN > list backup;


    List of backup sets
    ===================


    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    * Incr 43 0 M DISK 00:14:17 971,77 2 March 11 *.
    BP key: 44 status: AVAILABLE Tablet: NO Tag: TAG20110302T062419
    Part name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/01m66ikk_1_1
    List of defined backup data files 43
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- --------- ----
    * 1 0 incr 1001503 /CDATA/TESTDB/system01.dbf* March 2, 11
    * 2 0 1001503 /CDATA/TESTDB/sysaux01.dbf* incr 2 March 11
    * 3 0 incr 1001503 /CDATA/TESTDB/undotbs01.dbf* March 2, 11
    * 4 0 incr 1001503 /CDATA/TESTDB/users01.dbf* March 2, 11

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    * 53 full 9.36 M DISK 00:00:11 March 2, 11 *.
    BP key: 58 situation: AVAILABLE Tablet: NO Tag: TAG20110302T063849
    Part name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528028017-20110302-00
    SPFILE included: Modification Date: March 2, 11
    SPFILE db_unique_name: TESTDB
    Control file included: cash SNA: 1002272 cash time: March 2, 11

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    Incr 78 0 M DISK 00:13:38 970,24 March 2, 11
    BP key: 81 situation: AVAILABLE Tablet: NO Tag: TAG20110302T064449
    Part name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/03m66jr1_1_1
    List of defined backup data files 78
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- --------- ----
    1 0 incr 1002771 /CDATA/TESTDB/system01.dbf March 2, 11
    2 0 1002771 /CDATA/TESTDB/sysaux01.dbf incr 2 March 11
    3 0 incr 1002771 /CDATA/TESTDB/undotbs01.dbf March 2, 11
    4 0 incr 1002771 /CDATA/TESTDB/users01.dbf March 2, 11

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    93 full 9.36 M DISK 00:00:10 March 2, 11
    BP key: 98 situation: AVAILABLE Tablet: NO Tag: TAG20110302T065836
    Part name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528028017-20110302-01
    SPFILE included: Modification Date: March 2, 11
    SPFILE db_unique_name: TESTDB
    Control file included: cash SNA: 1003421 cash time: March 2, 11

    RMAN >

    >

    I want to rebuild the database from the first backup and I always get the error:

    >
    RMAN > RUN
    2 > {}
    3 > # STARTUP NOMOUNT;
    4 > # RESTORE SPFILE to ' / u01/app/oracle/product/11.2.0.2/db_1/dbs/spfileTESTDB.ora' tag "TAG20110302T063849".
    5 > # SHUTDOWN IMMEDIATE;
    6 > # STARTUP NOMOUNT;
    7 > # RESTORE CONTROLFILE tag "TAG20110302T063849".
    8 > # STARTUP MOUNT;
    * 9 > SET up to this THAT SNA 1002272. *
    10 > RESTORE database;
    11 > RECOVER DATABASE;
    12 > ALTER DATABASE OPEN RESETLOGS;
    {13 >}
    executing command: SET until clause

    From restoration to March 2, 11
    using channel ORA_DISK_1

    channel ORA_DISK_1: from the restore backup set data file
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    channel ORA_DISK_1: restore datafile 00001 to /CDATA/TESTDB/system01.dbf
    channel ORA_DISK_1: restore datafile 00002 to /CDATA/TESTDB/sysaux01.dbf
    channel ORA_DISK_1: restore datafile 00003 to /CDATA/TESTDB/undotbs01.dbf
    channel ORA_DISK_1: restore datafile 00004 in /CDATA/TESTDB/users01.dbf
    channel ORA_DISK_1: backup /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/01m66ikk_1_1 piece reading
    channel ORA_DISK_1: room handle=/opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/01m66ikk_1_1 tag = TAG20110302T062419
    channel ORA_DISK_1: restored the backup part 1
    channel ORA_DISK_1: restore complete, duration: 00:20:06
    Finished restore at March 2, 11

    From back to March 2, 11
    using channel ORA_DISK_1

    starting media recovery

    Cannot find the archived log
    Archives journal thread = 1 = 3 sequence
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 02/03/2011 08:06:37
    RMAN-06054: unknown request media recovery log archived for thread 1 with sequence 3 and from the 1001503 SNA

    RMAN > * end-of-file *.

    RMAN > ALTER DATABASE OPEN RESETLOGS;

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 02/03/2011 08:14:59
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: ' / CDATA/TESTDB/system01.dbf'

    >

    I don't know since 2 days where it's a mistake? Help, please.

    Help, please!


    hqt200475
    concerning

    Hello

    Please also visit:

    DATAFILE NEEDS MORE RECOVERY TO BE CONSISTENT [ID 417710.1]

    Respect of
    HELIOS

  • ORA-01195: online backup of file 1 needs a recovery more match

    Hello

    When starting a clone database, I got an error

    SQL > alter database open resetlogs;
    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01195: online backup of file 1 needs a recovery more match
    ORA-01110: data file 1: ' / test/oracle/oradata/test/system.dbf'


    What should I do to open database

    Thanks in advance

    Hello

    Make sure that all data files are present.

    This is a SQL and PL/SQL Forum. Please post in the Forum below for the best answers.

    {forum: id = 61}

    Thank you
    Shankar

  • HP G62: DST short test system Diagnostics failed HP G62

    Hello.

    Windows 7 x 64 SP1

    I managed the system diagnosis HP test that you can access during startup by pressing ESC. The computer passes the test of memory and disk hard test but failed the test at startup and testing of tune-up with the same error:

    DST short failed

    Failure ID: 9LNF9R-50881W-XD014J-60QG03
    Product ID: XF522EA #AB9

    What does that mean?

    Thank you for your time and your help.

    Hello

    It really sounds like the HARD drive starts to fail, then it would probably be better to replace it before installing Windows 10.

    The only other option that might be interesting to try would be to zero the drive then reinstall the original OS and see if you still get the uefi diagnostic errors.

    You have your media recovery (disks or USB key) to be able to reinstall Windows 7?

    Kind regards

    DP - K

  • System update fails

    Tried to run the system update but still get this message (from today, but tested several times):

    An error was detected in the catalog of package for your system on the server to update the system. Please contact the Support Center.

    I have the latest version installed and the latest updates and drivers (AFAIK). My computer is a X201i win7 x 64. Any ideas? (And if not, how can I contact the "support center"?)

    Thank you!

    It looks like all I had to do was uninstall, reinstall and restart. Not sure why I suddenly had this error, however. Quite boring.

  • Vista SP2 fails to load with code K8948465 8007000D. Tool system update fails to load, too

    Have recently upgraded to Vista 32-bit SP1. As an administrator, I tried to get Windows updates and everything seemed up-to-date except SP2.  Where is the code of K8948465 8007000D. I then followed the troubleshooting advice found here and research online, saying to download and run the system update tool. I saved my PC OK but he is unable to complete the installation sequence and it's there in "installation" of State. I temporarily disabled McAfee. No help.

    Free unlimited installation and compatibility support is available for Windows Vista, but only for Service Pack 2 (SP2). This support for Windows Vista Service Pack 2 (SP2) is valid until November 26, 2009. Availability of support chat or messaging differs depending on your location. Go to http://support.microsoft.com/oas/default.aspx?prid=13014&gprid=582034 & select appropriate category (i.e., download problem;) Installation problem; Problems after installing a service pack). ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • ThinkVantage System Update fails to install updates

    Hello everyone

    I use the update system (SU) in Windows 7 x 64. I tried to update the drivers with it, but after downloading all packages without problem (with SU) and try to install, I get the message that no updates have been installed (SU displays a list with all selected packages, result of the installation as having failed and a link to install manually).

    I also tried to manually download and intall them separately, same company: installation does not seem to encount problems, but also drivers seems not to be installed, as the list of available updates in the SU is the same. Have someone had this problem? Someone at - it an idea to solve this problem?

    Thanks in advance


  • XP Home to XP Pro update fails due to the 'file not found nvrd32.sys.

    I bought an installation CD of Windows XP Pro service pack 3 from a retailer of party 3rd update of XP Home and at halfway through the installation, I get an error message: file nvrd32.sys is not found. The seller sent me a replacement and the same error occurred. What is happening with this?

    Installation CD pro XP with SP3 included or xp pro SP3 update only.

    Whatever it is, according to microsoft, we can't ' upgrade xp home, to.

    XP pro", a new installation is required. In addition, xp pro SP3 would have updated

    This xp home is not compatible with the operating system...

  • my hard drive is nearly full room for 10 years, window security and system updates, do I keep these files?

    I have a 10 years, Dell Dimension 4100 purchased with windows ME, set level to windows XP.  On the updates of windows years for safety and the operating system has consumed almost my hard disk space.  I have to keep these files?  The last s DOWNLOAD integrates all the previous updates?

    You mean the $NTUninstall files?  These are usually safe to delete, read here first:

    http://WindowsXP.MVPs.org/Hotfix_backup.htm

    MVP Doug Knox has to a tool to help in the removal of these items, see here: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm

    John

  • Update fails with ORA-00904 invalid identifier

    Hi all
    I have problems of construction of an ' update '. Execute the following select statement,
    SELECT 
     XREF.REGN_ID,
           XREF.COUNTY_NM,
           OWNER.CASE_OWNER_ID,
           OWNER.FORMER_AREA,
           OWNER.AREA,
           OWNER.COUNTY_NUMBER,
           OWNER.OFFICE
      FROM PS2_CASE_OWNER_SEYED OWNER,
           DWFSSD.TAFS_REGN_AREA_XREF_MART XREF
              WHERE    (OWNER.AREA = XREF.AREA_ID(+))
                 AND (OWNER.OFFICE = XREF.OFFICE_CD(+) )
                 AND (OWNER.COUNTY_NUMBER = XREF.COUNTY_NUM(+))
    Returns
    REGN_ID   COUNTY_NM                        CASE_OWNER_ID   FORMER_AREA   AREA   COUNTY_NUMBER   OFFICE   
    "1"       "Alfalfa"                        "5008756"       "1"           "1"    "02"            "C"      
    "1"       "Alfalfa"                        "5008954"       "1"           "1"    "02"            "C"      
    "1"       "Beckham"                        "5008803"       "1"           "1"    "05"            "C"      
    "1"       "Beckham"                        "5008222"       "1"           "1"    "05"            "C"      
    "1"       "Beckham"                        "5008223"       "1"           "1"    "05"            "C"      
    "1"       "Beckham"                        "5008424"       "1"           "1"    "05"            "C"      
    "1"       "Beckham"                        "5008442"       "1"           "1"    "05"            "C"      
    "1"       "Beckham"                        "5008780"       "1"           "1"    "05"            "C"      
    "1"       "Beckham"                        "5008787"       "1"           "1"    "05"            "C"      
    "1"       "Beckham"                        "5008788"       "1"           "1"    "05"            "C" 
    I am trying to execute the following statement, "Update", update the PS2_CASE_OWNER_SEYED table.
    UPDATE (
      SELECT OWNER.AREA, XREF.REGN_ID, XREF.COUNTY_NM
      FROM PS2_CASE_OWNER_SEYED OWNER, DWFSSD.TAFS_REGN_AREA_XREF_MART XREF
       WHERE    (OWNER.AREA = XREF.AREA_ID(+))
         AND (OWNER.OFFICE = XREF.OFFICE_CD(+) )
         AND (OWNER.COUNTY_NUMBER = XREF.COUNTY_NUM(+))
    )
    SET OWNER.FORMER_AREA = OWNER.AREA,
        OWNER.AREA = XREF.REGN_ID,
        OWNER.COUNTY_NAME = XREF.COUNTY_NM;
    The "Update" statement returns the following error:
    ORA-00904: "XREF"."COUNTY_NM": invalid identifier
    Any ideas what's wrong with the update statement?

    Thank you

    Seyed

    Hi, Seyed,

    Here's a way to do this UPDATE:

    UPDATE     emp
    SET     sal     = sal * 1.05
    ,     comm     = NVL (comm, 0) + 500
    WHERE     deptno     IN (
                   SELECT     deptno
                   FROM     dept
                   WHERE     loc     = 'DALLAS'
                 )
    ;
    

    If you want to use an inline view, you can do this:

    UPDATE     (
              SELECT     e.sal
              ,     e.comm
              FROM     emp     e
              JOIN     dept     d  ON     d.deptno  = e.deptno
              WHERE     d.loc     = 'DALLAS'
         )
    SET     sal     = sal * 1.05
    ,     comm     = NVL (comm, 0) + 500
    ;
    

    Whatever it is, the emp table is left as you wish:

    EMPNO ENAME  JOB         MGR HIREDATE          SAL  COMM DEPTNO
    ----- ------ --------- ----- ---------- ---------- ----- ------
     7782 CLARK  MANAGER    7839 06/09/1981       2450           10
     7839 KING   PRESIDENT       11/17/1981       5000           10
     7934 MILLER CLERK      7782 01/23/1982       1300           10
     7876 ADAMS  CLERK      7788 05/23/1987       1155   500     20
     7902 FORD   ANALYST    7566 12/03/1981       3150   500     20
     7566 JONES  MANAGER    7839 04/02/1981    3123.75   500     20
     7788 SCOTT  ANALYST    7566 04/19/1987       3150   500     20
     7369 SMITH  CLERK      7902 12/17/1980        840   500     20
     7499 ALLEN  SALESMAN   7698 02/20/1981       1600   300     30
     7698 BLAKE  MANAGER    7839 05/01/1981       2850           30
     7900 JAMES  CLERK      7698 12/03/1981        950           30
     7654 MARTIN SALESMAN   7698 09/28/1981       1250  1400     30
     7844 TURNER SALESMAN   7698 09/08/1981       1500     0     30
     7521 WARD   SALESMAN   7698 02/22/1981       1250   500     30
    
  • System update fails to download updates

    SU returns an error saying "an error occurred when downloading the packages.". I reinstalled SU, Solution Center etc. nothing works. He used to work, but now it does not always... What to search, or to change to get it back?

    Thanks in advance.

    SU 5.03.008 on Windows 8.1 version 64 bit


  • Open database failed - ORA-1194 DATAFILE has NEEDS MORE RECOVERY to BE CONSISTENT ORA-1547 ORA-1110 (Doc ID 1528788.1)

    I had a similar problem, but it happened in an accident of my Dataguard Active Server. My eve of opening in READ only, he gave me the question that one of the necessary, recovery data file.

    He went to the infinite SNA even if we apply so much recovery.

    What to do when the controlfile type is STNADBY?

    Can we have Oracle Note update for this?

    The data file has been corrupted? What exactly happened that has the database to go out of sync?

    You can do:

    1 cancel the recovery on the day before.

    2. make a special backup of the data file of the primary.

    3. restore the data file of the backup that precedes the day before.

    4 start the recovery on the day before.

    -Jonathan Rolland

  • Failed to add any file to the media player library

    Media Player

    everything worked so I have changed a setting. Now it won't add any file to the library, and it won't let me see, in the Middle window, what's in my playlists. I clicked on the playlist, but it will not preview the songs. somehow, I change the settings on the playlists and they came.

    Hi elmerhesse,

    Follow the steps in the following article in the Microsoft Knowledge base to resolve the problem:

    You cannot view, add, or delete items in the library of Windows Media Player 11

  • "" Cannot convert the DVD content to. WMV error file Format "need media encode.

    Original title: encode media need

    I have windows 7, I am trying to copy DVDs to WMV format. I get instructions to install media encoder. My computer will play wmv already if do not know why I get this message. Thank you.

    The f

    Hi Jeffst,

    1 are directly convert DVD files?
    2. are you trying to copy the content of the DVD first and try to convert the files?

    You can use a conversion tool to convert your files to another. WMV format. The link below is a program free Converter Windows Media Encoder 9. There are other programs of type converter out there, so if the Encoder 9 is not exactly what you are looking for, you have that option.

    http://www.Microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx

    Reference:

    How to index a file video .wmv with Windows Media Encoder
    http://www.Microsoft.com/windows/windowsmedia/KnowledgeCenter/mediaadvice/0065.mspx#EAF

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for