Wednesday, September 19, 2018

CRS-0245: User doesn't have enough privilege to perform the operation


Reason of CRS-0245 is that you are executing “srvctl” command to perform a task that is not authorized for current logged in user. For example, I was trying to remove a RAC database from CRS using srvctl and I faced this error because I was executing this command as “grid” user whereas I was supposed to execute this command as “oracle” user that is RDBMS software owner.
[grid@salman11 ~]$ srvctl remove database -d salman12 -f
PRKO-3077 : Failed to remove database salman12: PRCD-1032 : Failed to remove database resource salman12
PRCR-1028 : Failed to remove resource ora.salman12.db
PRCR-1072 : Failed to unregister resource ora.salman12.db
CRS-0245:  User doesn't have enough privilege to perform the operation

Executing same command as “oracle” user ended in success.
[oracle@salman11 ~]$ srvctl remove database -d salman12 –f

[oracle@salman11 ~]$ srvctl status database -d salman12
PRCD-1120 : The resource for database salman12 could not be found.
PRCR-1001 : Resource ora.salman12.db does not exist

No comments:

Post a Comment

Popular Posts - All Times