DB -What action have been done by until cancel?

ORALCE 8174/Hotbackup:
SQL> SELECT TO_CHAR(CHECKPOINT_CHANGE#) DATAFILE_SCN, TO_CHAR(LAST_CHANGE#) DATAFILE_LASTSCN FROM V$DATAFILE;
2 /
DATAFILE_SCN DATAFILE_LASTSCN
9220396163609
9220396163791
9220396163711
9220396163711
9220396163764
9220396163764
9220396163789
9220396163611
9220396163624
9220396163791
9220396163655
DATAFILE_SCN DATAFILE_LASTSCN
9220396163655
12 rows selected.
SQL> SELECT TO_CHAR(CHECKPOINT_CHANGE#) DATAFILE_HSCN FROM v$datafile_header
2 /
DATAFILE_HSCN
9220396163609
9220396163667
9220396163687
9220396163711
9220396163748
9220396163764
9220396163789
9220396163611
9220396163624
9220396163791
9220396163640
DATAFILE_HSCN
9220396163655
12 rows selected.
SQL> recover database using backup controlfile;
ORA-00279: change 9220396163609 generated at 07/28/2007 00:01:07 needed for thread 1
ORA-00289: suggestion : /data1/newdb/orcl/arch/arch_1_13876.arc
ORA-00280: change 9220396163609 for thread 1 is in sequence #13876
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00279: change 9220396171447 generated at 07/28/2007 01:31:22 needed for thread 1
ORA-00289: suggestion : /data1/newdb/orcl/arch/arch_1_13877.arc
ORA-00280: change 9220396171447 for thread 1 is in sequence #13877
ORA-00278: log file '/data1/newdb/orcl/arch/arch_1_13876.arc' no longer needed for this recovery
ORA-00308: cannot open archived log '/data1/newdb/orcl/arch/arch_1_13877.arc'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
SQL> SELECT TO_CHAR(CHECKPOINT_CHANGE#) DATAFILE_HSCN FROM v$datafile_header;
DATAFILE_HSCN
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
DATAFILE_HSCN
9220396171447
12 rows selected.
SQL> SELECT TO_CHAR(CHECKPOINT_CHANGE#) DATAFILE_SCN, TO_CHAR(LAST_CHANGE#) DATAFILE_LASTSCN FROM V$DATAFILE;
DATAFILE_SCN DATAFILE_LASTSCN
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
9220396171447
DATAFILE_SCN DATAFILE_LASTSCN
9220396171447
12 rows selected.
SQL> SELECT TO_CHAR(CHECKPOINT_CHANGE#) DB_SCN,TO_CHAR(CONTROLFILE_CHANGE#) CONTROL_SCN FROM v$database;
DB_SCN CONTROL_SCN
9220396163608 9220396171447
SQL>
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/data1/newdb/orcl/datafile/system01.dbf'
*********why still show above error and can't open db?
SQL>[color=Red] recover database using backup controlfile until cancel;[color]
ORA-00279: change 9220396171447 generated at 07/28/2007 01:31:22 needed for thread 1
ORA-00289: suggestion : /data1/newdb/orcl/arch/arch_1_13877.arc
ORA-00280: change 9220396171447 for thread 1 is in sequence #13877
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
[color=Red]AUTO[color]
ORA-00308: cannot open archived log '/data1/newdb/orcl/arch/arch_1_13877.arc'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
[color=Red]SQL> recover database using backup controlfile until cancel;[color]
ORA-00279: change 9220396171447 generated at 07/28/2007 01:31:22 needed for thread 1
ORA-00289: suggestion : /data1/newdb/orcl/arch/arch_1_13877.arc
ORA-00280: change 9220396171447 for thread 1 is in sequence #13877
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
[color=Red]CANCEL[color]
Media recovery cancelled.
SQL> alter database open resetlogs;[color=Red][color]
Database altered.
*********What action have been done by UNTIL CANCEL?
Message was edited by:
[email protected]

I'll say it again in case you missed it the first time: V$ views are NOT part of the data dictionary. You can't read the data dictionary until the database is opened.
If you've performed a recovery 'until cancel', your datafiles are all in synch with each other. They may even agree with checkpoint change number in the controlfile. But what about your redo logs? By definition, they will have changes in them from a time after the point in the redo stream you got to when you said 'cancel'.
Therefore, the redo logs will be ahead of where the rest of the database has now gotten to.
And that is why you HAVE to open the database with a resetlogs operation (that is, 'alter database open resetlogs;'). That causes the existing redo logs to be wiped clean and thus cleared of any redo from a time after the time the rest of your database has been recovered to.

Similar Messages

  • Provide Information on what steps have been done

    Troubleshooting is the process of elimination.  When a member states that they have a problem and they have done all the troubleshooting steps, it leaves community members at a loss. We don't know where to begin and still have to ask what has been done in order to find the starting point. A "Best Practice" would be to list the problem and what has been done.
    For example: I cannot get the printer (Officejet 6700 premium, - CN538A) the print an email  I sent to it.  I am sending it from my Gmail account I have already made sure that the printer is listed as the only recipient and made sure that I am typing the printer's email address correctly. I am only sending 1 attachment and it is a PDF file.  This is the first email that it failed, al others sent have printed."
    This way, community members who wish to help  out will have a better understanding what has been done/eliminated from the list of possible causes. 
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?
    This question was solved.
    View Solution.

     As always, I hope that the community finds this helpful.  
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?

  • I want to download pages, it won't let me. Says it need os x 10.9 or later-I have os x 10.8.5-all updates have been done. Why is this? what can i do? Is there another pages app i can use? thanks

    I want to download pages, it won't let me. Says it need os x 10.9 or later…I have os x 10.8.5…all updates have been done. Why is this? what can i do? Is there another pages app i can use? thanks do i need to download maverick? thanks

    Pages 5 requires OSX 10.9, for some reason that only Apple knows. Many users will not be able to install Mavericks on their Macs or do not want to.
    It has simultaneously removed iWork '09/Pages '09 from the App Store.
    You could ask Apple why it does things like this, but it doesn't say.
    If you don't already have iWork '09 I believe you can still purchase it from Amazon.
    Peter

  • Unable to Sync emails to car's HU over bluetooth. I am using iphone 5 and have set up a gmail account on it. Also, the basis notification settings mentioned on some site have been done.Can someone answer it?

    Unable to Sync emails to car's HU over bluetooth. I am using iphone 5 and have set up a gmail account on it. Also, the basis notification settings mentioned on some site have been done.I tried doing the following still the email sync is not working.?
    Here's the step by step:
    1. Go to Settings --> Notifications --> Mail --> Select any of your email accounts
    2. Notification Center: ON
    3. Alert Style: Banners or Alerts (I've only tested it to work with Banners...)
    4. Show Preview: ON
    5. View in Lock Screen: ON

    Hi uneleashurself and thanks for your answer.
    Forgive my language but getting to talk to the Safaricom customer service is a real pain in the **bleep** - if you ever get to talk to them, that is.
    I've never got an answer to my phone calls in three years and their customer assistans in the shops usually have no clue about whatever it is you're asking them.
    I talked to a few of them in a couple of different Safaricom shops and they didn't know what I was talking about.
    Still, I believe Safaricom is not the problem as other people I know who have a BlackBerry on Safaricom haven't experienced this problem.

  • RW-20019 No install actions have been found

    Hi,
    I am trying to install 12.1.1 on my RHEL 32 bit server.
    It is not accepting the hostname.
    How can I configure this properly?
    Please check the below error while running rapidwiz.
    "RW-20019 No install actions have been found for this machine. Continue on other
    Uninstalled machines in your configuration, or fix the configuration file to correctly call out this machine"
    Thanks,
    Kavitha

    Hi,
    It is not accepting the hostname.
    How can I configure this properly?What do you mean by not accepting?
    What does "hostname" return?
    Do you have proper entry in the hosts file?
    Please check the below error while running rapidwiz.
    "RW-20019 No install actions have been found for this machine. Continue on other
    Uninstalled machines in your configuration, or fix the configuration file to correctly call out this machine"At what stage/step you get this error?
    Thanks,
    Hussein

  • HT3775 why do i have an avi movie and it does not play ? all software updates have been done

    i have an avi movie and it will not play on my mac, updated to lion. all software updates have been done.

    ventibold wrote:
    Sorry about the iphone comments, i will address that seperately.
    I went to VLC media, downloaded that. However the .avi movie file comes in email and I have only one option to download the movie. So I click that and the movie tries to open and I get the message that apple cannot open that type of avi movie. I try to drag it to the VCL 'drag video here' box and it does not work.
    I went to mydlink and clicked on the 'set up for mac user' link and the page opens blank.
    thank you for your feedback. i didn't really think i was going to get any support but you all have been so nice.
    i will definitely provide more input when i make an inquiry next time.
    in any event, i still cannot get it to work =(
    There is also a good chance that the .avi is simply corrupt as often hapens with this format. I have often had .avis that simply will not open, no matter what program or converter you try using. It's a bummer, but being an older format, it is becoming more common.
    Good Luck
    Pete

  • I have just bought an ipad with retina display wifi and 4g 16gb how can I check that this is what I have been supplied with please

    I have just bought an ipad with retina display wifi and 4g 16 gb - how can I check that this is what I have been supplied with

    Identifying iPad Models:
    http://support.apple.com/kb/HT5452

  • RW-20019: No install action have been found

    i m using windows server 2008 enterprise(64bit) at both end, i successfully installed DB in 1st node i.e. DB Server, also copy the conf_SID.txt file to 2nd node i.e. Application server, i browse the config file that i hav copied from DB Node but it gives this error "RW-20019 No install actions have been found for this machine. Continue on other
    Uninstalled machines in your configuration, or fix the configuration file to correctly call out this machine"
    also host files on both Node configured correctly and both machines are connected to same domain, can ping each other with complete hostname and IP address
    Note: both machines are on Virtual Environment.
    thanks

    818389 wrote:
    i m using windows server 2008 enterprise(64bit) at both end, i successfully installed DB in 1st node i.e. DB Server, also copy the conf_SID.txt file to 2nd node i.e. Application server, i browse the config file that i hav copied from DB Node but it gives this error "RW-20019 No install actions have been found for this machine. Continue on other
    Uninstalled machines in your configuration, or fix the configuration file to correctly call out this machine"
    also host files on both Node configured correctly and both machines are connected to same domain, can ping each other with complete hostname and IP address
    Note: both machines are on Virtual Environment.You cannot install EBS R12 in Windows 64-bit directly and you will need to install it on 32-bit then migrate to 64-bit.
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Microsoft Windows Server (32-bit) [ID 761567.1]
    Migrating Oracle E-Business Suite R12 to Microsoft Windows Server 2008 R2 [ID 1188535.1]
    Thanks,
    Hussein

  • The "organize bookmarks" section has disappeared from my bookmarks dropdown. I want to export my list as back-up prior toan overhaul. No major changes have been done to account for it. in English

    The "organize bookmarks" section has disappeared from my bookmarks dropdown. I want to export my list as back-up prior toan overhaul. No major changes have been done to account for it. in English
    I have tried the usual suspects to no avail - the item remains stubbornly hidden

    It's called "Show All Bookmarks" now. You can also open it by pressing CTRL+SHIFT+B

  • TS2755 How can I find out what devises have been used to log into using my Apple ID?

    How can I find out what devises have been used to log into my Apple ID?

    You can't. If you think someone has change your password. If someone complains you will know who it is.

  • What features have been deprecated for Photoshop CS4?

    Hi,
    What features have been deprecated for Photoshop CS4?
    I am taking a class and part of the homework was to use the pattern maker.  I searched every drop down menu looking
    for something that was removed from the standard install.  Eventually I located the plug in and pattern maker is working,
    however I am wondering what else was removed.
    Thanks,
    ak

    I think pattern maker was removed in CS3 from my memory. In CS4 Extract and Contact Sheet were also removed. These are still accessible by installing the plug ins from previous versions
    Exactly WHY they are removing these things from the standard install? because there are certain portions of the development staff that are becoming obsessed with what they are calling "bloat'. There was a brief period (Photoshop 6 to 7) when certain "New Features" like Extract and Pattern maker were introduced, looked like some kind of sideline - they honestly were not put together, or thought through very well. So now they are removing them.

  • CRMC_ACTION_JOB 0 Actions have been selected

    Hi Experts,
    I have created an Action under an existing Action Profile in CRM 7.0 and 7.1. But when I start the CRMC_ACTION_JOB I have this error: 0 actions have been selected. Debugging the program RSPPFPROCESS we discovered that the actions are not in the table PPFTTRIGG.
    The Action have been assign to an Alert Category and to an Action Profile. The Action Profile have been assigned to a correct Date Profile.
    I have configured the same stuff in an other SAP CRM system and it is working.
    Could you please help me on this?
    Thanks in advance

    Hi,
    Welcome you post on the forum.
    However, this forum is dedicate to SAP Business One users only. There is no link to SAP CRM. Please close your thread and post on a proper forum.
    Thanks,
    Gordon

  • HT1420 how do i find out what computers have been authorizied for my account? My account shows 5 should only be 2 do iphones count?

    how do i find out what computers have been authorized for my account? I have had one stolen and one died but my account shows 5 pcs authorizied? how do i unauthorize a computer not in my hands?

    Iphones do not count. Computers only.
    There is no way to find out what computers.
    Deauthorize all, then authorize the active computers.

  • When you double click the circle buttom, and the little bar pops up from what you have been using... is it using data while being in there? is it a good idea to minimize evertthing out of there often so its not using more data ? or does it not matter?

    when you double click the circle buttom, and the little bar pops up from what you have been using... is it using data while being in there? is it a good idea to minimize evertthing out of there often so its not using more data ? or does it not matter?
    thanks!

    Not sure if it uses data, but that allows you to multitask.  To save battery life you should close out of all the apps.

  • What changes have been implemented in the previous update of Adobe Muse

    Can anyone tell me what features have been implemented to Adobe Muse In its latest update? that was yesterday.

    Hello,
    The recent (3.2) update has few Bug fixes. Please find release notes for this update on this link : http://helpx.adobe.com/muse/release-note/adobe-muse-release-notes.html
    Regards,
    Sachin

Maybe you are looking for

  • Sum of void and normal payments in Etext for Positive Pay

    Hi Have a question on EText My situation is that For example, i have the following amounts(issuin checks) 100 200 300 When I void 100$ total will be 500 In oracle When we void it wont get a -100 amount.XML TAG SHOWS only +100. This is the issue..How

  • Leaset() and Greatest function in OBIEE???

    Do Leaset() and Greatest function exists in OBIEE which is present in SQL ?? if yes what is the syntax for this???

  • HT1338 no audio, no internal speaker option

    i have no audio, the only option i have is digital out

  • Urgent Attention Needed!

    I recently found one "skype resolver" online, which compromise upon the privacy of skype users. with the help of such "hacking" tools, hacker can know the ip address of a victim. the hacker may get access to victim's account too skype resolver link :

  • Experienced XI developers

    Greetings, I am pretty new in the field. I have just started working in the field. We have a sort of scenario:               ( PLC -> Database ) is actually the requirement      However they have achieved this via:                 ( PLC -> .NET appli