Document 883743 How to Deinstall Uninsall Oracle Home in 11gR2 by yvtong

VIEWS: 7 PAGES: 6

									2/6/13                                                                Document 883743.1

           How To Deinstall/Uninstall Oracle Home In 11gR2 [ID 883743.1]                                                              To Bottom

   Modified: Dec 11, 2012      Type: HOWTO         Status: PUBLISHED        Priority: 3           Comments (0)


   In this Document

    Goal
           Ask Questions, Get Help, And Share Your Experiences With This Article
    Fix
    References


   Applies to:
   Oracle Server - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
   Information in this document applies to any platform.

   Goal

   The goal of this document is to show the steps for deinstalling an Oracle Home in an 11gR2 environment.

   Ask Questions, Get Help, And Share Your Experiences With This Article

         Would you like to explore this topic further with other Oracle Customers, Oracle Employees, and
         Industry Experts?

         Click here to join the discussion where you can ask questions, get help from others, and share your experiences
         with this specific article.
         Discover discussions about other articles and helpful subjects by clicking here to access the main My Oracle
         Support Community page for Database Install/Upgrade.


   Fix

   From 11gR2, de-installing Oracle Home should be done by deinstall tools provided separately. De-installation from 11.2
   OUI is desupported. Please note the following text taken from the 11.2 Installation guides under:



         Chapter7 Removing Oracle Database Software
         7.1 About the Deinstallation Tool

         Caution:
         When you run the deinstall command, if the central inventory (oraInventory) contains no
         other registered homes besides the home that you are deconfiguring and removing, then the
         deinstall command removes the following files and directory contents in the Oracle base
         directory of the Oracle Database installation owner:

         * admin

         * cfgtoollogs

         * checkpoints

         * diag

       * oradata
https://support.oracle.com/epmos/faces/DocContentDisplay?_afrLoop=369276238851538&id=883743.1&_afrWindowMode=0&_adf.ctrl-state=15s0a78vp_86       1/6
2/6/13                                                                Document 883743.1
         * oradata

         * flash_recovery_area

         Oracle strongly recommends that you configure your installations using an
         Optimal Flexible Architecture (OFA) configuration, and that you reserve Oracle base and
         Oracle home paths for exclusive use of Oracle software. If you have any user data in
         these locations in the Oracle base that is owned by the user account that owns the Oracle
         software, then the deinstall command deletes this data.




   It is also suggested that before doing a deinstall on a server where more than one ORACLE_HOME exists there are a
   valid set of backups for the ORACLE_HOMEs, databases, and oraInventory.

   Official documentation presents two methods to remove Oracle Database software:

   1) External de-install utility downloadable from OTN ***Recommended method***

   It is advised to use the external De-install utility that is downloadable from OTN as currently there are some open bugs
   with the deinstall script.

   To get the external tool :

   http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

   Under Oracle Database 11g Release 2, click See All for the respective platform for which you want to download the De-
   install utility.

   If the intent is to deinstall 11.2.0.1 or 11.2.0.2 then you should use the latest version of the 11.2 deinstall utility, which
   would be version 11.2.0.3.0.

   The De-install utility is available for download from the following links:

   Microsoft Windows (32-bit)

   Microsoft Windows (x64)

   Linux x86

   Linux x86-64

   Solaris (SPARC) (64-bit)

   Solaris (x86-64)

   HP-UX Itanium

   HP-UX PA-RISC (64-bit)

   AIX (PPC64)

   2) Deinstall script located inside Oracle Home (It is highly recommended not use the $ORACLE_HOME deinstall utility for
   versions 11.2.0.1 and 11.2.0.2, Download an use the 11.2.0.3.0 version):

     OAL_OEdisaldisal ui/iu ltom)
    $RCEHM/entl/entl (nxlnxpafrs

     OAL_OE\entl\entl.a wnos ltom)
    %RCEHM%disaldisalbt(idw pafrs

   3) It is possible to run the deinstall utility without doing the deinstall to confirm the deinstall will remove what is
https://support.oracle.com/epmos/faces/DocContentDisplay?_afrLoop=369276238851538&id=883743.1&_afrWindowMode=0&_adf.ctrl-state=15s0a78vp_86   2/6
2/6/13                                                                Document 883743.1
   3) It is possible to run the deinstall utility without doing the deinstall to confirm the deinstall will remove what is
   expected and allow any potential problems to be sorted out by running the following command:


      <ah o oain f entl tlt>disaldisal hm pt o RCEHM ht
    $/pt t lcto o disaluiiy/entl/entl -oe<aht OAL_OEta
     s o e eoe> cekny ui/iu ltom)
    i t b rmvd -hcol (nxlnxpafrs

      <ah o oain f entl tlt>disaldisal hm pt o RCEHM ht
    %\pt t lcto o disaluiiy\entl\entl -oe<aht OAL_OEta
     s o e eoe> cekny WNOS ltom
    i t b rmvd -hcol (IDW pafr)


   The logs can be found in one of the locations noted in the LOG LOCATION section below.

   This will also generate a parameter file that can be used with interactive or silent deinstall. The parameter file will be
   generated in the /<path to location of deinstall utility>/deinstall/response directory.

   De-installing Oracle Home using external de-install utility

   If Oracle Home deinstall script has some issue and you want to deinstall home then you can download separate de-
   install utility from OTN and use it.

   1. Download and unzip de-install utility in some folder outside Oracle Home.

   2. Go to the deinstall folder.

   3. Invoke deinstall utility with the -home option specifying the full path of the Oracle Home you want to deinstall.

   Example:

      /entl hm u1apoal/rdc/120dhm_
    %.disal-oe/0/p/rcepout1../boe2


   4. If you want to do a non-interactive deinstall you can use the -silent option with a parameter file.

   Example:

     .disal hm u1apoal/rdc/120dhm_ sln pt o epne ie
    %/entl -oe/0/p/rcepout1../boe2-iet<ahfrrsos fl>


   An example response file is located in /deinstall/response/deinstall.rsp.tmpl. You can modify and use it.

   5. Check the logs created under <central_inventory>/logs folder for any issue.

   6. Check the inventory is updated properly.

   7. Check if Oracle Home folder is deleted or not. If not then you have to remove it manually.

   LOG LOCATION
   - deinstall tool creates logs as per this logic:

   a) If there are other oracle home (OUI based) in this Host except one which you are installing then it will create log
   under <central_inventory>/log folder.

   b) If this is last Oracle Home to be deinstalled then current central inventory will also get deleted along with deinstall ,
   therefore in this case it will choose log locations in the following order:

   - It will create log directory in current location where deinstall utility is launched.

   - If current folder is not writable or remotely mounted (permission issues ) then it will create user home directory
   (/home/oracle) as next option.

   - If all criteria above is not met then it will proceed to create log directory under user TEMP location (/tmp).
https://support.oracle.com/epmos/faces/DocContentDisplay?_afrLoop=369276238851538&id=883743.1&_afrWindowMode=0&_adf.ctrl-state=15s0a78vp_86   3/6
2/6/13                                                                Document 883743.1



   The window below is a live discussion of this article (not a screenshot). We encourage you to join the
   discussion by clicking the "Reply" link below for the entry you would like to provide feedback on. If you
   have questions or implementation issues with the information in the article above, please share that
   below.




         Main Home         Discussions       Documents   Private Messages (0)          Contacts    Tags    Profile               Subscriptions Off

                                                    What do you w ant to do?                         Create a Com m unity Post                  Upload/Write

           My Com m unities                                View Discussion

           Find a Community                                There are 19 Replies
            Quick find                                     Last post: January 7, 2013 7:51 AM by StephenKeogh
             WebCenter Interaction                         This discussion has been view ed 4348 tim es.
              Oracle Com m erce
             ATG Oracle Live Help                                                 Septem ber 26, 2012 5:15 PM
             ATG Web Commerce                                                     Discussion of Note:883743.1 (How To Deinstall/Uninstall Oracle Hom
             Endeca
             Other ATG Applications                               Expert
              Oracle Database                                                     This thread w ill be used for discussion of Note:883743.1 (How To Deinsta
             DB Diagnostic Repository (ADR) & Packaging        1283 points
                                                                                  about this article and how to deinstall 11gR2. Thank you.
             Database - RAC/Scalability
             Database Administration                           RichardG -
                                                                 Oracle           Tags:           Refresh Tags |     Add Tags |       Delete Tags
             Database Backup and Recovery
             Database DataWarehousing
             Database Gatew ays
             Database Install
             Database Netw orking
             Database Security Products

                 Subscribe to this Community                                            1. October 1, 2012 8:16 AM  in response to: RichardG - Oracle
                                                                                        Re: Discussion of Note:883743.1 (How To Deinstall/Uninstall Or

           Top Participants                                            Expert           If you have questions about the deinstall process in 11gR2, please po
                                                                    1283 points
                 Community active users
                 w ithin last 90 days: 153
                                                                    RichardG -
                                                                      Oracle
                            Expert
                         1032 points / 1283 total
                         RichardG - Oracle
                            Expert                                                          2. October 23, 2012 7:38 AM   in response to: RichardG - Or
                                                                                            Re: Discussion of Note:883743.1 (How To Deinstall/Uninsta
                         791 points / 1986 total
                         AdamN - Oracle
                                                                           New bie           Oracle 11.2.0.3 installation failed due to some missing files. Whe
                            Guru                                                            below error.
                                                                           15 points
                         593 points / 9660 total
                         BobB                                           User124852           $ ./deinstall -home /nhi2/app/oracle11g/product/11.2.0/dbhome_1
                            Guru                                                             exec(): 0509-036 Cannot load program /ora11emc1/soft/aixppc64
                                                                                             follow ing errors:
                         574 points / 8009 total                                                   0509-119 The l_nimpid field in the .loader section header
                         BPeasland                                                                         is not positive.
                            Guru                                                                   0509-193 Examine the .loader section header w ith the
                         445 points / 3064 total                                                         'dump -Hv' command.
                                                                                            Subscribe to Com m unities program /ora11emc1/soft/aixppc64
                                                                                             exec(): 0509-036 Cannot load
                         Matt_Glover
                                                                                             follow ing errors:
                            Pro                                                                    0509-119 The to specific communities to
                                                                                            Create subscriptions l_nimpid field in the .loader section header
                         399 points / 901 total                                                            is not to your
                                                                                            customize contentpositive.specific needs and interests.
https://support.oracle.com/epmos/faces/DocContentDisplay?_afrLoop=369276238851538&id=883743.1&_afrWindowMode=0&_adf.ctrl-state=15s0a78vp_86          4/6
2/6/13                                                                Document 883743.1
                      399 points / 901 total                                                           is not to your
                                                                                          customize contentpositive.specific needs and interests.
                      SudhirJ - Oracle                                                         0509-193 Examine the .loader section header w ith the
                                                                                               Subscribe now
                          Guru                                                                       'dump -Hv' command.
                                                                                               Remind me later
                      342 points / 2961 total
                                                                                          Please help
                      Raviraj - Oracle                                                         I do not w ish to subscribe. Do not remind me again.
                                                                                            Thanks,
                                                                                            Sandeep                                          Continue




                                                                                                3. October 23, 2012 10:17 AM   in response to: User124
                                                                                                Re: Discussion of Note:883743.1 (How To Deinstall/Uni

                                                                                  Guru          Sandeep,
                                                                              8009 points
                                                                                                Did you try the external deinstall tool mentioned in the Note R
                                                                              BPeasland
                                                                                                Is this the only Oracle softw are on the machine? If so, then y
                                                                                                oraInventory and start anew . Don't do this if there is more th


                                                                                                Cheers,
                                                                                                Brian




                                                                                                      4. October 26, 2012 7:17 AM   in response to:
                                                                                                      Re: Discussion of Note:883743.1 (How To Deinstal

                                                                                    New bie           Brian,
                                                                                    15 points
                                                                                                      I tried w ith external deinstall tool, how ever the problem
                                                                                   User124852
                                                                                                      Thanks,
                                                                                                      Sandeep




   References

   Oracle Database Installation Guide 11g Release 2 (11.2) Chapter 7
   NOTE:1351051.1 - Information Center: Install and Configure Database Server/Client Installations


         Related
         Products
                Oracle Database Products > Oracle Database > Oracle Database > Oracle Database - Enterprise Edition > Dataserver
                Installation and Relinking issue

https://support.oracle.com/epmos/faces/DocContentDisplay?_afrLoop=369276238851538&id=883743.1&_afrWindowMode=0&_adf.ctrl-state=15s0a78vp_86             5/6
2/6/13                                                                Document 883743.1
         Keywords
            11GR2; DE-INSTALL; DEINSTALL; ORACLE DATABASE; ORACLE HOME; UNINSTALL


         Back to Top




https://support.oracle.com/epmos/faces/DocContentDisplay?_afrLoop=369276238851538&id=883743.1&_afrWindowMode=0&_adf.ctrl-state=15s0a78vp_86   6/6

								
To top