Relinking Grid Infrastucture Binaries

I recently ran into several issues while installing the 11.2.0.2 GI.  Most of these issues were due to the admins designing the system that caused several installs and uninstalls.  On the final install everything appeared to be in order until I tried to start ASMCA to add diskgroups.  I received the error message an earlier version of ASM was running and in order to upgrade I needed to start ASMCA for the earlier version.  I only ever had one version installed so this was a faulty error message.

After reviewing the system I decided to relink the GI binaries:

As ROOT:

cd $GID_HOME/crs/install

perl rootcrs.pl -unlock — this stops the clusterware and sets the permissions for root

As the Grid Infrastructure Home

$GRID_HOME/bin/relink

as ROOT:

cd GRID_HOME/rdbms/install

./rootadd_rdbms.sh

cd GRID_HOME/crs/install

perl rootcrs.pl -patch  — Restarts the Clusterware and sets permissions

There is a bug that you may encountered with rootcrs.pl.  I overcame the issue by running root.sh again from the Grid home as the root user.

Once completed ASMCA started without issue.

Advertisements

Tagged: ,

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: