CRS-4995: The command ‘Delete resource’ is invalid in crsctl

SITUATION

Trying to delete the database resource “ora.RACTEST.db” by using CRSCTL, because ORACLE_HOME has been uninstalled, but the following error occurs.

$crsctl delete resource ora.RACTEST.db
CRS-4995: The command 'Delete resource' is invalid in crsctl. Use srvctl for this command.

Subscribe to get access

Read more of this content when you subscribe today.

CRS-4995: The command ‘Setperm resource’ is invalid in crsctl

While running “crsctl setperm” from 12.1.0.2 GI environment, CRS-4995 error occurred.

1. Run the command as grid user.

$ crsctl getperm resource ora.testdb.test.svc 
Name: ora.testdb.test.svc
owner:oracle:rwx,pgrp:oinstall:r--,other::r--,group:dba:r-x,user:grid:r-x

$crsctl setperm resource ora.testdb.test.svc -u 'pgrp:oinstall:r-x' CRS-4995: The command 'Setperm resource' is invalid in crsctl. Use srvctl for this command.

Subscribe to get access

Read more of this content when you subscribe today.