XAResource.recover failed, with XAException

when using jdbc 10.2.* to recover an appending transaction using xaresource interface, it's failed. but the jdbc10.1.* can work.
how to solve this problem with jdbc 10.2.*

when using jdbc 10.2.* to recover an appending transaction using xaresource interface, it's failed. but the jdbc10.1.* can work.
how to solve this problem with jdbc 10.2.*

Similar Messages

  • How to do XAResource.recover() on a 8.1.6 DB ?

    Somewhere in the docs it was written that XA recover was not
    supported with JDBC drivers 8.1.6.
    I'm using a 8.1.6 DB, with the 9.0.1 drivers, and I'm failing to
    perform transaction recovery by calling XAResource.recover();
    Actually, when I call XAResource.recover(), I do get a list of
    to be recovered XIDs, and then I rollback each one.
    But if I immediately call recover on the XAResource, the same
    list of to be recovered XIDs is given as result.
    And therefore, when trying to start a new transaction with a XID
    that is among the ones to be recovered, I get a XAException
    (RM_ERR).
    So, how can I really recover those transactions ?

    I want to know if we need to use just one instance and do the adpatching while we apply the mP
    ie by putting cluster_database=false in init.oraNo.
    or can we havwe both the rac instances up and running while runninfg 12.1.1 and 12.1.3 MPYes, or you could have one instance running.
    Thanks,
    Hussein

  • COncurrent process fails with warning for OPP

    Concurrent process generates xml output (version 5.6.2) .
    When it tries to publish it , the log suggests checking out the OPP log.
    The OPP log has a series of java entries for the request, including one of the type
    Caused by: oracle.xdo.parser.v2.XPathException: Expected 'QNAME' instead of ''.
    header of the OPP log says
    Resolution History
    18-OCT-06 20:36:05 GMT
    Can you easily recover from, bypass or work around the problem? = NO
    Does your system or application continue normally after the problem occurs? =
    YES
    Are the standard features of the system or application still available; is the
    loss of service minor? = YES
    ### Informational Only:Warning Presented to Customer ###
    You chose 'Other technical issues with this product' from the Type of Problem
    list. This is a generic Service Request form which will require additional time
    to be routed appropriately. You may be able to expedite the resolution of your
    Service Request by doing the following: 1. Use your browser’s back button to
    return to the Create a SR – Brief Description page. 2. Select an option from
    the Type of Problem list that more closely describes the problem.
    ### Requested files:ACT(Note 183274.1),RDA (Note 175853.1). Files to be loaded.
    None
    ### Detailed Problem Statement ###
    Concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.
    Attached are OPP Manager log file, Screen shot of 'Preview' output jjst before
    submitting request. Also log file of failed concurrent request which contains
    standard error " See OPP Service log file for more".
    ### Steps to Reproduce Problem ###
    Registered a concurrent process with XML template , and running the process
    from Receivables Manager responsibility.
    Ran concurrent process for 1) Standard RAXINV report , with output method as
    'XML'. 2) Customised RAXINV report, with output method as 'XML'
    ### Instance Name(s) and Type of System(s) Where Error Occurs ###
    Lunix, 11.5.10 on 10g
    ### Recent Changes to this Environment ###
    None
    ### Workarounds Used ###
    None
    ### How is this Issue Impacting Your Business ###
    Business is readying for CRP3, so would like to have reports ready by then.
    Contact me via : MetaLink
    18-OCT-06 20:48:07 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\XML_Pub1.bmp
    18-OCT-06 20:49:14 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\XMLPublisher_java.t
    xt
    18-OCT-06 21:17:26 GMT
    Hi Bashobi,
    Thank you for using MetaLink. We are currently reviewing/researching the situation and will update the SR as soon as we have relevant information
    Best Regards,
    Bill
    Oracle Support Services
    STATUS
    =======
    @WIP -- Work In Progress
    18-OCT-06 21:18:04 GMT
    Email Update button has been pressed: Sending email to [email protected].
    18-OCT-06 21:21:45 GMT
    ISSUE CLARIFICATION
    ====================
    On 11.5.10.2 in Production:
    Find concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.
    EXPECTED BEHAVIOR
    Expect the processes run successfully
    STEPS
    The issue can be reproduced at will with the following steps:
    1. Registered a concurrent process with XML template .
    2. Run the process from Receivables Manager responsibility.
    3. Ran concurrent process for
    1) Standard RAXINV report , with output method as 'XML'
    2) Customised RAXINV report, with output method as 'XML'
    BUSINESS IMPACT
    The issue has the following business impact:
    Business is readying for CRP3, so would like to have reports ready by then.
    ACTION PLAN
    ============
    Hi Bashobi,
    1. Can you reproduce the issue from sysadmin responsibility with Active users report? if yes
    please upload OPP log file after reproduce it and upload the request log file.
    Thanks.
    18-OCT-06 23:09:02 GMT
    New info : [email protected] : Did the same as suggested, Request
    completes successfully.
    But what is the relation between Active Users report and a report sent via XML
    Publisher?
    19-OCT-06 15:54:26 GMT
    ACTION PLAN
    ============
    Hi Bashobi,
    1. When you reproduce the issue from sysadmin responsibility with Active users report change the format out put to XML,
    Save your change:
    2. Upload OPP manager log file and upload the request log file.
    Thanks,
    Bill.
    19-OCT-06 15:54:33 GMT
    Email Update button has been pressed: Sending email to [email protected].
    19-OCT-06 16:42:23 GMT
    New info : [email protected] : Bill,
    No, I could not reproduce the problem with Active Users program.
    Attaching OPP manager log in the next update. Bashobi
    19-OCT-06 17:05:07 GMT
    New info : [email protected] : Bill, Attaching internal log and manager
    log
    Bashobi
    19-OCT-06 17:06:08 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\OPP_internal_log.tx
    t
    19-OCT-06 17:07:10 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\OPP_manager_log.txt
    19-OCT-06 18:14:32 GMT
    UPDATE
    =======
    Hi Bashobi,
    Thank you for providing the requested information.
    Best Regards,
    Bill
    STATUS
    =======
    @WIP -- Work In Progress
    19-OCT-06 18:14:36 GMT
    Email Update button has been pressed: Sending email to [email protected].
    19-OCT-06 18:59:25 GMT
    DATA COLLECTED
    ===============
    SCREEN SHOTS
    XML_Pub1.bmp:
    Error:
    Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob...........
    LOG FILE
    1. XMLPublisher_java.txt:
    [10/18/06 11:16:57 AM] [5670:RT277479] Completed post-processing actions for request 277479.
    [10/18/06 11:29:06 AM] [OPPServiceThread1] Post-processing request 277488.
    [10/18/06 11:29:06 AM] [5670:RT277488] Executing post-processing actions for request 2
    77488.
    [10/18/06 11:29:06 AM] [5670:RT277488] Starting XML Publisher post-processing action.
    [10/18/06 11:29:06 AM] [5670:RT277488]
    Template code: XXBE_TEST_INV
    Template app: AR
    Language: en
    Territory: US
    Output type: null
    [10/18/06 11:29:07 AM] [UNEXPECTED] [5670:RT277488] java.lang.reflect.InvocationTarg
    etException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    10/18/06 11:29:07 AM] [5670:RT277488] Completed post-processing actions for reque
    st 277488.
    2. OPP_manager_log.txt:
    [10/19/06 5:22:36 AM] [main] Starting GSF service with concurrent process id = 5688.
    [10/19/06 5:22:36 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [10/19/06 5:22:37 AM] [Thread-12] Service thread starting up.
    [10/19/06 5:22:37 AM] [Thread-13] Service thread starting up.
    ISSUE VERIFICATION
    =================
    Issue veryfied by the screen shots: XML_Pub1.bmp which shows:
    Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob...........
    ACTION PLAN
    ============
    Hi Bashobi,
    1. Since you can not reproduce the issue from sysadmin responsibility can we say the issue specific to Receivables Manager
    responsibility<INV xml report>?
    2. You said before: "Concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.":
    Is the above mean :
    -The xml publisher report completed but you can not view the whole XML file
    -Or the xml publisher report error out with "Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob.."
    Thanks.
    19-OCT-06 18:59:32 GMT
    Email Update button has been pressed: Sending email to [email protected].
    20-OCT-06 21:36:13 GMT
    Email Update button has been pressed: Sending email to [email protected].
    24-OCT-06 21:50:06 GMT
    New info : [email protected] : Hi,
    We are in the process of upgrading XML Publisher at the moment. I would like to
    wait a day or two to test the report with the upgrade.
    Thanks,Bashobi
    26-OCT-06 20:15:07 GMT
    New info : [email protected] : Hi,
    Our DBA has applied the 5.6.2 patch on our dev instance. My concurrent process
    runs to a warning.
    The warnings in the OPP manager log file say
    Template code: BE_RAXINV
    Template app: XXBE
    Language: en
    Territory: US
    Output type: PDF
    [10/26/06 12:50:13 PM] [UNEXPECTED] [5849:RT281617]
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Any idea?

    Hi All,
    I have ran into the same issue.
    "The Output Post-processor is running but has not picked up this request.
    Any ideas.
    Thanks
    Ravi

  • Got error while recover controlfile with rman

    Dear all,
    My controlfile and some datafiles were crash and i tried to recover their with rman as the following step:
    1. startup nomount;
    2. restore controlfile from autobackup;
    3. alter database mount;
    4. restore database;
    5.SELECT archivelog_change#-1 FROM v$database;
    ARCHIVELOG_CHANGE#-1
    1301671
    6.run {
    set until scn 1301671;
    recover database;
    executing command: SET until clause
    Starting recover at 01 พ.ย. 2006
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 11/01/2006 15:38:01
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database reco
    ver if needed
    start until change 1301671 using backup controlfile
    ORA-00283: recovery session canceled due to errors
    ORA-01190: controlfile or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\DB01\SYSTEM01.DBF'
    What happend? Please give me some advise.
    Thaks for advance !
    Chara

    After every resetlogs you have to take fresh backup.
    It seems you have opened your database in resetlogs and your backup is prior to this resetlogs.So the controlfile is showing inconsistance with the other datafiles.

  • Time Machine spends hours partially backing up and then fails with "Time Machine couldn't complete the backup due to a network problem."  Tried suggestions I've seen on the forum.

    Time Machine spends hours partially backing up and then fails with "Time Machine couldn't complete the backup due to a network problem."  I've tried various suggestions I've seen on the forum but nothing has worked.  TIme Machine worked fine for the last two years and just suddenly started having this problem every time.  The only thing that was a little different is that the computer was off for a week while on vacation and then I added a large amount (20 GB) of photos. Now the requested backup size is 82GB, which is large, and process proceeds very slowly for 2-3 hours before failing with the message mentioned.  I have more than enough available backup storage space for it.  Before failing, Time Machine has backed up no more than 12GB or so of the backup.  It fails during different files each time.
    I've turned off the computer sleep feature, and I've checked that the NAS is set to never automatically power down. I normally backup over Wi-Fi, but I've also tried connecting to Ethernet and it still has the same problem.  It's odd because I also have a MacBook Pro that is still backing up fine to the same NAS using the MacBook's Time Machine. 
    I am using an iMac with OS X 10.6.8 and an Iomega StorCenter ix2-200 NAS.
    I have system logs that I can share if helpful.  The logged messages vary a bit from run to run, but here are some messages that I've been seeing:
    I always get this message near the beginning of the backup:
    Event store UUIDs don't match for volume: Macintosh HD
    I've gotten this messsage a number of times:
    Bulk setting Spotlight attributes failed.
    One Day
    Stopping backupd to allow ejection of backup destination disk!
    Another day
    1/7/12 10:44:20 AM
    mDNSResponder[18]
    PenaltyTimeForServer: PenaltyTime negative -112916, (server penaltyTime -1132397006, timenow -1132284090) resetting the penalty
    1/7/12 10:46:37 AM
    kernel
    ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0x1106be94
    1/7/12 10:46:37 AM
    kernel
    AFP_VFS afpfs_DoReconnect started /Volumes/TimeMachine prevTrigger 0 currTrigger 1
    Another Day
    1/6/12 8:03:22 AM
    Google Chrome[164]
    Cannot find function pointer CMPluginInFactory for factory 3487BB5A-3E66-11D5-A64E-003065B300BC in CFBundle/CFPlugIn 0x16f99e20 </Users/smarmer/Library/Contextual Menu Items/Google Notifier Quick Add CM Plugin.plugin> (not loaded)
    1/6/12 8:04:02 AM
    com.apple.backupd[193]
    Copied 7.5 GB of 67.0 GB, 8866 of 8866 items
    1/6/12 8:06:58 AM
    /System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheServer[1013]
    No valid tickets, timing out
    1/6/12 8:29:44 AM
    mDNSResponder[19]
    PenaltyTimeForServer: PenaltyTime negative -148702, (server penaltyTime 2056822773, timenow 2056971475) resetting the penalty
    1/6/12 8:59:22 AM
    kernel
    ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xa5ac380
    1/6/12 8:59:22 AM
    kernel
    AFP_VFS afpfs_DoReconnect started /Volumes/TimeMachine prevTrigger 0 currTrigger 1
    1/6/12 8:59:22 AM
    kernel
    AFP_VFS afpfs_DoReconnect:  doing reconnect on /Volumes/TimeMachine
    1/6/12 8:59:22 AM
    kernel
    AFP_VFS afpfs_DoReconnect:  soft mounted and hidden volume so do not notify KEA for /Volumes/TimeMachine
    1/6/12 8:59:22 AM
    kernel
    AFP_VFS afpfs_DoReconnect:  Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/TimeMachine
    1/6/12 8:59:22 AM
    kernel
    AFP_VFS afpfs_DoReconnect:  connect to the server /Volumes/TimeMachine
    1/6/12 8:59:22 AM
    kernel
    ASP_TCP asp_SetTCPQoS:  sock_settclassopt got error 57
    Another day
    1/5/12 3:48:55 PM
    mdworker[2128]
    CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    1/5/12 4:24:54 PM
    mDNSResponder[19]
    PenaltyTimeForServer: PenaltyTime negative -42698, (server penaltyTime 1148718961, timenow 1148761659) resetting the penalty
    1/5/12 4:29:58 PM
    com.apple.backupd[2074]
    Copied 586.4 MB of 67.0 GB, 9891 of 9891 items
    1/5/12 4:39:00 PM
    kernel
    ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xa1c0380

    bokon0n wrote:
    1/11/12 8:53:30 AM
    com.apple.backupd[1169]
    Warning: Destination /Volumes/TimeMachine does not support TM Lock Stealing
    1/11/12 8:53:30 AM
    com.apple.backupd[1169]
    Warning: Destination /Volumes/TimeMachine does not support Server Reply Cache
    Those indicate that your NAS is not fully compatible with Snow Leopard. 
    1/11/12 8:53:35 AM
    kernel
    jnl: disk2s2: replay_journal: from: 67182592 to: 78680064 (joffset 0xa7b8000)
    1/11/12 8:53:39 AM
    kernel
    jnl: disk2s2: examining extra transactions starting @ 78680064 / 0x4b09000
    1/11/12 8:53:39 AM
    kernel
    jnl: disk2s2: Extra txn replay stopped @ 79056896 / 0x4b65000
    1/11/12 8:53:49 AM
    kernel
    jnl: disk2s2: journal replay done.
    1/11/12 8:53:49 AM
    fseventsd[41]
    event logs in /Volumes/Time Machine/.fseventsd out of sync with volume.  destroying old logs. (253512 14 253512)
    1/11/12 8:53:50 AM
    kernel
    hfs: Removed 1 orphaned / unlinked files and 0 directories
    That looks like a problem was found with the file system (data) on the TM disk.  I don't know the details, but OSX tried to recover it from the journal, and found extra data on the drive.    Likely a result of the incompatibility mentioned above.
    1/11/12 9:47:40 AM
    com.apple.backupd[1169]
    Bulk setting Spotlight attributes failed.
    That's a problem writing to the NAS drive.
    But the backup continued after all this.
    1/11/12 1:25:07 PM
    kernel
    ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0x9d00b44
    Something caused a disconnect.  Can't tell from the log what it was.
    I doubt it's a problem with something in OSX being damaged or corrupted, but reinstalling OSX isn't a major hassle, so might be worth a try.
    To be incompatible with Snow Leopard, this NAS must be at least a couple of years old.  It may be beginning to fail.
    Contact the maker.  See if there's an update to make it compatible with Snow Leopard.  If so, that might fix it.
    If not, or if that doesn't fix it, see if they have any diagnostics that will shed any light.

  • Windows 8 USB recovery fails with CTOERROR.flg error

    Windows 8 recovery using HP supplied USB recovery device failed with CTOERROR.flg error.
    [22:53:29.29] ChkErrBB.CMD : Detect some error during PININST_BBV.
    [22:53:29.31] ChkErrBB.CMD : Check c:\system.sav\logs\BurnBootWarn.log
    [22:53:29.31] ChkErrBB.CMD : or, check c:\system.sav\logs\BurnBootMerge.log
    I have tried all the scenarios which are described in this forum but no success.
    Can anyone suggest to which date should i reset the BIOS or anyother workarounds??
    I have run diagnostic tests on Memory and Disks and both are fine.
    * There is a big problem with the HP recovery manager which fails to recover windows. Many have reported in this forum and other forums....but HP has failed to attend this issue and fix the problem in their recovery manger or atleast show a workaround to restore the windows.
    My laptop was drastically slow after the reinstall from the HP support.....and now when i decided to reset and recover the windows.....it fails. Unfortunately my laptop is out of warranty.
    This is pushing me away from any HP and will never ever buy or recommend anyone to buy a HP product.
    History about previous issue with this laptop:
    Order # BDRN598901
    Order # BDTP356101
    * I had an issue with the HP recovery manager in creating recovery disc. I did contact the HP support as my warranty was still in place. They took my laptop and reinstalled the OS and sent it back to me. 
    Even after that i could not create a recovery disk and they send me a USB recovery device. 
    Service Order Product Service Event Order Status Estimated Delivery Date *MM/DD/YYYY Track this Shipment
    BDTP356101 USB - WINDOWS 8 64B RECOVERY KIT SW FULFILLMENT POSTAL DELIVERY GROUND Shipped 05/05/2014 POSTAL SERVICE (STANDARD)
    Service Order Product Service Event Order Status Estimated Delivery Date *MM/DD/YYYY Track this Shipment BDRN598901 HP ENVY 4-1115DX TouchSmart Ultrabook BOX PLUS PICKUP & REPAIR, 2 DAY SHIPPING Shipped 04/30/2014 FED-EX NEXT DAY (AFTERNOON)
    Thanks,
    KB29

    Set the date in BIOS to 1/02/2012. Save & Exit. Boot with Recovery, let it run through the process- but on the first reboot initiated by recovery enter BIOS again to insure date is still set to 2012. If not change it again, then let recovery resume.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Updated to OS5, restoration failed with error -50.

    I updated the phone to OS5. Restoration failed with an error -50.
    I lost all my contacts, email setup, photos and other configuration.
    How do I get back my contacts?

    same thing happenned to me.
    IOS5 installed fine, but the restore failed.
    Eventually, I just logged in as if it was a new phone. iTunes remembered my apps, but all the data is still gone.
    And then it backed up on me.
    I'm on a winxp box, and I had gone into C:\Documents and Settings\<username>\Application Data\Apple Computer
    and I copied it to another location. So perhaps, if they get this fixed, I can recover the items from this old location.
    but, to be honest, I have lost a whole day messing with this, and I am very annoyed.

  • Backup Fails with Invalid RECID Error

    Hi All,
    Please help me to understand Caution -section
    below text is from
    [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmtroub.htm#447765]
    Backup Fails with Invalid RECID Error: Solution 2
    This solution is more difficult than solution 1:
    To create the control file with SQL*Plus:
       1. Connect to the target database with SQL*Plus. For example, enter:
          % sqlplus 'SYS/oracle@trgt AS SYSDBA'
       2. Mount the database if it is not already mounted:
          SQL> ALTER DATABASE MOUNT;
       3. Back up the control file to a trace file:
          SQL> ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
       4. Edit the trace file as necessary. The relevant section of the trace file looks something like the following:
          # The following commands will create a new control file and use it
          # to open the database.
          # Data used by the recovery manager will be lost. Additional logs may
          # be required for media recovery of offline data files. Use this
          # only if the current version of all online logs are available.
          STARTUP NOMOUNT
          CREATE CONTROLFILE REUSE DATABASE "TRGT" NORESETLOGS  ARCHIVELOG
          --  STANDBY DATABASE CLUSTER CONSISTENT AND UNPROTECTED
              MAXLOGFILES 32
              MAXLOGMEMBERS 2
              MAXDATAFILES 32
              MAXINSTANCES 1
              MAXLOGHISTORY 226
          LOGFILE
            GROUP 1 '/oracle/oradata/trgt/redo01.log'  SIZE 25M,
            GROUP 2 '/oracle/oradata/trgt/redo02.log'  SIZE 25M,
            GROUP 3 '/oracle/oradata/trgt/redo03.log'  SIZE 500K
          -- STANDBY LOGFILE
          DATAFILE
            '/oracle/oradata/trgt/system01.dbf',
            '/oracle/oradata/trgt/undotbs01.dbf',
            '/oracle/oradata/trgt/cwmlite01.dbf',
            '/oracle/oradata/trgt/drsys01.dbf',
            '/oracle/oradata/trgt/example01.dbf',
            '/oracle/oradata/trgt/indx01.dbf',
            '/oracle/oradata/trgt/tools01.dbf',
            '/oracle/oradata/trgt/users01.dbf'
          CHARACTER SET WE8DEC
          # Take files offline to match current control file.
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/tools01.dbf' OFFLINE;
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/users01.dbf' OFFLINE;
          # Configure RMAN configuration record 1
          VARIABLE RECNO NUMBER;
          EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG('CHANNEL','DEVICE TYPE DISK
          DEBUG 255');
          # Recovery is required if any of the datafiles are restored backups,
          # or if the last shutdown was not normal or immediate.
          RECOVER DATABASE
          # All logs need archiving and a log switch is needed.
          ALTER SYSTEM ARCHIVE LOG ALL;
          # Database can now be opened normally.
          ALTER DATABASE OPEN;
          # Commands to add tempfiles to temporary tablespaces.
          # Online tempfiles have complete space information.
          # Other tempfiles may require adjustment.
          ALTER TABLESPACE TEMP ADD TEMPFILE '/oracle/oradata/trgt/temp01.dbf' REUSE;
          # End of tempfile additions.
       5. Shut down the database:
          SHUTDOWN IMMEDIATE
       6. Execute the script to create the control file, recover (if necessary), archive the logs, and open the database:
          STARTUP NOMOUNT
          CREATE CONTROLFILE ...;
          EXECUTE ...;
          RECOVER DATABASE
          ALTER SYSTEM ARCHIVE LOG CURRENT;
          ALTER DATABASE OPEN ...;
    Caution:
          If you do not open with the RESETLOGS option,
    then two copies of an archived redo log for a given log sequence number may
    exist--even though these two copies have completely different contents.
    For example, one log may have been created on the original host and the other on the new host.
    If you accidentally confuse the logs during a media recovery,
    then the database will be corrupted but Oracle and RMAN cannot detect the problem.

    Please help me to understand Caution -section
    Caution:
    If you do not open with the RESETLOGS option,
    then two copies of an archived redo log for a given log sequence number may
    exist--even though these two copies have completely different contents.
    For example, one log may have been created on the original host and the other on the new host.
    If you accidentally confuse the logs during a media recovery,
    then the database will be corrupted but Oracle and RMAN cannot detect the problem.As per my understanding it says. If you don't open database with RESETLOGS option then there may be archived logs with log sequence number which is already archived on the source host. This may happen due to difference in RECIDs. Now when the database needs media recovery for this particular log sequence, you may provide any of them. So in this case, RMAN and Oracle will not be able to differentiate the two files and can accept any of the archived log files during recovery. Since the contents of two archived logs are different, because they are generated at different times and they contains different transactions. So, internally it corrupts your database.
    Rgds.

  • Recover database with corrupt datafile

    I have an Oracle 9.2.0.6.0 database which has crashed due to disk failure & there is no backup. on the disk that failed there is one rollback datafile so I was hoping to be able to just drop this datafile & the related tablespace & recreate on disk that is OK.
    I found the following instructions in a thread on this forum & managed the offline drop of the datafile & the alter database open. However when I tried to drop the rollback tablespace it couldn't find what I though the tablespace was. Now when I try & do anything with the DB is failed with the error -
    Error 376 happened during db open, shutting down database
    USER: terminating instance due to error 376
    Instance terminated by USER, pid = 47050
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    the instructions I was following were :-
    Database was NOT cleanly shut down
    I.e. Datafile was accidentally dropped using operating system command, when the database was not cleanly shutdown using SHUTDOWN ABORT COMMAND.
    * Check the alert.log file for this instance.
    * Comment out the ROLLBACK_SEGMENTS parameter and add the following line: corruptedrollback_segments = ( ,...., ) i.e., the above list should contain all the rollbacks originally listed in the ROLLBACK_SEGMENTS parameter.
    * Mount the database in restricted mode. STARTUP RESTRICT MOUNT
    * Offline drop the lost datafile.
    ALTER DATABASE DATAFILE OFFLINE DROP;
    * Open the database.
    ALTER DATABASE OPEN.
    * Drop the rollback tablespace to which the datafile belonged.
    * Recreate the rollback tablespace with all its rollback segments. Remember to bring the rollbacks online after you create them.
    * Make the database available to all users.
    * ALTER SYSTEM DISABLE RESTRICTED SESSION;
    You should be able to see your database back at this step.
    Any ideas how to indentify the tablespace that I need to drop & how to get the database into a state that will let me attempt this?

    latest entries in alert.log ...
    Mon Jan 18 15:32:33 2010
    Errors in file /dwdb1/u01/oracle/app/oracle/admin/PLYDW/bdump/plydw_smon_33822.t
    rc:
    ORA-01595: error freeing extent (2) of rollback segment (13))
    ORA-00376: file 6 cannot be read at this time
    ORA-01110: data file 6: '/dip3/u07/oradata/PLYDW/dwrbs01.dbf'
    SMON: about to recover undo segment 2
    SMON: mark undo segment 2 as needs recovery
    SMON: about to recover undo segment 3
    SMON: mark undo segment 3 as needs recovery
    SMON: about to recover undo segment 4
    SMON: mark undo segment 4 as needs recovery
    SMON: about to recover undo segment 5
    SMON: mark undo segment 5 as needs recovery
    SMON: about to recover undo segment 6
    SMON: mark undo segment 6 as needs recovery
    SMON: about to recover undo segment 7
    SMON: mark undo segment 7 as needs recovery
    SMON: about to recover undo segment 8
    SMON: mark undo segment 8 as needs recovery
    SMON: about to recover undo segment 9
    SMON: mark undo segment 9 as needs recovery
    SMON: about to recover undo segment 10
    SMON: mark undo segment 10 as needs recovery
    SMON: about to recover undo segment 11
    SMON: mark undo segment 11 as needs recovery
    Mon Jan 18 15:32:46 2010
    Errors in file /dwdb1/u01/oracle/app/oracle/admin/PLYDW/udump/plydw_ora_52948.tr
    c:
    ORA-00376: file 6 cannot be read at this time
    ORA-01110: data file 6: '/dip3/u07/oradata/PLYDW/dwrbs01.dbf'
    Mon Jan 18 15:32:46 2010
    Error 376 happened during db open, shutting down database
    USER: terminating instance due to error 376
    Instance terminated by USER, pid = 52948
    ORA-1092 signalled during: alter database open...

  • Tablespace Point in Time Recovery fails with RMAN-06026:

    I have cataloged with RMAN the datafiles from Snapshot backup. Still it fails with the following error.
    RMAN> RECOVER TABLESPACE TSPC UNTIL TIME "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')" AUXILIARY DESTINATION '/tmp/auxpran';
    Starting recover at 03-APR-13
    using channel ORA_DISK_1
    RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
    List of tablespaces expected to have UNDO segments
    Tablespace SYSTEM
    Tablespace UNDOTBS1
    Creating automatic instance, with SID='Ebgt'
    initialization parameters used for automatic instance:
    db_name=ORCL
    db_unique_name=Ebgt_tspitr_ORCL
    compatible=11.2.0.0.0
    db_block_size=8192
    db_files=200
    sga_target=280M
    processes=50
    db_create_file_dest=/tmp/auxpran
    log_archive_dest_1='location=/tmp/auxpran'
    #No auxiliary parameter file used
    starting up automatic instance ORCL
    Oracle instance started
    Total System Global Area 292933632 bytes
    Fixed Size 1336092 bytes
    Variable Size 100666596 bytes
    Database Buffers 184549376 bytes
    Redo Buffers 6381568 bytes
    Automatic instance created
    Running TRANSPORT_SET_CHECK on recovery set tablespaces
    TRANSPORT_SET_CHECK completed successfully
    contents of Memory Script:
    # set requested point in time
    set until time "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')";
    # restore the controlfile
    restore clone controlfile;
    # mount the controlfile
    sql clone 'alter database mount clone database';
    # archive current online log
    sql 'alter system archive log current';
    # avoid unnecessary autobackups for structural changes during TSPITR
    sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 03-APR-13
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=19 device type=DISK
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: copied control file copy
    input file name=/tmp/auxpran/controlbc.ctl
    output file name=/tmp/auxpran/ORCL/controlfile/o1_mf_8opkv8v4_.ctl
    Finished restore at 03-APR-13
    sql statement: alter database mount clone database
    sql statement: alter system archive log current
    sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
    contents of Memory Script:
    # set requested point in time
    set until time "to_date('03-apr-2013 02:18:00','dd-mon-yyyy hh24:mi:ss')";
    # set destinations for recovery set and auxiliary set datafiles
    set newname for clone datafile 1 to new;
    set newname for clone datafile 3 to new;
    set newname for clone datafile 2 to new;
    set newname for clone tempfile 1 to new;
    set newname for datafile 5 to
    "+DG_DATA/orcl/datafile/tspc.268.811733685";
    # switch all tempfiles
    switch clone tempfile all;
    # restore the tablespaces in the recovery set and the auxiliary set
    restore clone datafile 1, 3, 2, 5;
    switch clone datafile all;
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to /tmp/auxpran/ORCL/datafile/o1_mf_temp_%u_.tmp in control file
    Starting restore at 03-APR-13
    using channel ORA_AUX_DISK_1
    One or more auxiliary set datafiles could not be removed
    Removing automatic instance
    shutting down automatic instance
    database dismounted
    Oracle instance shut down
    Automatic instance removed
    auxiliary instance file /tmp/auxpran/ORCL/controlfile/o1_mf_8opkv8v4_.ctl deleted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 04/03/2013 02:32:55
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Could anyone please reply ASAP?
    Regards,
    Pranam

    I had created a snapshot of the database(datafiles and archivelogs) and cataloged them.
    CATALOG START WITH "+TBL_DG_DATA/ORCL/DATAFILE/" NOPROMPT;
    catalog start with "+DG_ARCH/ORCL/ARCHIVELOG/" NOPROMPT;
    The time i gave was after the snapshot was created.
    When it failed the first time I created another controlfile using
    sql "alter database backup controlfile to ''/tmp/auxpran/controlbc.ctl''";
    And ran the recover command after the time after i generated this controlfile. Changed nothing else. TSPITR completed successfully. But it had failed first time. Cannot figure how it ran the second time but failed the first time.
    Removing automatic instance
    Automatic instance removed
    auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_temp_8opndd87_.tmp deleted
    auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_3_8opnd1o6_.log deleted
    auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_2_8opncy32_.log deleted
    auxiliary instance file /tmp/auxpran/ORCL/onlinelog/o1_mf_1_8opncv7d_.log deleted
    auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_sysaux_8opn516p_.dbf deleted
    auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_undotbs1_8opn4j14_.dbf deleted
    auxiliary instance file /tmp/auxpran/ORCL/datafile/o1_mf_system_8opmyvly_.dbf deleted
    auxiliary instance file /tmp/auxpran/ORCL/controlfile/o1_mf_8opmy14q_.ctl deleted
    Finished recover at 03-APR-13

  • Built-In Keyboard Firmware Update 1.0 fails with error 23:3 on MacBook 2,1

    I attempted to install "Built-In Keyboard Firmware Update 1.0" on two laptops tonight.
    Macbook Pro 3,1:
    Hadn't experienced the issue that the firmware would resolve. Installed the update anyway, successfully, and continued to have no problems since.
    Macbook 2,1:
    Hadn't experienced the issue that the firmware would resolve. Tried to install the update, but it failed with error "23:3". After the failure, the keyboard was non-responsive for about 30-60 seconds, during which time I assume it restored/re"booted" itself. Keyboard function was restored automatically after this time, though there was no indication that it would return, and I had to suffer a minor sweat. Still, I didn't learn I power cycled the system and tried again, but the update never installed successfully.
    Lessons learned -
    If it ain't broken...
    That said, Apple seems to have designed their hardware well enough to be able to recover from a failed firmware update. In this case, you just have to pray a little until the keyboard responds again.
    Apple: be so kind, let us know what 23:3 means, and if needed, update the Firmware Updater.
    //

    Hi,
    I was just wondering how you were able to get the macbook to accept the update? I had to take mine to apple store and get entire keyboard and trackpad replaced in my macbook. They then told me to ignore the update cause they did not have any other keyboards to replace if it happened again.

  • Media Recovery failed with error 1111

    Hi,
    on 10g R2 on Unix I have :
    Media Recovery Start
    Managed Standby Recovery not using Real Time Apply
    Fri Jun 24 10:56:52 2011
    Media Recovery failed with error 1111
    From alert.log :
    Errors in file /data01/oracle/mydb/admin/bdump/hhhh_17637.trc:
    ORA-01111: name for data file 523 is unknown - rename to correct file
    ORA-01110: data file 523: '/oracle/product/10g/db_1/dbs/UNNAMED00523'
    ORA-01157: cannot identify/lock data file 523 - see DBWR trace file
    ORA-01111: name for data file 523 is unknown - rename to correct file
    ORA-01110: data file 523: /oracle/product/10g/db_1/dbs/UNNAMED00523'
    Any idea ?
    Thanks.

    here is one test case, i ran into same issue. and reolved as below.
    When Standby_file_management is set to “MANUAL” , if any data files added on primary database, These changes certainly won’t be altered in standby database.
    After starting MRP process, it dies and terminated with the following errors.
    Errors from Alert log file:-
    Errors in file /oracle/app/oracle/admin/CC/bdump/cc_mrp0_22294.trc:
    ORA-01111: name for data file 536 is unknown - rename to correct file
    ORA-01110: data file 536: '/oracle/app/oracle/product/10.2.0/db_1/dbs/UNNAMED00536'
    ORA-01157: cannot identify/lock data file 536 - see DBWR trace file
    ORA-01111: name for data file 536 is unknown - rename to correct file
    ORA-01110: data file 536: '/oracle/app/oracle/product/10.2.0/db_1/dbs/UNNAMED00536'
    Errors from Trace file:-
    MRP0: Background Media Recovery terminated with error 1111
    ORA-01111: name for data file 536 is unknown - rename to correct file
    ORA-01110: data file 536: '/oracle/app/oracle/product/10.2.0/db_1/dbs/UNNAMED00536'
    ORA-01157: cannot identify/lock data file 536 - see DBWR trace file
    ORA-01111: name for data file 536 is unknown - rename to correct file
    ORA-01110: data file 536: '/oracle/app/oracle/product/10.2.0/db_1/dbs/UNNAMED00536'
    ORA-01111: name for data file 536 is unknown - rename to correct file
    ORA-01110: data file 536: '/oracle/app/oracle/product/10.2.0/db_1/dbs/UNNAMED00536'
    ORA-01157: cannot identify/lock data file 536 - see DBWR trace file
    ORA-01111: name for data file 536 is unknown - rename to correct file
    ORA-01110: data file 536: '/oracle/app/oracle/product/10.2.0/db_1/dbs/UNNAMED00536'
    ARCH: Connecting to console port...
    Check out from SQL, Which files need to be recovered on standby database?
    SQL> select * from v$recover_file where error like '%FILE%';
    FILE# ONLINE  ONLINE_ ERROR                   CHANGE# TIME
    +536 ONLINE ONLINE FILE MISSING 0+
    SQL>
    On Primary check out for actual naming convention:-
    SQL>  select file#,name from v$datafile where file#=536;
    FILE# NAME
    +536 DATA/c/datafile/undotbs9.595.750444337
    SQL>
    On Standby check datafile name:-
    SQL> select file#,name from v$datafile where file#=536;
    FILE# NAME
    +536 /oracle/app/oracle/product/10.2.0/db_1/dbs/UNNAMED00536+
    SQL>
    Make sure still standby_file_management is set to “MANUAL”, After performing media recovery again can be enabled to “AUTO”.
    Rename datafile from standby database:-
    SQL> alter database create datafile '/oracle/app/oracle/product/10.2.0/db_1/dbs/UNNAMED00536' as 'DATA3/cc/datafile/undotbs9_595_750444337';+
    Database altered.
    Start the MRP Now:-
    SQL> alter database recover managed standby database disconnect from session;
    Database altered.
    After creating the file, MRP will start applying archives on standby database.

  • Media Recovery failed with error 368

    The following error occurs on standby database---
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Media Recovery Log x.0000008973.arc
    Recovery interrupted.
    Redo code 6 enountered during in-flux buffer recovery
    Some recovered datafiles maybe left media fuzzy
    Media recovery may continue but open resetlogs may fail
    some error occurred during recovering in-flux buffers
    Recovered data files restored to a consistent state at change 138445558.
    Media Recovery failed with error 368
    Please advice. Thanks in advance

    Here you have the complete reference for the command
    that you executed :
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_15a.htm#SQLRF00802
    [email protected]
    Joel P�rez

  • DB 7.8 Restart fails with SQL error -9407, unexpected error 3

    Hello,
    MaxDB Instance (7.8.01.18)  fails to restart with the error
    "SQL error -9407 System error: unexpected error 3
    Internal errorcode 6433 "system_error" 20017, Restart Filesystem failed with
    'System error unexpected error'
    9, File directory restart failed; error '3'
    31, Error linking entry to parent; file no '000000004066',
    parent file no '000000000000000000033D',
    file type 'IndexFile', error '11'
    We had the problem "[-8]: Execution failed, parse again" with one table,
    then we tried to restart the database. Now it doesn't come up any more.
    Is there another possibility instead of a recovery?
    Greetings
    Ulrich

    Your problem description sounds very similar to the following error:
    PTS1237652:
    "Appearance:
    Restart fails with file directory corruption:
    31,Error linking entry to parent; file no 'xxx', parent file no 'yyy', file type 'IndexFile', error '11'
    Preconditions and circumstances:
    During a recreate index operation the index was dropped and recreated manually.
    Workaround:
    None. The system must be recovered to the time just before the index was recreated."
    Please note that this is one of those issues that has only been fixed with 7.8.02. 7.8.02 is currently in customer testing, if anyone wants to join, just open a CSS message and test this version before we make it generally available for download.
    Best regards,
    Thorsten

  • 3GS recovering fails shortly before end

    My iphone worked fine without any problem. I didn't take care for a second and hit against the front side of the phone. The glass was still ok but the touch screen underneith showed some markings in the right lower edge of the display. All functions were ok, also the touch screen worked fine with the only problem that I could see the screen information in the area of the markings.
    I had no time to give the phone to maintenance (for changing the screen) and continued to use it for some weeks. Suddenly the phone felt into maintenance mode (the mode with the apple logo in the middle and the information to recover is with itunes).
    I connected it to itunes, the phone has been recognized and itunes informed my that the phone has to be reseted (recovered). I confirmed this and the normal process started without problem. At the very end of the recovering process (the with line is 99% complete) there is no more progress. It takes some time (the software seems to try to complete the recovering) and then there is a message that the recovering was not successful.
    I tried this with several different computers, new itunes installation, XP, Vista, Windows 7. Everywhere the same result.
    Are the any ideas how I can bring the phone back to life?

    Hi David, I am not really sure what you meant by recovering your lost files, either before or after the Leopard upgrade. But I would advice, and anyone would do the same, is that before you perform a major OS upgrade, it is prudent and important, in fact, a MUST, that you back up all your current data to another disk... that is the "full assurance", if you can clone your entire drive to another, using utility like SuperDuper, so in the event when your upgrade/install fails, you can rely on your back up.
    I guess that is one way of recovering your lost files.
    After you have successfully install and run Leopard, I also encourage you to use Leopard's Time Machine, which requires another hard drive other than the internal to "act" as a back up drive, so if you have a "single drive" macs like the iMac, Mac mini and the portables, then you will need an external drive to be the designated Time Machine drive, by using Time Machine, you can also recover lost files in a much simpler and easy way. SuperDuper is currently not completely compatible with Leopard, so you should use Time Machine instead
    Cheers

Maybe you are looking for

  • My iPhoto library is corrupt. How can I fix it?

    The library disappeared from iPhoto so I restored it and now its fragmented my events, they are out of date sequence, some photos appear as individuals outside of events for no reason, there are triplicates and they are all named with strange numbers

  • IPod Freezes on Startup; Won't Charge; Computer Won't Recognize

    I just got a used iPod in the mail yesterday... When I try to charge it using a USB drive or a wall charger, it appears as if nothing happens. When I have it plugged into my USB drive, my computer doesn't recognize anything... I've tried using the "r

  • Never ending restore cycle.

    Today, my iPod touch would not sync to iTunes, and it told me I must restore. So I restored my iPod, when it finished it said "Please leave iPod connected etc..." and had the 'Connect to iTunes' display on the iPod. iTunes just says it has detected a

  • Help a newbie please - never ending com.android.settings suddenly stopped

    My k1 was apparently autoupdating when i saw the android man with completion bar stop. It wiped my apps and when i turn it on i get "boot recovery image" followed by a green android man with the caution sign (yellow triangular sign with black !). Eve

  • Questions on AQQueue.enqueue()

    Anyone know what this function returns? It's a byte array, but what is the significance? The javadoc for this method just says "enqueue a message", which is no help. My question comes about because we are trying to debug a problem where it seems like