Step by step to clean up the oracle 10g RAC environment that fails to be installed due to problems with the previous installation of clusterware, so reinstall the environment, but each time you execute the root. sh always has Failure at final check of Oracle CRS stack. 10. start querying questions. the previously installed crs is not deleted. the following is a post about How to Clean and delete crs.10g RAC: How to Clean Up After a Failed CRS Install Not cleaning up a failed CRS install can cause problems like node reboots. follow these steps to clean up a failed CRS install: 1. run the rootdelete. sh then the rootdeinsta Ll. sh script from the $ ORA_CRS_HOME/install directory. running these scripts shoshould be sufficentto clean up your CRS install. if you have any problems with these scriptsplease open a service request. if for some reason you have to manually remove the install due to problemswith the scripts, continue to step 2: 2. stop the Nodeapps on all nodes: srvctl stop nodeapps-n <node name> 3. prevent CRS fro M starting when the node boots. to do this issue the followingas root: Sun: rm/etc/init. d/init.css drm/etc/init. d/init. crsrm/etc/init. d/init. crsdrm/etc/init. d/init. evmdrm/etc/rc3.d/K96init. crsrm/etc/rc3.d/S96init. crs rm-Rf/var/opt/oracle/scls_scr rm-Rf/var/opt/oracle/oprocdrm/etc/inittab. crscp/etc/inittab. orig/etc/inittab Linux: rm-f/etc/init. d/init.css drm-f/etc/init. d/init. crsrm- F/etc/init. d/init. crsdrm-f/etc/init. d/init. evmdrm-f/etc/rc2.d/K96init. crsrm-f/etc/rc2.d/S96init. crsrm-f/etc/rc3.d/K96init. crsrm-f/etc/rc3.d/S96init. crsrm-f/etc/rc5.d/K96init. crsrm-f/etc/rc5.d/S96init. crs rm-Rf/etc/oracle/scls_scrrm-f/etc/inittab. crscp/etc/inittab. orig/etc/inittab HP-UX: rm/sbin/init. d/init.css drm/sbin/init. d/init. crsrm/sbin/init. d/init. crsdrm/sbin/init. d/I Nit. evmd rm/sbin/rc2.d/K960init. crs rm/sbin/rc2.d/K001init. crsrm/sbin/rc3.d/K960init. crsrm/sbin/rc3.d/S960init. crs rm-Rf/var/opt/oracle/scls_scr rm-Rf/var/opt/oracle/oprocdrm/etc/inittab. crscp/etc/inittab. orig/etc/inittab HP Tru64: rm/sbin/init. d/init.css drm/sbin/init. d/init. crsrm/sbin/init. d/init. crsdrm/sbin/init. d/init. evmdrm/sbin/rc3.d/K96init. crsrm/sbin/rc3.d/S96init. crs rm-R F/var/opt/oracle/scls_scr rm-Rf/var/opt/oracle/oprocdrm/etc/inittab. crscp/etc/inittab. orig/etc/inittab ibm aix: rm/etc/init.css drm/etc/init. crsrm/etc/init. crsdrm/etc/init. evmdrm/etc/rc. d/rc2.d/K96init. crsrm/etc/rc. d/rc2.d/S96init. crs rm-Rf/etc/oracle/scls_scr rm-Rf/etc/oracle/oprocdrm/etc/inittab. crscp/etc/inittab. orig/etc/inittab 4. if they are not already down, kill off EVM, C RS, and CSS processes or rebootthe node: ps-ef | grep crskill <crs pid> ps-ef | grep evmkill <evm pid> ps-ef | grep csskill <css pid> Do not kill any OS processes, for example icssvr_daemon process! 5. if there is no other Oracle software running (like listeners, DB's, etc ...), you can remove the files in/var/tmp /. oracle or/tmp /. oracle. example: rm-f/var/tmp /. oracle or rm-f/tmp /. oracle 6. remove the ocr. locUsually the ocr. loc can be found at/etc/oracle 7. de-install the CRS home in the Oracle Universal Installer 8. remove the CRS install location: rm-Rf <CRS Install Location>/* 9. clea N out the OCR and Voting Files with dd commands. example: dd if =/dev/zero of =/dev/rdsk/V1064_vote_01_20m.dbf bs = 8192 count = 2560 dd if =/dev/zero of =/dev/rdsk/ocrV1064_100m.ora bs = 8192 count = 12800 If you placed the OCR and voting disk on a shared filesystem, remove them. if you are removing the RDBMS installation, also clean out any ASM disks ifthey have already been used. 10.If you wowould like to re -Install CRS, follow the steps in the RAC Installation manual. If an error is reported during clusterware Installation, you must first clear the installed cluserware before re-Installation. Otherwise, the next Installation may be affected. Generally, you only need to run the rootdelete. sh and rootdeinstall. sh scripts under $ ORA_CRS_HOME/install/on each node in sequence. You can also manually delete the node by performing the following steps: 1. stop nodeappssrvctl stop nodeapps-n nodename2 on all nodes, and delete the crs Automatic startup program Sun: rm/etc/init. d/init.css drm/etc/init. d/init. crsrm/etc/init. d/init. crsdrm/etc/init. d/init. evmdrm/etc/rc3.d/K96init. crsrm/etc/rc3.d/S96init. crs rm-Rf/var/opt/oracle/scls_scr rm-Rf/var/opt/oracle/oprocdrm/etc/inittab. crscp/etc/inittab. orig/etc/inittabLinux: rm/etc/oracle/* rm-f/etc/init. d/init.css drm-f/etc/init. d/init. crsrm-f/etc/init. d/init. crsdrm-f/etc/init. d/init. evmdrm-f/etc/rc2.d/K96init. crsrm-f/etc/rc2.d/S96init. crsrm-f/etc/rc3.d/K96init. crsrm-f/etc/rc3.d/S96init. crsrm-f/etc/rc5.d/K96init. crsrm-f/etc/rc5.d/S96init. crs rm-Rf/etc/oracle/scls_scrrm-f/etc/inittab. crscp/etc/inittab. orig/etc/inittabHP-UX: rm/sbin/init. d/init.css drm/sbin/init. d/init. crsrm/sbin/init. d/init. crsdrm/sbin/init. d/init. evmd rm/sbin/rc2.d/K960init. crs rm/sbin/rc2.d/K001init. crsrm/sbin/rc3.d/K960init. crsrm/sbin/rc3.d/S960init. crs rm-Rf/var/opt/oracle/scls_scr rm-Rf/var/opt/oracle/oprocdrm/etc/inittab. crscp/etc/inittab. orig/etc/inittabHP Tru64: rm/sbin/init. d/init.css drm/sbin/init. d/init. crsrm/sbin/init. d/init. crsdrm/sbin/init. d/init. evmdrm/sbin/rc3.d/K96init. crsrm/sbin/rc3.d/S96init. crs rm-Rf/var/opt/oracle/scls_scr rm-Rf/var/opt/oracle/oprocdrm/etc/inittab. crscp/etc/inittab. orig/etc/inittabIBM AIX: rm/etc/init.css drm/etc/init. crsrm/etc/init. crsdrm/etc/init. evmdrm/etc/rc. d/rc2.d/K96init. crsrm/etc/rc. d/rc2.d/S96init. crs rm-Rf/etc/oracle/scls_scr rm-Rf/etc/oracle/oprocdrm/etc/inittab. crscp/etc/inittab. orig/etc/inittab3, kill css/crs/evm process, and reboot node ps-ef | grep css/crs/evmkill-9 processid4, delete/tmp /. oracle or/var/tmp /. invalid lerm-f/tmp /. oracle or rm-f/var/tmp /. oracle5. Delete ocr. locrm-f/etc/oracle/orc. loc6, unmount crs7 with oracle universal installer, delete the crs installation directory rm-Rf crs_install_dir8, clear vote disk and ocr (bare device) with dd) dd if =/dev/zero f =/dev/votedisk_device bs = 8192 count = 2560dd if =/dev/zero f =/dev/ocr_device bs = 8192 count = 12800 clear/etc /oratab if [$ USER = "oracle"]; then if [$ SHELL = "/bin/ksh"]; then ulimit-p 16384 ulimit-n 65536 else ulimit-u 16384-n 65536 fi