How to remove an oracle orphaned incarnation

Dears,
I have a Sap system on oracle 10 up and running , where I'm doing a test Sap upgrade . The upgrade is failing in the import phases, as the Sapup continue to refers to a missing datafile .
I discovered into an old oracle alert log file these entries :
Dictionary check beginning
File #477 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00477' in the controlfile.
This file can no longer be recovered so it must be dropped.
Dictionary check complete
It's an old test system, created for db copy time ago.
Pratically the DB is open and the Sap system is running fine, but into the control file there is an entry referring to this MISSING0477 file; this file is not present on the filesystem anymore, probabily it has been deleted.
But also if the file is missing, the DB is able to start and to work, and I see this file with the 'RECOVER' status.from the DB02 transaction.
I tryed already to drop this MISSING00477 file, shutdown and startup the DB but after that into the alert log appears again the items  :
Dictionary check beginning
File #477 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00477' in the controlfile.
This file can no longer be recovered so it must be dropped.
Dictionary check complete
Also recreating the control files does not solve the problem; when the statement alter database open is issued the rows upon appears into the oracle alert log file.
So to drop the file is not enough; it seems necessary to clean up the oracle data dictionary, to remove the entries referring to the file-id 4777  but I'm not able to find out how to do it.
From the logs of the import phases I see the object affected are just Indexes, so no loss data will occur.
Any advise ?

Hello,
You can have a look at note 19519 - MISSING9999 in v$datafile or BR274W in BRBACKUP, there are actually 2 solutions to your problem,  you can also use the scripts in the note to find out the tablespace name from the file id mentioned, after that depending on option 1 or 2 and follow the note for appropriate actions.
Hope everything goes well after this,
Thanks.

Similar Messages

  • How can remove the Oracle Business Intelligence

    Hi.
    I try of remove the application oracle bussiness intelligence but appear that request to password for the account OC4JADMIN when the application was installed on the server never appear request password by this account somebody know How I do get this password?.
    Thanks a lot.

    Contact iTune Support
    https://ssl.apple.com/emea/support/itunes/contact.html

  • How to remove a oracle form from read only format

    I need to personalize an Oracle form for one responsibility. But when i open through that responsibility, it is opening in read only format. When i open the same form through super user responsibility, then it is opening up-datable format. I tried different options like 'System Profiles- HR Query only to 'NO'', 'Removing Query-Only'. but still i can open it only in read only format where i need to make some fields up-datable.
    Any suggestions please?

    Hi All,
    I have an Standard E-Business Suite screen.
    This is the Transaction Overview Screen, which is in Read-Only Mode.
    The Value of the unit price is rounded on 2 decimal.
    We tried to change this with Perzonilization, but the the error is coming up
    "FRM-40602: Cannot insert into or update data in a view"
    What are we doing wrong.
    Thanks for your support.
    Best regards Marcel Snoeck

  • How to upgrade the Oracle Client silently ?

    Hi all,
    I have to upgrade the Oracle Client from 8.1.6.0.0 to 9.2.0.1.0.
    I use the -record option for creating the destination file or edit the response file manually for being able to install the new client. But I have no idea, how to remove the old client.
    The following command doesn't work:
    C:\Program Files\Oracle\oui\install\setup.exe" -deinstall DEINSTALL_LIST={"oracle.client","8.1.6.0.0"}
    What am I doing wrong? How to remove the Oracle Client silently?
    Thanks for the help and best wishes from Frankfurt.
    Dimitri

    I created a instant client silent DE-INSTALL for version 10.1.0.2 on XP.
    setup.exe -silent -deinstall -responseFile Z:\yyyyyy\xxxxxx.rsp
    These are parameters are in my response file...
    ORACLE_HOME="C:\oracle\InstantClient\10.1.0"
    ORACLE_HOME_NAME="OraInstantClient10g_home1"
    TOPLEVEL_COMPONENT={"oracle.client","10.1.0.2.0"}
    DEINSTALL_LIST={"oracle.client","10.1.0.2.0"}
    SHOW_SPLASH_SCREEN=false
    SHOW_WELCOME_PAGE=false
    SHOW_END_SESSION_PAGE=false
    SHOW_EXIT_CONFIRMATION=false
    SHOW_DEINSTALL_CONFIRMATION=false
    SHOW_DEINSTALL_PROGRESS=true
    REMOVE_HOMES={"c:\oracle\ora81","c:\oracle\InstantClient\10.1.0"}
    You still have to manually update/remove the PATH & TNS_ADMIN environment variables and the file system directories.

  • Remove an oracle home entry from the central repository

    Does anyone know how to remove an oracle home entry from the central repository (inventory.xml file), after the oracle home in question has been deleted. It is left behind and I want to clean it up.
    thanks

    I went to the link you have posted and it did not help me.
    I cannot get rid of my Oracle Home directory. When I attempt to delete this folder, I
    get an error message:
    oci.dll ...is write protected or in use..
    So I deleted this oci.dll file. Then I rebooted and tried to delete the OraHome directory (folder)
    again, and I get the SAME error!!
    Thanks for any advice.

  • How to remove the prolog from XML in Oracle?

    Our system works like this:
    1. Pass in a piece of XML to the database as a CLOB
    2. Database converts this to XMLTYPE (stored as a CLOB (you can skip over this, Marco *{;-) ))
    3. An application then reads the XML from the database and inserts it into another bit of XML
    4. The application continues its processing based on this new composite XML.
    Up until now, the XML loaded into the database in step 1 (by various systems) has never contained a prolog. However, a new system has come along and is now passing in a prolog. This causes problems for the application in step 3.
    Aside from trying to get the new system to not pass in the prolog, is there a way to remove it from within Oracle?
    The two solutions I've come up with don't feel elegant:
    1. Use XMLTABLE to extract the main root node (which could be different, depending on which system sent in the data, and could change)
    2. Convert the prolog into a comment, using REPLACE, before converting the CLOB into an XMLTYPE.
    If I was forced to use one of these methods, I'd go with 2, but I really, really hope there's a better way of doing it.
    Has anyone got any other suggestions, please?
    PS. We're currently on 10.2.0.4 and are shortly about to move to 11.2.0.3, but the solution has to work on both versions, for added fun and excitement!

    This is the error the application gives: "Error obtaining Additional Info SAX Exception : No processing instruction starts with 'xml'" which the app dev says is due to the presence of the prolog in the middle of the xml the app has build up.So basically, the app just "pastes" the XML in the middle of another without caring about the structure? What kind of design is that?
    IMO, the app has to be fixed, not the input XML.
    Plenty about how to add the prolog, nothing about how to remove it!You can use XMLQuery function to extract the root element :
    SQL> create table tmp_xml3 of xmltype
      2  xmltype store as basicfile clob;
    Table created
    SQL> insert into tmp_xml3 values (xmltype('<?xml version="1.0" encoding="UTF-8"?><root/>'));
    1 row inserted
    SQL> select * from tmp_xml3;
    SYS_NC_ROWINFO$
    <?xml version="1.0" encoding="UTF-8"?><root/>
    SQL>
    SQL> select xmlquery('*' passing object_value returning content)
      2  from tmp_xml3;
    XMLQUERY('*'PASSINGOBJECT_VALU
    <root/>
    Edited by: odie_63 on 22 août 2012 15:26

  • How can i remove manually oracle 10g express edition from vista

    hello
    i use windows vista
    how can i remove manually oracle 10 g express edition
    please help

    1. Uninstall all Oracle components using the Oracle Universal Installer (OUI).
    2. Delete the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE key which contains registry entries for all Oracle products by using regedit.
    3. Delete any references to Oracle services/components in the following registry location: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/. Looks for key entries that starts with “Ora” which are obviously related to Oracle.
    4. Reboot the workstation.
    5. Delete the ORACLE_BASE directory. (i.e C:\Oracle)
    6. Delete the C:\Program Files\Oracle directory.
    7. Empty the temp directory.
    8. Empty the recycle bin.
    have you done this?

  • How to remove Oracle Services from Win NT Services

    I had oracle 8i(8.1.6) installed and then tried to upgrade to 9i (9.2) but it got messed up as database upgrade only works from 8.1.7 to 9 and not from 8.1.6. SO I uninstalled both 8i & 9i and want to install it again a fresh but before doing this I want to remove the oracle services in Win NT Services.
    How can I do this?
    Thanks

    Here are a couple of links to instructions as to how you might uninstall Oracle:
    From this forum:
    Re: HTML DB 1.6
    From elsewhere on the web:
    http://www.cryer.co.uk/brian/oracle/howto_orcl_uio.htm
    http://www.louisville.edu/it/twotier/oracleinstall/uninstall/
    http://www.orafaq.com/msgboard/windows/messages/1144.htm
    Good Luck

  • How to remove Oracle Server 8.0.5 from AIX 5.2?

    I am attempting to remove software Oracle Server Enterprise Edition 8.0.5 using program orainst. I change directory to /u01/app/oracle/product/8.0.5/orainst and execute the command and get an error message:
    $ ./orainst
    Cannot determine if this is AIX version 3 or 4.
    Oracle cannot be installed.
    Exiting orainst procedure.
    This UNIX server is running AIX 5.2. I was trying to use Oracle's program to uninstall the software instead of using a UNIX command to remove the files. When I run the Oracle 10gR2 OUI it lists only the 10gR2 software as being installed. It does not show the 8.0.5 and 9.2.0 software that I want to uninstall. I am going to raise the 10gR2 OUI question in a different post.
    Does anyone have a suggestion on dealing with the message from the 8.0.5 orainst program?
    Am I taking the right steps to uninstall the 8.0.5 software?
    Thank you,
    Bill

    Oracle's recommended way to remove software is via the same program used to install it. If that is not possible they do give instructions on removing directories using UNIX commands. If I use UNIX commands there remains the problem of updating file /u01/app/oracle/oraInventory/ContentsXML/inventory.xml to remove references to the software I deleted.
    Remarks in ContentsXML state clearly
    "<!-- Do not modify the contents of this file by hand. -->". That tells me not to use vi to edit the file and delete obsolete references.
    Since the file contains lines
    <HOME NAME="ORACLE_HOME1" LOC="/u01/app/oracle/product/8.1.7" TYPE="O" IDX="1"/>
    <HOME NAME="ORACLE_HOME" LOC="/u01/app/oracle/product/9.2.0" TYPE="O" IDX="2"/>
    <HOME NAME="ORACLE_HOME_10g" LOC="/u01/app/oracle/product/10.2.0" TYPE="O" IDX="3"/>
    <HOME NAME="agent10g" LOC="/u01/app/oracle/product/10.2.0/agent10g" TYPE="O" IDX="4"/>
    how else am I to remove references to deleted software except by execution of Oracle's install software?
    Thank you,
    Bill

  • How to Remove 'Powered by Oracle' Image for specific  Dashboard

    Hi,
    How to remove 'Powered by Oracle' from dashboard, if so is itpossible to hide for specific dashboard.
    Thanks,
    Malli.

    Hi,
    The below code can be used to hide the Powered by Oracle logo in a specific dashboard.
    <script language="javascript">
    window.onload=hideImg;
    function hideImg(){
    var all = document.getElementsByTagName("img");
    for (var i=0, max=all.length; i < max; i++) {
         var imgName = all.getAttribute("src");
         if(imgName.substring(imgName.lastIndexOf("/")+1) == "siebelbug.gif"){
              all[i].style.visibility='hidden';
    </script>
    Open the dashboard, place a text object on it, open properties and copy/paste the above code as is. Check the option 'Contains HTML Markup'. Basically the above code searches for the image 'siebelbug.gif' (Powered by Oracle logo) and hides it as soon as the page is loaded. I have tested this in 10.1.3.4 version.
    Hope it helps!!
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How do you remove previous Oracle Database installations from your registry

    HI,
    I am trying to reinstall Oracle 9i and Oracle 9i developer on windows XP home and i have used the OUI to uninstall both programs. I tried re-installing the database and Oracle universal Installer gave me a message indicating i have 2 previous databases. Besides taking a different Oracle Home and removing the Oracle folder on the hard disk, how can i remove the Oracle Entries in the registry so that the computer is free of Oracle?
    Thanks

    if u reinstall oracle and before that u have to delete the oracle related previous installation information from your registry.for that go to registry and open
    1)hkey_local_machine-software-in that delete oracle folder
    2)hkey_local_machine-system-controlset001-in that delete the old database service information,listener info._lo
    3)hkey_local_machine-system-controlset002-in that also delete the old database service,listener information.
    bye.

  • Linux how to remove oracle manually

    dear sir
    can you teach and guide if any documentation article available "linux how to remove oracle manually" we are using oracle 10gr2 with rhel 5.x
    kindly advise suggest
    regards
    salim

    Did you make the slightest effort to find the answer for yourself? Try googling that exact phrase:
    site:oracle.com linux remove oracle manuallyand you will get the official techniques. Do a simpler search:
    linux remove oracle manuallyand find lots of other places the steps are given:
    http://www.oracle-base.com/articles/misc/ManualOracleUninstall.phplooks to be a good choice.
    Are you trying to recover from a failed install? Check the RDBMS installation guide for instructions for that.

  • How to remove inactive session from monitor users in oracle apps 11i

    Hi All,
    when I am monitoring users from security- user - monitor in apps 11i, its showing many inactive users.
    I dont know how to remove them
    kindly help me.
    thanks in advance
    sagb

    Hi hsawwan,
    Thank you very much for the reply, it really worked fine.
    thanx again
    Sagb

  • ORA-19909: datafile 1 belongs to an orphan incarnation

    Hi All,
    os :linux
    db: oracle 11gr2
    am facing below error..how to recover database;
    SQL> recover database until cancel using backup controlfile;
    ORA-00283: recovery session canceled due to errors
    ORA-19909: datafile 1 belongs to an orphan incarnation
    ORA-01110: data file 1: '/ora/db001/data001/LLDBOO1/system01.dbf'
    SQL>
    actuallly, i have tried incarnation set to 1 etc..but no luck...
    i have archive logs.....
    2 hrs back i have tried ...below option...
    i have set ALLOWRESETLOGS_CORRUPTION=TRUE in init.ora file. and oped resetlogs ..it is opend but it is showing error...
    here is I would like to open backup controlfile...is it possible?
    thanks,
    dbc
    Edited by: dbc001 on Feb 7, 2013 12:29 PM

    Apparently, you have already attempted
    RESTORE
    RESETLOGS at least once before this
    We do not know what commands you executed in which sequence. (an orphaned SYSTEM file is astonishing !)
    .......... maybe you should go back to the beginning.
    Tell us
    a. WHY you need to RESTORE and RECOVER
    b. EXACTLY what you did (list every step, in the right sequence of actions)
    c. What errors / messages did Oracle present at every step
    Hemant K Chitale

  • ORA-19909 orphan incarnation

    Gurus -
    I need your help....I'm creating a development database for user testing. I put PROD in hotbackup mode, copy the db and arch files to development server. After creating the controlfile for the dev database attempt to recover database until cancel using backup controlfile and get the error message ora-19909. I did an alter database backup controfile to trace. used the generated controlfile from the trace file attempted to do the recover database until cancel using backup controlfile and got the same message (ora-19909).
    Only thing that change since the last refresh was an additional of a datafile in PROD. We have used this same method for 2 years with out error, what could be wrong and how to resolve this??

    882424 wrote:
    Gurus -
    I need your help....I'm creating a development database for user testing. I put PROD in hotbackup mode, copy the db and arch files to development server. After creating the controlfile for the dev database attempt to recover database until cancel using backup controlfile and get the error message ora-19909. I did an alter database backup controfile to trace. used the generated controlfile from the trace file attempted to do the recover database until cancel using backup controlfile and got the same message (ora-19909).
    Only thing that change since the last refresh was an additional of a datafile in PROD. We have used this same method for 2 years with out error, what could be wrong and how to resolve this??
    19909, 00000, "datafile %s belongs to an orphan incarnation"
    // *Cause: Either the specified datafile was restored from a backup that was
    //         taken during a period of time that has already been discarded by
    //         a RESETLOGS operation, or Oracle cannot identify which database
    //         incarnation the file belongs to.  The alert log contains more
    //         information.
    // *Action: Restore a backup of this file that belongs to either the current
    //          or a prior incarnation of the database.  If you are using RMAN
    //          to restore, RMAN will automatically select a correct backup.you are doing something wrong; either error of commission or error of omission;
    but since we can't see exactly what you did specific solution is not possible

Maybe you are looking for

  • Maps problem

    When ever I try to open maps in my e 71, all I get is the earth motionless and a line that stops at 90 percent, what can I do to fix this problem?

  • Error trying to run Forms - ifcom60.dll

    After installing Forms 6i, I get the following error when I attempt to run Forms Builder: Error dialog titled "ifbld60.EXE - Ordinal Not Found" with the error message: "The ordinal 427 could not be located in the dynamic link library ifcom60.dll" Doe

  • Raid (Disksuite) issue w/ Solaris10

    On boot I am getting: WARNING: md: failed to open. open error on /dev/dsk/c5t2d0s0 This array was in use and was working. I checked c5t2d0s0 using #format->analyze (non-destructive read test) and it came back with 0 errors. #metastat is reporting "St

  • Error in ESS for Personal Information

    Dear Experts We are getting 'Type conversion error, field BEGDA, complex type class com.sap.xss.hr.per.in.pdata.model.Hcmt_Bsp_Pa_In_R0002 ' error when editing/deleting personal information . Can you please suggest the solution? Hema

  • Where do we control VBUK -CMGST

    Hi Gurus, I am presently working on Credit management and work flow.Can anyone help me where can i locate CMGST field in the sales document type.I have checked the table VBUK and was able to find cmgst filed but it is defined as Sales order Administr