Oracle RAC 11gR2 – rootcrs.pl/roothas.pl -unlock hangs

Oracle RAC 11gR2 – rootcrs.pl/roothas.pl -unlock hangs

In order to patch the Oracle Grid Infrastructure, we will need to unlock the $GRID_HOME by running either of the command.

# $GRID_HOME/crs/install/rootcrs.pl -unlock
# $GRID_HOME/crs/install/roothas.pl -unlock

If the command hangs, please check the audit directory under $GRID_HOME/rdbms/audit.

rootcrs.pl -unlock or roothas.pl command will go through all the files in the audit directory and change the ownership and permission individually. If the list is huge (1 of my customers had 100k of files!), it will appear to be hanging.

It is part of the operational duty to house keep the audit directory. You may choose to run a cronjob to purge the audit files older than 30 days.

For more information, please refer to MOS [DOC ID 1352884.1].

Cheers,
Wei Shan

Advertisements
  1. Leave a comment

Leave a Reply

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

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: