Oracle GI 11.2.0.1/11.2.0.3 - standalone ASM, no RAC
Oracle db 11.2.0.1
Oracle Linux 5.6 x86-64
This last weekend I upgraded my GI from 11.2.0.1 to 11.2.0.2.0
Old home was /u01/app/oracle/product/11.2.0/grid
New home is /u01/app/oracle/product/11.2.0.2/grid
database home is /u01/app/oracle/product/11.2.0/db_1
Now I would like to clean up by deleting the old GI home, and am testing on a sandbox under VBox. Same system as I used to test the upgrade procedure, and it looks as close to the live box as I can get it.
Of course, with 11g, the OUI doesn't do installs any more, and the supplied deinstall file also has issues.
Found MOS note 883743.1, downloaded linux.x64_11203_deinstall.zip and unzipped it, then ran that deinstall.
The deinstall failed, and the really surprising thing is it complained that a whole bunch of files in the old home are still in use ..
oracle:vbdwprd$
oracle:vbdwprd$ ./deinstall -home /u01/app/oracle/product/11.2.0/grid
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/11.2.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/11.2.0.2/grid
Checking for sufficient temp space availability on node(s) : 'vbdwprod.vbdomain'
## [END] Install check configuration ##
Traces log file: /u01/app/oraInventory/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2013-02-05_11-25-55-AM.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_check2013-02-05_11-25-57-AM.log
ASM was not detected in the Oracle Home
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/oracle/product/11.2.0.2/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/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
The home being deconfigured is NOT a configured Grid Infrastructure home (/u01/app/oracle/product/11.2.0.2/grid)
ASM was not detected in the Oracle Home
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-02-05_11-25-47-AM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2013-02-05_11-25-47-AM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean2013-02-05_11-26-02-AM.log
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2013-02-05_11-26-02-AM.log
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
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/11.2.0/grid' from the central inventory on the local node : Done
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid/auth/crs/vbdwprod'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid/auth/crs'. The directory is not empty.
and so on .. to end with
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid/ctss'. The directory is not empty.
Failed to delete the directory '/u01/app/oracle/product/11.2.0/grid'. The directory is not empty.
Delete directory '/u01/app/oracle/product/11.2.0/grid' on the local node : Failed <<<<
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/11.2.0/dwprd'.
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2013-02-05_11-25-45AM' on node 'vbdwprod'
## [END] Oracle install clean ##
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
The home being deconfigured is NOT a configured Grid Infrastructure home (/u01/app/oracle/product/11.2.0.2/grid)
Successfully detached Oracle home '/u01/app/oracle/product/11.2.0/grid' from the central inventory on the local node.
Failed to delete directory '/u01/app/oracle/product/11.2.0/grid' on the local node.
Oracle Universal Installer cleanup was successful.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END #############
So where do I go from here?