Guenadi N Jilevski's Oracle BLOG


How to Clean Up After a Failed 11g CRS Install in Linux

How to Clean Up After a Failed 11g CRS Install in Linux

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 script then the script from the
$ORA_CRS_HOME/install directory on any nodes you are removing CRS from. Running these scripts should be sufficent to clean up your CRS install. accepts options like nosharedvar/sharedvar, and nosharedhome/sharedhome. Make yourself familiar with these options by reading the Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide. If for some reason you have to manually remove the install due to problems with the scripts, continue to step 2:

 2. Stop the Nodeapps on all nodes:

    srvctl stop nodeapps -n

3. Prevent CRS from starting when the node boots. To do this issue the following

as root:

rm /etc/oracle/*
rm -f /etc/init.d/init.cssd
rm -f /etc/init.d/
rm -f /etc/init.d/init.crsd
rm -f /etc/init.d/init.evmd
rm -f /etc/rc2.d/
rm -f /etc/rc2.d/
rm -f /etc/rc3.d/
rm -f /etc/rc3.d/
rm -f /etc/rc5.d/
rm -f /etc/rc5.d/
rm -Rf /etc/oracle/scls_scr
rm -f /etc/
cp /etc/inittab.orig /etc/inittab

4. If they are not already down, kill off EVM, CRS, and CSS processes or reboot

the node:

ps -ef | grep crs
kill <crs pid>
ps -ef | grep evm
kill <evm pid>
ps -ef | grep css
kill <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


rm -f /tmp/.oracle


6. Remove the ocr.loc

Usually 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.

9. Clean out the OCR and Voting Files.

10. The /tmp/CVU* dir should be cleaned also to avoid the cluvfy misreporting.

11. It is good practice to reboot the node before starting the next install.

12.If you would like to re-install CRS, follow the steps in the RAC Installation manual.

For further information See Note ID: 239998.1

June 1, 2010 - Posted by | oracle

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: