CRS-4563: Insufficient user privileges

On a 11gR2 server, I was unable to start HAS>crsctl start has
CRS-4563: Insufficient user privileges.
CRS-4000: Command Start failed, or completed with errors.

After some investigation, found that OLR was missing.

Current OLR location is pointing to /u01/app/oracle/product/11.2.0/grid/cdata/localhost/serv1.olr>cat olr.loc
crs_home=/u01/app/oracle/product/11.2.0/grid>ocrcheck -config -local
Oracle Local Registry configuration is :
Device/File Name : /u01/app/oracle/product/11.2.0/grid/cdata

But physical file is missing>
ls -al /u01/app/oracle/product/11.2.0/grid/cdata/localhost/
localhost/serv1.olr not found

So tried restoring it using the OLR backup (which needs root prives)

Note: Normally backup location would be 
ocrconfig -local -restore 
Which error out with PROTL-16: Internal Error

Ocrconfig log reports missing file

cat ocrconfig_147620.log
Oracle Database 11g Clusterware Release - 
Production Copyright 1996, 2009 Oracle. All rights reserved.
2011-12-22 00:36:33.041: [ OCRCONF][1]ocrconfig starts...
2011-12-22 00:36:33.041: [ OCROSD][1]utopen:6m':failed in stat 
OCR file/disk /u01/app/oracle/product/11.2.0/grid/cdata/
localhost/serv1.olr,errno=2,os err string=No such file 
or directory
2011-12-22 00:36:33.041: [OCROSD][1]utopen:7:failed to open 
any OCR file/disk, errno=2, os err string=No such file or 
directory [ default][1]u_set_gbl_comp_error: OCR context was NULL
2011-12-22 00:36:33.041: [ OCRRAW][1]phy_rec:1:
could not open OCR device
2011-12-22 00:36:33.041: [OCRCONF][1]Failed to restore OCR/OLR 
from [/u01/app/oracle/product/11.2.0/grid/cdata/serv1/
2011-12-22 00:36:33.041: [ OCRCONF][1]Exiting [status=failed]...

Create dummy file

touch /u01/app/oracle/product/11.2.0/grid/cdata/localhost/

Restore again using the same command

ocrconfig -local -restore /u01/app/oracle/product/11.2.0/grid/
This entry was posted in Oracle Cluster Ready Services, Oracle Real Application Cluster and tagged , , , , . Bookmark the permalink.

2 Responses to CRS-4563: Insufficient user privileges

  1. Cialis says:

    Thanks for this !

  2. Microgynon says:

    Thanks for this comment!

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