How To Deinstall/Uninstall Oracle Home In 11gR2 (Doc ID 883743.1)
How To Deinstall/Uninstall Oracle Home In 11gR2 (Doc ID 883743.1)
In this Document
Goal |
Ask Questions, Get Help, And Share Your Experiences With This Article |
Solution |
References |
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [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.
Solution
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
* 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.4.0.
The De-install utility is available for download from the following links:
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 and use the 11.2.0.4.0 version):
%ORACLE_HOME%\deinstall\deinstall.bat (windows platforms)
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:
$ /
% \
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 /
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:
4. If you want to do a non-interactive deinstall you can use the -silent option with a parameter file.
Example:
An example response file is located in /deinstall/response/deinstall.rsp.tmpl. You can modify and use it.
5. Check the logs created under
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
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).
|
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1156325/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【DBA】Relinking Oracle Home 常見問題 (Doc ID 2048232.1)Oracle
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- Oracle 下載最新psu (Doc ID 2118136.2)Oracle
- oracle11g: Scheduler Maintenance Tasks or Autotasks (Doc ID 756734.1)OracleAINaN
- Can GoldenGate Replicate An Oracle Table That Contains Only CLOB Column(s)? (Doc ID 971833.1)GoOracleAI
- expdp/impdp變慢 (Doc ID 2469587.1)
- Reading and Understanding Systemstate Dumps (Doc ID 423153.1)
- How To Turn SNMP On/Off ? [ID 472530.1]
- 【RAC】Oracle 12c以及以上版本的diagsnap是什麼? (Doc ID 2469643.1)Oracle
- RMAN -- Frequently Asked Question (FAQ) (Doc ID 469777.1)
- PRCT-1011 : Failed to run "oifcfg" (Doc ID 1380183.1)AI
- Oracle 11GR2 Duplicate from BackupOracle
- [轉帖]Release Schedule of Current Database Releases (Doc ID 742060.1)Database
- What is OPAQUE_TRANSFORM Hint and how to Control it [ID 780503.1]OpaqueORM
- Solaris 10.5 安裝Oracle 11gR2Oracle
- Physical Standby Switchover_status Showing Not Allowed. (Doc ID 1392763.1)
- How Oracle Store Number internal(zt)Oracle
- How to Increase CSS Misscount in single instance ASM installations [ID 729878.1]CSSASM
- Oracle RAC 11gR2開啟歸檔Oracle
- $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithOracleAI
- Permissions 0755 for '/home/lonecloud/.ssh/id_rsa' are too open.Cloud
- 11g-Reduce Transportable Tablespace Downtime using XTTS (Doc ID 1389592.1)TTS
- How to redirect to a specific web page after sign out from Entra IDWeb
- How to Install EMC PowerPath on Oracle VM 3.4Oracle
- 備份與恢復oracle_homeOracle
- Install/uninstall .deb files
- Oracle 19c - 手動升級到 Non-CDB 19c 的完整核對清單 (Doc ID 2577572.1)Oracle
- Oracle 11gR2 ASM例項記憶體管理OracleASM記憶體
- ORACLE 11GR2 RAC的網路規劃解析Oracle
- 12c DG新特性 - Active Data Guard Far Sync (Doc ID 2179719.1)
- 【GRID】Grid Infrastructure 啟動的五大問題 (Doc ID 1526147.1)ASTStruct
- 【DATAGUARD】Data Guard 12C 新特性:Far Sync Standby (Doc ID 2179719.1)
- How To Deal With Split Brain In Oracle 19c RacAIOracle
- 操作規範(四)——Linux 5.4安裝Oracle 11gR2LinuxOracle
- Oracle Linux7下部署oralce 11gr2 dataguardOracleLinux
- ORA-04063: package body SYS.DBMS_REGISTRY_SYS has errors (Doc ID 2165402.1)PackageError