Deinstall oracle 11g on linux deinstall oracle 11g on linuxFrom 11gR2, oracle provide us an deinstall tool. with that now we can easily remove oracle binaries. oracle has provided us with a delete tool since oracle11gR2. Now we can easily Delete oracle binary files. Below is the step: node1 [oracle] _ orcl> cd $ ORACLE_HOMEnode1 [oracle] _ orcl> cd deinstall node1 [oracle] _ orcl> ls-ltr-rwxr-xr-x 1 oracle dba 32343 Dec 16 2009 sshUserSetup. sh-rw-r -- 1 oracle dba 409 Aug 18 2010 readme.txt-rw-r -- 1 oracle dba 3466 Aug 18 2010 deinstall. xml-rwxr-xr-x 1 oracle dba 9780 May 10 2011 bootstrap. pl-rwxr-xr-x 1 oracle dba 18475 Jun 9 2011 deinstall. pldrwxr-xr-x 2 oracle Dba 4096 Feb 20 responsedrwxr-xr-x 2 oracle dba 4096 Feb 20 jlib-rwxr-xr-x 1 oracle dba 9655 Feb 20 deinstall node1 [oracle] _ orcl>. /deinstallChecking for required files and bootstrapping... please wait... location of logs/tmp/deinstall2012-04-19_01-29-47AM/logs/############ oracle deinstall & deconfig tool start ############ ############## check operation start ################ ######## [START] Install check configuration # Checking for existence of the Oracle home location/orcl/oracle/product/11.2.0.3Oracle Home type selected for deinstall is: oracle Single Instance DatabaseOracle Base selected for deinstall is:/orcl/oracleChecking for existence of central inventory location/orcl/oracle/oraInventoryChecking for sufficient temp space availability on node (s): 'node1' # [END] Install check configuration # Network Configuration check config STARTNetwork de-configuration trace file location: /tmp/deinstall2012-04-19_01-29-47AM/logs/netdc_check2012-04-19_01-30-16-AM.logSpecify all Single Instance listeners that are to be de-configured [LISTENER_orcl]: Network Configuration check config ENDDatabase Check Configuration STARTDatabase de-configuration trace file locat Ion:/tmp/deinstall2012-04-19_01-29-47AM/logs/databasedc_check2012-04-19_01-31-56-AM.logUse comma as separator when specifying list of values as inputSpecify the list of database names that are configured in this Oracle home [orcl]: ###### For Database 'orcl' ##### Single Instance DatabaseThe diagnostic destination location of the database: /orcl/oracle/dump01/oracle/orcl/diag/rdbms/orclStorage typ E used by the Database: The details of database (s) orcl have been discovered automatically. Do you still want to modify the details of orcl database (s )? [N]: Database Check Configuration ENDEnterprise Manager Configuration Assistant STARTEMCA de-configuration trace file location: /tmp/deinstall2012-04-19_01-29-47AM/logs/emcadc_check2012-04-19_01-32-05-AM.logChecking configuration for database orclEnterprise Manager Configuration Assistant ENDOracle Configuration Manager check STARTOCM check log file location:/tmp/deinstall2012-04-19_01-29-47AM/lo Gs // ocm_check1221.logOracle Configuration Manager check END ########################## check operation end #### ######################################## #### check operation summary ####################### Oracle Home selected for deinstall is: /orcl/oracle/product/11.2.0.3Inventory Location where the Oracle home registered is:/orcl/oracle/oraInventoryFollowing Single Instance listener (s) will be de-c Onfigured: LISTENER_orclThe following databases were selected for de-configuration: orclDatabase unique name: orclStorage used: No Enterprise Manager configuration to be updated for any database (s) no Enterprise Manager ASM targets to updateNo Enterprise Manager listener targets to migrateChecking the config status for CCROracle Home exists and Cr is configuredCCR check is finishedDo you want Continue (y-yes, n-no )? [N]: yA log of this session will be written to: '/tmp/deinstall2012-04-19_01-29-47AM/logs/deinstall_deconfig2012-04-19_01-30-14-AM.out' Any error messages from this session will be written: '/tmp/deinstall2012-04-19_01-29-47AM/logs/deinstall_deconfig2012-04-19_01-30-14-AM.err' ######################## clean operation start ### #################### Enterprise Manager Configuration Assistant STARTEMCA de-configuration trace file location: /tmp/deinstall2012-04-19_01-29-47AM/logs/emcadc_clean2012-04-19_01-32-05-AM.logUpdating Enterprise Manager ASM targets (if any) Updating Enterprise Manager listener targets (if any) Enterprise Manager Configuration Assistant ENDDatabase de-configuration trace file location: /tmp/deinstall2012-04-19_01-29-47AM/logs/databasedc_clean2012-04-19_01-32-09-AM.logDatabase Clean Configuration START orclThis operation may take few minutes. database Clean Configuration END orclNetwork Configuration clean config STARTNetwork de-configuration trace file location:/tmp/deinstall2012-04-19_01-29-47AM/logs/netdc_clean2012-04-19_01-33-54-AM.logDe-configuring Single Instance listener (s): LISTENER_orclDe-configuring listener: LISTENER_orclStopping listener: LISTENER_orclWarning: failed to stop listener. listener may not be running. deleting listener: LISTENER_orclListener deleted successfully. listener de-configured successfully. de-configuring Listener configuration file... listener configuration file de-configured successfully. de-processing ing Local Net Service Names configuration file... local Net Service Names configuration file de-configured successfully. de-processing ing backup files... backup files de-configured successfully. the network configuration has been cleaned up successfully. network Configuration clean config ENDOracle Configuration Manager clean STARTOCM clean log file location: /tmp/deinstall2012-04-19_01-29-47AM/logs // ocm_clean1221.logOracle Configuration Manager clean ENDSetting the force flag to falseSetting the force flag to cleanup the Oracle BaseOracle Universal Installer clean STARTDetach Oracle home '/orcl/oracle/product/ 11.2.0.3 'from the central inventory on the local node: doneDelete directory '/orcl/oracle/product/11.2.0.3' on the local node: DoneDelete directory '/orcl/oracle/oraInventory' on the local node: doneThe Oracle Base directory '/orcl/oracle' will not be removed on local node. the directory is not empty. oracle Universal Installer cleanup was successful. oracle Universal Installer clean END # [START] Oracle install clean # Clean install operation removing temporary directory '/tmp/deinstall2012-04-19_01-29-47AM' on node 'node1' # [END] Oracle install clean ########################### clean operation end ########## ###################################### CLEAN OPERATION SUMMARY ###################### Successfully de-configured the following database instances: orclFollowing Single Instance listener (s) were de-configured successfully: LISTENER_orclCleaning the config for CCRCleaning the CCR configuration by executing its binariesCCR clean is finishedSuccessfully detached Oracle home '/orcl/oracle/product/11.2.0.3' from the central inventory on the local node. successfully deleted directory '/orcl/oracle/product/11.2.0.3' on the local node. successfully deleted directory '/orcl/oracle/oraInventory' on the local node. oracle Universal Installer cleanup was successful. run 'rm-rf/etc/oraInst. loc 'as root on node (s) 'node1' at the end of the session. run 'rm-rf/opt/orclfmap' as root on node (s) 'node1' at the end of the session. oracle deinstall tool successfully cleaned up temporary directories. ######################################## ######################################## #### oracle deinstall & deconfig tool end #############