My Oracle Support Banner

srvctl add database fails with CRS-2566 due to lack of permissions on application vip resources (Doc ID 1523574.1)

Last updated on FEBRUARY 21, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On a cluster which has application VIPs configured adding a database resource via srvctl fails with error:

$ srvctl add database -d <dbname> -o <oracle_home>
PRCR-1006 : Failed to add resource ora.<DBNAME>.db for <DBNAME>
PRCR-1071 : Failed to register or update resource ora.<DBNAME>.db
CRS-2566: User 'oracle' does not have sufficient permissions to operate on resource 'sap.xxx.xxxvip', which is part of the dependency specification.

User oracle has the following id:

$ id oracle
uid=100(oracle) gid=200(dba) groups=200(dba),300(oper),250(oinstall)

 
The application vip sap.xxx.xxxvip ACL is like:

$ crsctl stat res sap.xxx.xxxvip -f |grep ACL
ACL=owner:root:rwx,pgrp:root:r-x,other::r--,user:<user>:r-x,group:<group>:r-x

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.