Thinking Out Loud

August 6, 2013

12c Deinstall

Filed under: 12c — mdinh @ 1:39 pm

After all the hacking I did trying to configure OGG 11.2.1.0.7 on 12c, I wanted to start anew.
Might I add, OGG 11.2.1.0.7 is not certified on 12c. So much for the ZERO downtime upgrade.

Caveat, I dropped database and ASM diskgroup before deinstall

DEINSTALL DATABASE

oracle@san:cdb01:/home/oracle
> ps -ef|grep oracle

oracle    2728     1  0 05:40 ?        00:00:02 /u01/app/oracle/product/12.1.0/grid/bin/ohasd.bin reboot
root      2935  2549  0 05:40 ?        00:00:00 sshd: oracle [priv]
oracle    2937  2935  0 05:41 ?        00:00:00 sshd: oracle@pts/0
oracle    2938  2937  0 05:41 pts/0    00:00:00 -bash
root      2980  2549  0 05:41 ?        00:00:00 sshd: oracle [priv]
oracle    2982  2980  0 05:41 ?        00:00:00 sshd: oracle@pts/1
oracle    2983  2982  0 05:41 pts/1    00:00:00 -bash
oracle    3294  2983  0 05:52 pts/1    00:00:00 ps -ef
oracle    3295  2983  0 05:52 pts/1    00:00:00 grep oracle

oracle@san:cdb01:/home/oracle
> echo $ORACLE_HOME

/u01/app/oracle/product/12.1.0/dbhome_1

oracle@san:cdb01:/home/oracle
> /u01/app/oracle/product/12.1.0/dbhome_1/deinstall/deinstall

Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u01/app/oraInventory/logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############

######################### CHECK OPERATION START #########################
## [START] Install check configuration ##

Checking for existence of the Oracle home location /u01/app/oracle/product/12.1.0/dbhome_1
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for sufficient temp space availability on node(s) : 'san.localdomain'

## [END] Install check configuration ##

Network Configuration check config START

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2013-08-06_05-53-45-AM.log

Network Configuration check config END

Database Check Configuration START

Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check2013-08-06_05-53-46-AM.log

Use comma as separator when specifying list of values as input

Specify the list of database names that are configured in this Oracle home [cdb01]:

###### For Database 'cdb01' ######

Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled Database) [2]:
Specify the list of nodes on which this database has instances [san]:
Specify the diagnostic destination location of the database [/u01/app/oracle/diag/rdbms/cdb01]:
Specify the storage type used by the Database ASM|FS []: ASM

Database Check Configuration END
Oracle Configuration Manager check START
OCM check log file location : /u01/app/oraInventory/logs//ocm_check4193.log
Oracle Configuration Manager check END

######################### CHECK OPERATION END #########################

####################### CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: /u01/app/oracle/product/12.1.0/dbhome_1
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
The following databases were selected for de-configuration : cdb01
Database unique name : cdb01
Storage used : ASM
Checking the config status for CCR
Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2013-08-06_05-53-44-AM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2013-08-06_05-53-44-AM.err'

######################## CLEAN OPERATION START ########################
Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_clean2013-08-06_05-55-09-AM.log
Database Clean Configuration START cdb01
This operation may take few minutes.
Database Clean Configuration END cdb01

Network Configuration clean config START

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2013-08-06_05-56-44-AM.log

De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.

De-configuring Local Net Service Names configuration file...
Local Net Service Names configuration file de-configured successfully.

De-configuring backup files...
Backup files de-configured successfully.

The network configuration has been cleaned up successfully.

Network Configuration clean config END

Oracle Configuration Manager clean START
OCM clean log file location : /u01/app/oraInventory/logs//ocm_clean4193.log
Oracle Configuration Manager clean END
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START

Detach Oracle home '/u01/app/oracle/product/12.1.0/dbhome_1' from the central inventory on the local node : Done

Delete directory '/u01/app/oracle/product/12.1.0/dbhome_1' on the local node : Done

The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is in use by Oracle Home '/u01/app/oracle/product/12.1.0/grid'.

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END

## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2013-08-06_05-53-05AM' on node 'san'

## [END] Oracle install clean ##

######################### CLEAN OPERATION END #########################

####################### CLEAN OPERATION SUMMARY #######################
Successfully de-configured the following database instances : cdb01
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
Successfully detached Oracle home '/u01/app/oracle/product/12.1.0/dbhome_1' from the central inventory on the local node.
Successfully deleted directory '/u01/app/oracle/product/12.1.0/dbhome_1' on the local node.
Oracle Universal Installer cleanup was successful.

Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################

############# ORACLE DEINSTALL & DECONFIG TOOL END #############

DEINSTALL GRID

oracle@san:+ASM:/home/oracle
> ps -ef|grep oracle

oracle    2728     1  0 05:40 ?        00:00:04 /u01/app/oracle/product/12.1.0/grid/bin/ohasd.bin reboot
root      2935  2549  0 05:40 ?        00:00:00 sshd: oracle [priv]
oracle    2937  2935  0 05:41 ?        00:00:00 sshd: oracle@pts/0
oracle    2938  2937  0 05:41 pts/0    00:00:00 -bash
root      2980  2549  0 05:41 ?        00:00:00 sshd: oracle [priv]
oracle    2982  2980  0 05:41 ?        00:00:00 sshd: oracle@pts/1
oracle    2983  2982  0 05:41 pts/1    00:00:00 -bash
oracle   10219  2938  0 05:58 pts/0    00:00:00 ps -ef
oracle   10220  2938  0 05:58 pts/0    00:00:00 grep oracle

oracle@san:+ASM:/home/oracle
> echo $ORACLE_HOME

/u01/app/oracle/product/12.1.0/grid

oracle@san:+ASM:/home/oracle
> /u01/app/oracle/product/12.1.0/grid/deinstall/deinstall

Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2013-08-06_05-58-34AM/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############

######################### CHECK OPERATION START #########################
## [START] Install check configuration ##

Checking for existence of the Oracle home location /u01/app/oracle/product/12.1.0/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Standalone Server
Oracle Base selected for deinstall is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/oracle/product/12.1.0/grid
Checking for sufficient temp space availability on node(s) : 'san.localdomain'
## [END] Install check configuration ##
Traces log file: /tmp/deinstall2013-08-06_05-58-34AM/logs//crsdc_2013-08-06_05-59-16AM.log
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2013-08-06_05-58-34AM/logs/netdc_check2013-08-06_05-59-16-AM.log
Specify all Oracle Restart enabled listeners that are to be de-configured [LISTENER]:
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /tmp/deinstall2013-08-06_05-58-34AM/logs/asmcadc_check2013-08-06_06-00-30-AM.log
Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/app/oracle/product/12.1.0/grid.
ASM Diagnostic Destination : /u01/app/oracle
ASM Diskgroups : +DATA1
ASM diskstring : <Default>
Diskgroups will be dropped
De-configuring ASM will drop all the diskgroups and their contents at cleanup time. This will affect all of the databases and ACFS that use this ASM instance(s).
 If you want to retain the existing diskgroups or if any of the information detected is incorrect, you can modify by entering 'y'. Do you want to modify above information (y|n) [n]: y
Specify the ASM Diagnostic Destination [/u01/app/oracle]:
Specify the diskstring []:
Specify the diskgroups that are managed by this ASM instance [+DATA1]:
De-configuring ASM will drop the diskgroups at cleanup time. Do you want deconfig tool to drop the diskgroups y|n [y]:
Database Check Configuration START
Database de-configuration trace file location: /tmp/deinstall2013-08-06_05-58-34AM/logs/databasedc_check2013-08-06_06-00-56-AM.log
Database Check Configuration END
######################### CHECK OPERATION END #########################

####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/oracle/product/12.1.0/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:null
Oracle Home selected for deinstall is: /u01/app/oracle/product/12.1.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following Oracle Restart enabled listener(s) will be de-configured: LISTENER
ASM instance will be de-configured from this Oracle home
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2013-08-06_05-58-34AM/logs/deinstall_deconfig2013-08-06_05-59-15-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2013-08-06_05-58-34AM/logs/deinstall_deconfig2013-08-06_05-59-15-AM.err'
######################## CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2013-08-06_05-58-34AM/logs/databasedc_clean2013-08-06_06-00-58-AM.log
ASM de-configuration trace file location: /tmp/deinstall2013-08-06_05-58-34AM/logs/asmcadc_clean2013-08-06_06-00-58-AM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2013-08-06_05-58-34AM/logs/netdc_clean2013-08-06_06-01-43-AM.log
De-configuring Oracle Restart enabled listener(s): LISTENER
De-configuring listener: LISTENER
 Stopping listener: LISTENER
 Listener stopped successfully.
 Unregistering listener: LISTENER
 Listener unregistered successfully.
 Deleting listener: LISTENER
 Listener may not exist.
Listener de-configured successfully.
De-configuring Listener configuration file...
Listener configuration file de-configured successfully.
De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.
De-configuring Local Net Service Names configuration file...
Local Net Service Names configuration file de-configured successfully.
De-configuring backup files...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END

---------------------------------------->
Run the following command as the root user or the administrator on node "san".
/tmp/deinstall2013-08-06_05-58-34AM/perl/bin/perl -I/tmp/deinstall2013-08-06_05-58-34AM/perl/lib -I/tmp/deinstall2013-08-06_05-58-34AM/crs/install /tmp/deinstall2013-08-06_05-58-34AM/crs/install/roothas.pl -force -deconfig -paramfile "/tmp/deinstall2013-08-06_05-58-34AM/response/deinstall_OraGI12Home1.rsp"
Press Enter after you finish running the above commands
<----------------------------------------
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START
Detach Oracle home '/u01/app/oracle/product/12.1.0/grid' from the central inventory on the local node : Done
Delete directory '/u01/app/oracle/product/12.1.0/grid' on the local node : Done
Delete directory '/u01/app/oraInventory' on the local node : Done
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/log/debug'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/log/test'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/incpkg'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata_dgif'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/incident'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata_pv'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/cdump'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/sweep'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/alert'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/stage'. The directory is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/trace/ora_24887_140444747064864.trc'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/trace/ora_24887_140444747064864.trm'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/trace/ora_24930_139873769408064.trm'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/trace/ora_24930_139873769408064.trc'. The file is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/trace'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/log/debug'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/log/test'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/log'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/incpkg'. The directory is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/INC_METER_INFO.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_PACKAGE.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/HM_INFO.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/HM_RUN.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/EM_DIAG_JOB.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/DDE_USER_INCIDENT_ACTION_MAP.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_PROGRESS_LOG.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/PICKLEERR.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/EM_USER_ACTIVITY.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/VIEWCOL.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/PROBLEM.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/INCIDENT_FILE.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/INC_METER_IMPT_DEF.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/INC_METER_PK_IMPTS.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/DFW_CONFIG_CAPTURE.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/DDE_USER_ACTION_PARAMETER.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/SWEEPERR.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/INCIDENT.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_PACKAGE_INCIDENT.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_PACKAGE_HISTORY.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/DDE_USER_ACTION_DEF.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/ADR_INVALIDATION.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/DFW_CONFIG_ITEM.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/DDE_USER_ACTION.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/INC_METER_SUMMARY.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/INCCKEY.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/DDE_USER_ACTION_PARAMETER_DEF.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/INC_METER_CONFIG.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_FILE_COPY_LOG.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_REMOTE_PACKAGE.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_CONFIGURATION.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/HM_MESSAGE.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/ADR_CONTROL.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_FILE_METADATA.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/VIEW.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/HM_FDG_SET.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/HM_RECOMMENDATION.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/IPS_PACKAGE_FILE.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/EM_TARGET_INFO.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/DDE_USER_INCIDENT_TYPE.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/HM_FINDING.ams'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata/AMS_XACTION.ams'. The file is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata_dgif'. The directory is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_4294531585_3603614071.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1919660852_3403801080.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_4123867812_464947195.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_3172236303_1050790107.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_58174112_2445060518.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1_2089646048.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_2087871662_4269132395.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1096102262_3454819329.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1618_3044626670.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_2020575435_1685934094.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_497148109_3359240142.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1485693922_2937733126.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_53421_2401899358.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_117463809_1252689677.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_423666793_1876373544.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_2087871759_1054152112.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1479503217_1058909787.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1919660854_3704060414.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_53419_3606358678.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_53417_2985279723.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_3216766131_2188903675.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1762885_3826749810.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_2876149918_855262320.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1506961005_3222638125.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_994187642_3287667720.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_3218196182_2691928421.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1919660852_3200803573.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_3063883707_458774509.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1317892465_764739657.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_3219651335_1369860572.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1477507928_3848095858.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1096102193_3488045378.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_2904361128_3186785985.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1744845641_3861997533.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_3216668543_3129272988.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_2569157681_2857696958.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1737460353_941080040.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_2099277876_66242055.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1521063874_363843526.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_1762783_4031814035.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_2485072945_164397129.lck'. The file is in use.
Failed to delete the file '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck/AM_53417_1688101061.lck'. The file is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/lck'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/incident'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/metadata_pv'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/cdump'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/sweep'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/alert'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80/stage'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root/host_420771725_80'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/diag/asmtool/user_root'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/diag/asmtool'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/diag'. The directory is not empty.
The Oracle Base directory '/u01/app/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/deinstall2013-08-06_05-58-34AM' on node 'san'
## [END] Oracle install clean ##

######################### CLEAN OPERATION END #########################

####################### CLEAN OPERATION SUMMARY #######################
ASM instance was de-configured successfully from the Oracle home
Following Oracle Restart enabled listener(s) were de-configured successfully: LISTENER
Oracle Restart was already stopped and de-configured on node "san"
Oracle Restart is stopped and de-configured successfully.
Successfully detached Oracle home '/u01/app/oracle/product/12.1.0/grid' from the central inventory on the local node.
Successfully deleted directory '/u01/app/oracle/product/12.1.0/grid' on the local node.
Successfully deleted directory '/u01/app/oraInventory' on the local node.
Oracle Universal Installer cleanup was successful.

Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'san' at the end of the session.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'san' at the end of the session.
Run 'rm -rf /etc/oratab' as root on node(s) 'san' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################

############# ORACLE DEINSTALL & DECONFIG TOOL END #############

RUN AS ROOT

[root@san ~]# /tmp/deinstall2013-08-06_05-58-34AM/perl/bin/perl -I/tmp/deinstall2013-08-06_05-58-34AM/perl/lib -I/tmp/deinstall2013-08-06_05-58-34AM/crs/install /tmp/deinstall2013-08-06_05-58-34AM/crs/install/roothas.pl -force -deconfig -paramfile “/tmp/deinstall2013-08-06_05-58-34AM/response/deinstall_OraGI12Home1.rsp”
Using configuration parameter file: /tmp/deinstall2013-08-06_05-58-34AM/response/deinstall_OraGI12Home1.rsp

PRKO-2573 : ONS daemon is already stopped.
CRS-4133: Oracle High Availability Services has been stopped.
2013/08/06 06:03:21 CLSRSC-337: Successfully deconfigured Oracle Restart stack

[root@san ~]# rm -rf /opt/ORCLfmap
[root@san ~]# rm -rf /u01/app/oracle/diag

2 Comments »

  1. Please help me sir…I have a desperate question regarding the deinstall procedure…When I press enter after executing the command as root user…The output does not continue on the original terminal and I keep getting this message “Press Enter after you finish running the above commands”… I have searched the whole internet for this and I simply found nothing… I am trying to deinstall oracle grid infrastructure 11gR2 on Linux Redhat 5…What’s wrong with what I had already done??? I would be very grateful if you help me….Thanking you in advance.

    Comment by Mohammed — August 6, 2013 @ 6:56 pm | Reply

  2. […] Uninstalling Oracle Database 12c […]

    Pingback by Oracle Database 12c (12.1) Installation and New Features | DBLinks Consulting Ltée — August 22, 2013 @ 10:38 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.