Failure at scls_scr_create with code 1

With 11.2 database, if the hostname is changed we’ll see following error while starting the HAS services

dev-srv-20:+ASM:/home/ora11gr2>crsctl start has
Failure at scls_scr_create with code 1
Internal Error Information:
  Category: -1
Operation: has_ha_privs
  Location: scrcreate5
  Other: need ha priv
  System Dependent Information: 0

 
CRS-4000: Command Start failed, or completed with errors.

To make sure, it is due to change in hostname check the directory in the following path. As we can see the hostname with which HAS was originally configured is different from current hostname.

dev-srv-20:+ASM:/etc/oracle/scls_scr>ls -al
total 0
drwxr-xr-x 3 root epsdba  80 2009-05-12 08:36 .
drwxr-xr-x 5 root epsdba 200 2010-03-08 14:27 ..
drwxr-xr-x 4 root epsdba  96 2009-05-12 08:36 dev-srv-25


So to fix the problem

1. De-configure the CRS

$GRID_HOME/crs/install/rootcrs.pl -deconfig -force

2. Reconfigure CRS

$GRID_HOME/crs/install/roothas.pl

Metalink Note 4632899.8 talks about similar behaviour.

Advertisements
This entry was posted in Oracle 11.2.0.x, Oracle Cluster Ready Services and tagged . Bookmark the permalink.

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