My Oracle Support Banner

PRCD-1229 : An attempt to access configuration of database <db_name> was rejected (Doc ID 2214084.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to 12.2 BETA1 [Release 10.2 to 12.2]
Information in this document applies to any platform.


GI srvctl command fails: 

$ srvctl stop database -d <db_name>
PRCD-1229 : An attempt to access configuration of database <db_name> was rejected
because its version differs from the program version
Instead run the program from /u01/app/oracle/product/12.1.0/dbhome_1.

If you run the srvctl with same environmental settings from 12.1.0 home you will get java.lang.NoSuchFieldError: override_name, as below:

[oracle node1 trace]$ /u01/app/oracle/product/12.1.0/dbhome_1/bin/srvctl stop database -d <DB_NAME>
Exception in thread "main" java.lang.NoSuchFieldError: override_name
at oracle.ops.mgmt.has.HASContextNative.allocHASContext(Native Method)
at oracle.ops.mgmt.has.HASContext.<init>(
at oracle.ops.mgmt.has.HASContext.getInstance(
at oracle.ops.opsctl.OPSCTLDriver.execute(
at oracle.ops.opsctl.OPSCTLDriver.main(



The issue can happen after upgrading database  and forgot to execute srvctl upgrade,hence the version of the db resource was still in previous version, which lead to the same error.



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

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

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