A problem about incomplete recovery

All,
I'm a freshman for oracle knowledge and skill. I'm simulating the incomplete recovery for database. Here are my scenarios and steps:
1. In database "db1", there is a table named "tb1" has 2 records, the whole database running on archive log mode and has 3 redo log groups(each group contains one member) ---- status "A"
2. Make a cold backup for all datafiles, controlfiles and redo logs;
3. startup database again, and insert 3 records into "tb1", then switch log file at least 3 times. Get the frist change number form latest archived log. ---- status "B"
4. after the 3rd step over, drop a tablespace named "indx" and do a switching log file operation again.
5. shutdow database immediate and restore all the backuped datafile and controlfiles, not including the redo logs and startup database with mount option.
6. run recover command to execute the incomplete recovery to database.
whatever using "recover until time '<almost close the drop operating time>" or "recover until change number", I only got the status "A" after open the database, not status "B". But as my understanding and some reference from books, it should return to status "B" which includes the newer 3 records.
Now, I adhere some alert logs at below (the number 54878 is the latest change number in archived log files before dropping that tablespace)
alter database recover until change 54878
Tue Jul 03 17:30:34 2007
Media Recovery Start
Media Recovery Not Required
Completed: alter database recover until change 54878
Tue Jul 03 17:31:35 2007
alter database open resetlogs
Tue Jul 03 17:31:35 2007
RESETLOGS after complete recovery through change 54742
why the recovery use change number 54742 but not 54878 I expected. Did I go the correct steps for this incomplete recovery. Does anyone can give me some piece of advice to resolve this problem

Are you using 'recover using backup controlfile'...???????????
If not, it will take the restored controlfiles as the latest copy and will only recover up to the SCN in there.
Using the above, Oracle will simply ignore the SCN in the controlfile, since it knows its an old controlfile and should recover beyond the restored controfile..

Similar Messages

  • Problem about vista recovery

    i formatted my laptop then partioned it to keep two os
    now i want back my vista
    but it says that the system recovery function has ben removed from the system
    tell me what to do now
    Note from Moderator: Fixed over-sized and bold font.  Please check your default settings for the forum.
    Message Edited by nonny on 02-09-2008 09:39 AM

    Welcome to the forum!
    Did you make a set of recovery disks before you changed the partitions?
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Jane
    2015 X1 Carbon, ThinkPad Slate, T410s, X301, X200 Tablet, T60p, HP TouchPad, iPad Air 2, iPhone 5S, IdeaTab A2107A, Yoga Tablet, Yoga 3 Pro
    I am not a Lenovo Employee.
    I AM one of those crazy ThinkPad zealots!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!

  • Problem with RMAN incomplete recovery

    Oracle Version: 9i
    Operating System: Windows 2000
    I have a problem with RMAN incomplete recovery until sequence.
    According to my database structure ............
    SQL> SELECT GROUP#,SEQUENCE#,THREAD# FROM V$LOG;
    GROUP# SEQUENCE# THREAD#
    1 14 1
    2 13 1
    3 12 1
    I took the backup of backup of full database using RMAN and i am trying to recover like this:
    RUN
    ALLOCATE CHANNEL C1 TYPE DISK;
    SET UNTIL SEQUENCE 7 THREAD 1;
    RESTORE DATABASE;
    RECOVER DATABASE;
    ALTER DATABASE OPEN RESETLOGS;
    BUT i am getting a message saying there is no backup of DATAFILE 1,2,......10 to restore although my database is in archivelog mode and i took a backup.
    Yachendra

    Please consult v$backup_datafile.
    It will tell you when the file was backed up.
    RMAN will always search for a datafile backup prior to the logsequence or whatever is limiting the incomplete recovery.
    Likely when you made your backup Oracle was already past sequence 7.
    Sybrand Bakker
    Senior Oracle DBA

  • Having problem to do "Recovery HD" on Mac Pro?

    Hi,
    I had Lion 10.7.3 installed on my Mac Pro with four internal harddisks connected to an Apple RAID card. I was trying to re-install Lion by using Lion's "Recovery HD" feature.  So I shutdown my Mac Pro and reboot by pressing "Command+R" keys to start up the "Recovery HD".  I then selected "Reinstall Mac OS X" from the first startup screen.  After confirming the License agreement, I was presented with "Selecting the disk" for installing OS X Lion.  This is where I had the problem.
    My Mac Pro has four internal harddisks connected to an Apple RAID card.  The first disk (1TB) was dedicated as boot disk with OS 10.7.3 installed along with the Recovery HD partition.  The other three disks (2TBx3) were setup as one Volume RAID for data only.
    And for the Lion re-install on the Select disk screen, it only showed two choices:
         1)  Recovery HD (which is grayed and cannot be selected),
         2)  DATA-01 (which is the 3 disks RAID for data only).
    There was no boot disk to select from.  I don't know what happened why the boot disk was not there.  So I returned to the first screen and use Disk Utility to examine all the disks in my Mac Pro.  It showed both the boot disk and the DATA-01 (RAID volume) were there.  But as soon as I went back to re-install Lion, it only allowed me to select my RAID volume.  The boot disk with the original Lion installed was just not there.
    Any help what might have happened?  Thanks.

    I don't do RAID stuff, so all I can do is point you to Recovery and About Lion Recovery. Also, see the Related Articles links in the second doc. Maybe there;s something there that'll help. Otherwise, contact Apple's Express Lane.

  • An error occurred during the process of recovery(incomplete recovery)

    Hi,
    I have a HP envy m6 1154ez. When I tried to restore to factory default I have an error incomplete recovery
    Can someone tell me how to fix this or what needs to be done to get my Windows working again, any help would be greatly appreciated.
    Report an error,
    Component: Windows 8 Preinstall Diagnostic Tools - TDC
    Timing: FactoryUpdate
    Regional SKU: No
    RCTO Image: No
    Error: Mismatched option code (LOC#ACB) for dash code (-BGx)
    Error: Option code LOC#ACB should use dash code -25x
    Next Step: Please dash image SKU number with xxxxxx-25x
    Next Step: Or change LOC# in SKU Number or CTO Localization Code via EEPROM
    [ 0:17:59.87] ------------------------------------------------------------------------------------------
    ***CTO Error condition has been dtected in [Factory Update] phase !! ***
    [ 0:17:59.87] Suggest to create PIN-log and send to TWN PDC NB-PreinPM for further analysis ...
    [ 0:17:59.87] ------------------------------------------------------------------------------------------
    [ 0:16:27.91] Start BBOffline.cmd...
    UPDrv=[C:]
    [ 0:16:27.92] Set UIA Error Code to 951
    [ 0:16:28.12] Delete [FBI] folder.
    [ 0:16:28.14] WinPE is 64bit.
    [ 0:16:37.29] Starts [FixUps].
    [ 0:16:37.34] ---------------------------------------------------------------------
    [ 0:16:37.34] FixUps.cmd...
    [ 0:16:40.59] FixUps.cmd completed...
    [ 0:16:40.59] ---------------------------------------------------------------------
    [ 0:16:40.59] Starts [Tweaks for SSRD].
    [ 0:16:40.63] ---------------------------------------------------------------------
    [ 0:16:40.63] SSRD Tweaks to change user default locale...
    [ 0:16:40.63] Copy C:\System.sav\Util\TDC\MCPP\FBIRES\FBIGRRES.DLL.
    [ 0:16:40.84] Run "Dism.exe /image:C:\ /Set-SKUIntlDefaults:de-DE ".
    [ 0:16:52.90] ---------------------------------------------------------------------
    [ 0:16:52.92] Launch PININST.exe for Offline ...
    [ 0:16:56.54] Starts [Sleep 10 sec].
    [ 0:17:06.58] Starts [Create RStoneFUpdate.INI].
    [ 0:17:07.18] Starts [create 1GB Pagefile for offline].
    Volume in drive C has no label.
    Volume Serial Number is 8025-9CBE
    Directory of C:\System.sav\bbv
    04/04/2015 12:17 AM 1,073,741,824 pagefile.sys
    1 File(s) 1,073,741,824 bytes
    0 Dir(s) 90,616,721,408 bytes free
    [ 0:17:07.28] Brand detection.
    [ 0:17:07.33] Customize error handling for Specialize ~ BBV1.
    0 file(s) copied.
    [ 0:17:07.34] ---------------------------------------------------------------------
    [ 0:17:17.11] Check Win 8 configuration...
    [ 0:17:18.11] Check system ID...
    [ 0:17:19.12] Check OS SKU...
    [ 0:17:20.12] Check option code...
    [ 0:17:21.12] Check brand name...
    SKU_DEF_COUNTRY=[203]
    SKU_DEF_SYS_LOC=[ru-RU]
    Reset country in administrator...
    Reset country in Default user...
    Reset System locale
    Deployment Image Servicing and Management tool
    Version: 6.2.9200.16384
    Image Version: 6.2.9200.16384
    Reporting offline international settings.
    Default system UI language : de-DE
    System locale : ru-RU
    Default time zone : W. Europe Standard Time
    User locale for default user : de-DE
    Location : Russia (GEOID = 203)
    Active keyboard(s) : 0407:00000407
    Keyboard layered driver : PC/AT Enhanced Keyboard (101/102-Key)
    Installed language(s): de-DE
    Type : Fully localized language.
    Installed language(s): en-GB
    Type : Partially localized language, MUI type.
    Fallback Languages en-US
    Installed language(s): fr-FR
    Type : Fully localized language.
    Installed language(s): it-IT
    Type : Fully localized language.
    The operation completed successfully.
    Updated System Locale info...
    [ 0:17:34.16] Start PIN Tweaks...
    [ 0:17:35.20] ---------------------------------------------------------------------
    [ 0:17:35.20] PIN Tweaks to hide All for BurnBoot BBV and BBV2 on restored image...
    [ 0:17:35.20] ----------------------------------------
    [ 0:17:35.20] Tweaks for OOBE's Unattend.xml
    [ 0:17:35.20] to pick up the proper file...
    [ 0:17:35.20] ----------------------------------------
    [ 0:17:35.20] rename unattend.org to unattend.or_
    [ 0:17:35.24] ----------------------------------------
    [ 0:17:35.24] without Light Sensor..
    [ 0:17:35.24] ----------------------------------------
    [ 0:17:35.24] update unattend.reg for Minimized Image Recovery...
    [ 0:17:35.27] This is Restored image [RImage.flg]...
    [ 0:17:35.27] ---------------------------------------------------------------------
    [ 0:17:36.15] Start MIR Tweaks...
    [ 0:17:37.22] ---------------------------------------------------------------------
    [ 0:17:37.22] [MIR Tweaks] ...
    [ 0:17:37.22] ----------------------------------------
    [ 0:17:37.22] apply Device Path registry for MIR image
    [ 0:17:37.22] ----------------------------------------
    [ 0:17:38.21] ---------------------------------------------------------------------
    [ 0:17:43.18] Start Factory Update(s)...
    [ 0:17:55.19] Start QFE Offline installation...
    [ 0:17:59.78] PININST_OFF: PASSED...
    [ 0:17:59.80] Type C:\System.sav\Logs\BBFindEr.log...
    [ 0:17:59.80] Type C:\System.sav\Logs\BBFindE0.log...
    ---------- C:\SYSTEM.SAV\LOGS\PININST_OFF.LOG
    Result=PASSED
    [ 0:17:59.81] There was no QFE installation...
    [ 0:17:59.81] Check FUList.log if there is duplicate Desc...
    No duplication.
    [ 0:17:59.86] No Duplicated Desc is found... PASSED.
    [ 0:17:59.86] There was no Factory Update...

    Hi @artem98765,
    Welcome to the HP Forums!
    It is a terrific place to find answers and suggestions.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp that when you tried to do a recovery back to factory you received the error incomplete recovery.
    As you did not state if how you were doing the recovery I will include documentation for the process along with a troubleshooting document.
    HP PCs - Performing an HP system recovery (Windows 8)
    HP PCs - Troubleshooting HP System Recovery Problems (Windows 8)
    If you are still unable to complete the recovery please contact HP support for further assistance.
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone Support
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Problem about space management of archived log files

    Dear friends,
    I have a problem about space management of archived log files.
    my database is Oracle 10g release 1 running in archivelog mode. I use OEM(web based) to config all the backup and recovery settings.
    I config "Flash Recovery Area" to do backup and recovery automatically. my daily backup schedule is every night at 2:00am. and my backup setting is "disk settings"--"compressed backup set". the following is the RMAN script:
    Daily Script:
    run {
    allocate channel oem_disk_backup device type disk;
    recover copy of database with tag 'ORA$OEM_LEVEL_0';
    backup incremental level 1 cumulative copies=1 for recover of copy with tag 'ORA$OEM_LEVEL_0' database;
    the retention policy is the second choice, that is "Retain backups that are necessary for a recovery to any time within the specified number of days (point-in-time recovery)". the recovery window is 1 day.
    I assign enough space for flash recovery area. my database size is about 2G. I assign 20G as flash recovery area.
    now here is the problem, through oracle online manual, it said oracle can manage the flash recovery area automatically, that is, when the space is full, it can delete the obsolete archived log files. but in fact, it never works! whenever the space is full, the database will hang up! besides, the status of archived log files is very strange, for example, it can change "obsolete" stauts from "yes" to "no", and then from "no" to "yes". I really have no idea about this! even though I know oracle usually keep archived files for some longer days than retention policy, but I really don't know why the obsolete status can change automatically. although I can write a schedule job to delete obsolete archived files every day, but I just want to know the reason. my goal is to backup all the files on disk and let oracle automatically manage them.
    also, there is another problem about archive mode. I have two oracle 10g databases(release one), the size of db1 is more than 20G, the size of db2 is about 2G. both of them have the same backup and recovery policy, except I assign more flash recovery area for db1. both of them are on archive mode. both of nearly nobody access except for the schedule backup job and sometime I will admin through oem. the strange thing is that the number of archived log files of smaller database, db2, are much bigger than ones of bigger database. also the same situation for the size of the flashback logs for point-in-time recovery. (I enable flashback logging for fast database point-in-time recovery, the flashback retention time is 24 hours.) I found the memory utility of smaller database is higher than bigger database. nearly all the time the smaller database's memory utility keeps more than 99%. while the bigger one's memory utility keeps about 97%. (I enable "Automatic Shared Memory Management" on both databases.) but both database's cup and queue are very low. I'm nearly sure no one hack the databases. so I really have no idea why the same backup and recovery policy will result so different result, especially the smaller one produces more redo logs than bigger one. does there anyone happen to know the reason or how should I do to check the reason?
    by the way, I found web based OEM can't reflect the correct database status when the database shutdown abnormally. for example, if the database hang up because of out of flash recovery area, after I assign more flash recovery area space and then restart the database, the OEM usually can't reflect the correct database status. I must restart OEM manually to correctly reflect the current database status. does there anyone know in what situation I should restart OEM to reflect the correct database status?
    sorry for the long message, I just want to describe in details to easy diagnosis.
    any hint will be greatly appreciated!
    Sammy

    thank you very much, in fact, my site's oracle never works about managing archive files automatically although I have tried all my best. at last, I made a job running daily to check the archive files and delete them.
    thanks again.

  • Incomplete Recovery and Read Only

    Ok, I seem to be missing something. I've performed an incoplete recovery to a specified SCN. Everything is great if I open the database with resetlogs. But, the documentation (see quote below) says I can open the database as read only to check the recovery before I do the "resetlogs". However, I get the error (RMAN-01009) when I try to open the database read only. Can anyone explain?
    Oracle Database Concepts (B14220-02) - 15 Backup and Recovery:
    Before using the OPEN RESETLOGS command to open the database in read/write mode after an incomplete recovery, it is a good idea to first open the database in read-only mode, and inspect the data to make sure that the database was recovered to the correct point. If the recovery was done to the wrong point, then it is easier to re-run the recovery if no OPEN RESETLOGS has been done. If you open the database read-only and discover that not enough recovery was done, then just run the recovery again to the desired time. If you discover that too much recovery was done, then you must restore the database again and re-run the recovery.
    The script I ran:
    run
    set until restore point r1;
    restore database;
    recover database;
    }

    To generate the exception RMAN-01009 it appears you are trying to open the database using RMAN ... try it with SQL*Plus ... and if you have a problem post the full error message not just your impression of it along with the corresponding section of the alert log and full version number.

  • Incomplete recovery question

    Hi guys
    As a DBA, we must to know about all backup and recover strategies. Today i was trying to simulate a recover from a lost of current relog group.
    In order to deal with this situation, we need to perform an incomplete recovery.
    The following steps were used to simulate a lost of current redo log and recover from it
    1) Shutdown abort
    2) delete all redo log files
    3) open database to show there was an error in relog file
    4) replace the existng datafiles with backup datafiles
    5) recover database using backup control file until cancel
    6) alter database open resetlogs
    After the above steps, the database was able to operate as normal.
    After that, i tried to perform incremental level 0 (backup incremental level 0 database plus archivelog delete input) to backup the database and archive and i got an error message :
    "error identifying file c:\ARC00002.001"
    "unable to open file"
    "<OS 2 > The system cannot find the file specified"
    I am sure that the archived file does not exist at the first place_
    Can anyone tell me why this kind of error occur even you have successful performed incomplete recovery and how to solve this kind of situation.

    Unless you were sloppy enough to put all of your log groups into a single directory on a single disk and lucky enough to have something bad happen while the database was down what you did doesn't truly simulate reality.
    Here's reality.
    Scenario 1:
    1. Database is open and transactions are taking place ... code a simple PL/SQL loop
    2. Query the database and look at your log files status values in v$log
    3. Drop an inactive log
    4. Issue an ALTER SYSTEM SWITCH LOGFILE until something breaks.
    Scenario 2:
    1. Database is open and transactions are taking place ... code a simple PL/SQL loop
    2. Query the database and look at your log files status values in v$log
    3. Drop an active log
    4. Issue an ALTER SYSTEM SWITCH LOGFILE until something breaks.
    Scenario 1:
    1. Database is open and transactions are taking place ... code a simple PL/SQL loop
    2. Query the database and look at your log files status values in v$log
    3. Drop the current log
    4. Issue an ALTER SYSTEM SWITCH LOGFILE until something breaks.
    Be prepared to deal with all three scenarios.

  • Incomplete recovery 10g

    hi all,
    i am confise when i read the document 10g about incompltete recovery
    hte document said when you take incomplete recovery take full cold backup and after not take backup
    can you tell me why i yake backup before ??? what advantage when not take full backup after complete incomplete recovery???
    pleasee advice MANY THANKS

    861100 wrote:
    hi all,
    i am confise when i read the document 10g about incompltete recovery
    hte document said when you take incomplete recovery take full cold backup and after not take backup>
    can you tell me why i yake backup before ??? what advantage when not take full backup after complete incomplete recovery???
    pleasee advice MANY THANKSpost URL to this document so we can read what you read

  • Problem with Rescue & Recovery

    Hi!
    I have a X61 running on Vista Business. I am facing 2 problems with Rescue & Recovery:
    1. RR tries to run a backup on every bootup even when I schedule it to run Monthly or Never. The program appears not to register the changes to the backup schedule. I upgraded to the latest version of RR, but it didn't help. (Note: Another user posted about the same problem (http://forums.lenovo.com/lnv/board/message?board.id=Special_Interest_Utilities&thread.id=604) some months back, but his problem hasn't been solved.)
    2. Whenever RR tries to perform a backup, I get this error message: "R2R.exe has encountered a problem and needs to close." I downloaded the patch KB917422 but got the following message when I ran the installation pgm: "Could not find any previously installed compliant products on the machine for installing the product."
    Will greatly appreciate any advice!
    Puckers

    First you should try to fix the bad sectors, you can use the following command:
    chkdsk c: /f /r

  • HT1414 It has some problem about my iphone. When I turn off the phone and then turn on, it shows the screen of apple page and then show the loading page many times. What happen with my iphone?

    I have iphone5s and there is some problem about my iphone. I turn off the phone and then I turn on. After I turned on, It showed the page of apple signal and then the page of loading. It used long time to show the loading page. Then it was back to page of apple and then loading page again many times. What happen with it? And what should I do?

    Did you already try to reset the phone again by holding the sleep and home button for about 10sec, until the Apple logo comes back again?
    If this does not work, try to set it up as new device, explained here:
    How to back up your data and set up as a new device
    You may have to connect in recovery mode, if the phone is not recognized in iTunes:
    iOS: Unable to update or restore

  • Can you help me? I meet  errors when I do incomplete recovery with RMAN

    In recover step, There are following errors:
    RMAN-11001: Oracle Error: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/d/db/oradata/db01/system01.dbf'
    question:
    1. Should I restore archive log files generated on July 16th back to orignal archive directory in order to avoid to recover failure?
    2. Or Should I add the command "sql 'alter system archive log current'" in the backup script in order to avoid to recover failure?
    The following is the detail information:
    The database is ok when I try to do incomplete recovery database that was fully backed up on July,16th,2004. The database is oracle 8.1.7 and is in the archive mode:
    The following is the backup script:
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=db01,OB2BARLIST=ora8i_online)';
    backup incremental level 0 filesperset 1
    format 'ora8i_online<db01_%s:%t:%p>.dbf'
    database
    include current controlfile
    archivelog all delete input;
    I use it to do a full backup on July 16th,17th successfully.
    And I use the following scripts to do incomplete recovery:
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=ORACLE8,OB2APPNAME=db01)';
    sql "alter database mount";
    set until time ='17.07.2004';
    restore database;
    recover database;
    sql "alter database open resetlogs";
    sql "alter database open";
    There script is successful in restore step. But there are some errors in recover step. The detail information is showing in following log:
    RMAN-03022: compiling command: allocate
    RMAN-03023: executing command: allocate
    RMAN-08030: allocated channel: dev_0
    RMAN-08500: channel dev_0: sid=13 devtype=SBT_TAPE
    RMAN-08526: channel dev_0: HP OpenView OmniBack II A.04.10/176
    RMAN-03022: compiling command: sql
    RMAN-06162: sql statement: alter database mount
    RMAN-03023: executing command: sql
    RMAN-03022: compiling command: set
    RMAN-03022: compiling command: restore
    RMAN-03022: compiling command: IRESTORE
    RMAN-03023: executing command: IRESTORE
    RMAN-08016: channel dev_0: starting datafile backupset restore
    RMAN-08502: set_count=2056 set_stamp=531622798 creation_time=16.07.2004
    RMAN-08089: channel dev_0: specifying datafile(s) to restore from backup set
    RMAN-08016: channel dev_0: starting datafile backupset restore
    RMAN-08502: set_count=2180 set_stamp=531623409 creation_time=16.07.2004
    RMAN-08089: channel dev_0: specifying datafile(s) to restore from backup set
    RMAN-08523: restoring datafile 00001 to /d/db/oradata/db01/system01.dbf
    RMAN-08023: channel dev_0: restored backup piece 1
    RMAN-08511: piece handle=netace_ora8i_online<db01_2180:531623409:1>.dbf tag=null params=NULL
    RMAN-08024: channel dev_0: restore complete
    RMAN-08023: channel dev_0: restored backup piece 1
    RMAN-08511: piece handle=netace_ora8i_online<db01_2212:531623994:1>.dbf tag=null params=NULL
    RMAN-08024: channel dev_0: restore complete
    RMAN-03022: compiling command: recover
    RMAN-03022: compiling command: recover(1)
    RMAN-03022: compiling command: recover(2)
    RMAN-03022: compiling command: recover(3)
    RMAN-03023: executing command: recover(3)
    RMAN-08054: starting media recovery
    RMAN-03022: compiling command: recover(4)
    RMAN-03026: error recovery releasing channel resources
    RMAN-11001: Oracle Error: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/d/db/oradata/db01/system01.dbf'
    RMAN-08031: released channel: dev_1
    RMAN-08031: released channel: dev_2
    RMAN-08031: released channel: dev_0
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover(4)
    RMAN-06003: ORACLE error from target database: ORA-01220: file based sort illegal before database is open
    ORA-06512: at "SYS.X$DBMS_RCVMAN", line 7220
    ORA-06512: at "SYS.X$DBMS_RCVMAN", line 5053
    ORA-06512: at line 1
    I repeat my questions:
    1. Should I restore archive log files generated on July 16th back to original archive directory in order to avoid to recover failure?
    2. Or Should I add the command "sql 'alter system archive log current'" in the backup script in order to avoid to recover failure?
    Can you help me ? Thank you.

    which o.s u are using i can't help you as i never worked on ver 8i,i can tell you incomplete recovery on oracle 9i on win 2000 server.
    thanks : alok kumar

  • Can you help me? I meet some errors when I do incomplete recovery with RMAN

    In recover step, There are following errors:
    RMAN-11001: Oracle Error: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/d/db/oradata/db01/system01.dbf'
    question:
    1. Should I restore archive log files generated on July 16th back to orignal archive directory in order to avoid to recover failure?
    2. Or Should I add the command "sql 'alter system archive log current'" in the backup script in order to avoid to recover failure?
    The following is the detail information:
    The database is ok when I try to do incomplete recovery database that was fully backed up on July,16th,2004. The database is oracle 8.1.7 and is in the archive mode:
    The following is the backup script:
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=db01,OB2BARLIST=ora8i_online)';
    backup incremental level 0 filesperset 1
    format 'ora8i_online&lt;db01_%s:%t:%p&gt;.dbf'
    database
    include current controlfile
    archivelog all delete input;
    I use it to do a full backup on July 16th,17th successfully.
    And I use the following scripts to do incomplete recovery:
    run {
    allocate channel 'dev_0' type 'sbt_tape'
    parms 'ENV=(OB2BARTYPE=ORACLE8,OB2APPNAME=db01)';
    sql "alter database mount";
    set until time ='17.07.2004';
    restore database;
    recover database;
    sql "alter database open resetlogs";
    sql "alter database open";
    There script is successful in restore step. But there are some errors in recover step. The detail information is showing in following log:
    RMAN-03022: compiling command: allocate
    RMAN-03023: executing command: allocate
    RMAN-08030: allocated channel: dev_0
    RMAN-08500: channel dev_0: sid=13 devtype=SBT_TAPE
    RMAN-08526: channel dev_0: HP OpenView OmniBack II A.04.10/176
    RMAN-03022: compiling command: sql
    RMAN-06162: sql statement: alter database mount
    RMAN-03023: executing command: sql
    RMAN-03022: compiling command: set
    RMAN-03022: compiling command: restore
    RMAN-03022: compiling command: IRESTORE
    RMAN-03023: executing command: IRESTORE
    RMAN-08016: channel dev_0: starting datafile backupset restore
    RMAN-08502: set_count=2056 set_stamp=531622798 creation_time=16.07.2004
    RMAN-08089: channel dev_0: specifying datafile(s) to restore from backup set
    RMAN-08016: channel dev_0: starting datafile backupset restore
    RMAN-08502: set_count=2180 set_stamp=531623409 creation_time=16.07.2004
    RMAN-08089: channel dev_0: specifying datafile(s) to restore from backup set
    RMAN-08523: restoring datafile 00001 to /d/db/oradata/db01/system01.dbf
    RMAN-08023: channel dev_0: restored backup piece 1
    RMAN-08511: piece handle=netace_ora8i_online&lt;db01_2180:531623409:1&gt;.dbf tag=null params=NULL
    RMAN-08024: channel dev_0: restore complete
    RMAN-08023: channel dev_0: restored backup piece 1
    RMAN-08511: piece handle=netace_ora8i_online&lt;db01_2212:531623994:1&gt;.dbf tag=null params=NULL
    RMAN-08024: channel dev_0: restore complete
    RMAN-03022: compiling command: recover
    RMAN-03022: compiling command: recover(1)
    RMAN-03022: compiling command: recover(2)
    RMAN-03022: compiling command: recover(3)
    RMAN-03023: executing command: recover(3)
    RMAN-08054: starting media recovery
    RMAN-03022: compiling command: recover(4)
    RMAN-03026: error recovery releasing channel resources
    RMAN-11001: Oracle Error: ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/d/db/oradata/db01/system01.dbf'
    RMAN-08031: released channel: dev_1
    RMAN-08031: released channel: dev_2
    RMAN-08031: released channel: dev_0
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover(4)
    RMAN-06003: ORACLE error from target database: ORA-01220: file based sort illegal before database is open
    ORA-06512: at "SYS.X$DBMS_RCVMAN", line 7220
    ORA-06512: at "SYS.X$DBMS_RCVMAN", line 5053
    ORA-06512: at line 1
    I repeat my questions:
    1. Should I restore archive log files generated on July 16th back to original archive directory in order to avoid to recover failure?
    2. Or Should I add the command "sql 'alter system archive log current'" in the backup script in order to avoid to recover failure?
    Can you help me ? Thank you.

    You are correct. In RMAN8i, you should add the "alter system archive log current; command before you backup the archive logs.
    You are running into the case where Oracle needs additional redo to make the database consistent that was located in the current online log at the time of the backup.
    If you set UNTIL TIME to an earlier time does the recover work?
    In Oracle9i, if you issue the command, "backup database plus archive logs", RMAN will automatically archive the current online log before performing the archive log backups.
    Thanks, Tammy

  • An old and difficult problem about "UnsatisfiedLinkError"

    Hi dear all,
    I have been struck with the problem about "UnsatisfiedLinkError". I have a c++ class HelloWorld with a method hello(), and I want to call it from within a java class. In fact, I have succeeded in calling it on the windows platform. But when I transfer it to linux, the error "UnsatisfiedLinkError" comes out. I have tried to take the measures as Forum has suggested, but it failed.
    The source code is very simple to demonstrate JNI.
    "HelloWorld.h"
    #ifndef INCLUDEDHELLOWORLD_H
    #define INCLUDEDHELLOWORLD_H
    class HelloWorld
    public:
    void hello();
    #endif
    "HelloWorld.cpp"
    #include <iostream>
    #include "HelloWorld.h"
    using namespace std;
    void HelloWorld::hello()
    cout << "Hello, World!" << endl;
    "JHelloWorld.java"
    public class JHelloWorld
    public native void hello();
    static
    System.loadLibrary("hellolib");
    public static void main(String[] argv)
    JHelloWorld hw = new JHelloWorld();
    hw.hello();
    "JHelloWorld.cpp"
    #include <iostream>
    #include <jni.h>
    #include "HelloWorld.h"
    #include "JHelloWorld.h"
    JNIEXPORT void JNICALL Java_JHelloWorld_hello (JNIEnv * env, jobject obj)
    HelloWorld hw;
    hw.hello();
    All the files are in the same directory and all the processes are under the dirctory:
    1. javac JHelloWorld.java
    2. javah -classpath . JHelloWorld
    3. g++ -c -I/usr/java/jdk1.3/include -I/usr/java/jdk1.3/include/linux JHelloWorld.cpp HelloWorld.cpp
    4. ld -shared -o hellolib.so *.o
    5. java -cp . -Djava.library.path=. JHelloWorld
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no hellolib in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1349)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at JHelloWorld.<clinit>(JHelloWorld.java:7)
    Tried another measure:
    i) export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
    ii)java -cp . JHelloWorld
    The same error came out as above.
    I really don't know what is wrong with it.
    Would you like to help me as soon as possible?
    Thanks.
    Regards,
    Johnson

    Hi Fabio,
    Thanks a lot for your help.
    It is very kind of you.
    Regards,
    Johnson

  • A problem about calling Labview vi in VB

    Hi all:
    I meeting a problem about data transfer and parallel operation between VB and Labview.
    Actually, I want develop a VB program, in which, the Labview VI can be called and corresponding parameters can be transferred to Labview. and then, I also can operate my system by VB program at same time. something like parallel operation (VB and Labview program).
     But the question is :
    1.   If I use "Call" method of ActiveX in VB,  and the LabVIEW subvi is not stopped (for example, a loop structure), I can not do  parallel operation on VB program. The error message is "other application is busy" which is attached below. The sample codes is also attached.
    2.   I tried to use other methods like "OpenFrontPanel" and "Run", but I am not sure how to transfer the parameter??
    3.  Then I tried to use "SetControlValue" to set the parameters, but there is a error " := expected", which is very strange, because the statement  I wrote is followed with the help documents [ eg: VI.SetControlValue ("string", value)], why it is still need a "=" ??
    Does anybody know something about it? Thanks a lot
    Message Edited by hanwei on 11-07-2008 03:18 PM
    Attachments:
    vb_labview_error_message_1.JPG ‏14 KB
    VB_to_LV.zip ‏10 KB

    I sure hope OP has solved it by now.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

Maybe you are looking for

  • Why can't I close the Firefox browser or any pop-ups?

    This is a problem I had with Firefox before I formatted my computer a few weeks ago. Firefox was working just fine after the fresh windows install which was great (I actually had to switch to using Safari because I couldn't stand how glitchy Firefox

  • Including Objects in Request from Other System

    I've got an interesting question. This will be hard to explain but here goes: You know how you can u201CInclude Objects in Requestu201D? E.g. create a new request from an old one and copy the keys from the old one to the new one. That way when you re

  • Character mode report in report 3.0.5.2

    Hi everyone, Can someone help please how a character mode report be created which is needed to be saved as text file of extra width likely of 14"x8.5" pagesize(lanscape). I have almost 14 numeric columns, and I need this report then to load into EXCE

  • How can I hide what I write in Java Script

    If I write a script, I offer it to many one to use it, but I don't want to anyone to see what I write in the script, how can I do?

  • Photo size, different browsers

    When i created the attached page on my computer it looks great, and then when I open it on a PC, the photos are too big and push the page bigger, making everything look messy. How can I make sure the photos are sized to any browser http://www.donna-t