Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

SQLState: 42000 Message: ORA-01031: insufficient privileges

SA-100365

Summary



The PersistClusterState agent activity fails with Oracle Insufficient Privileges error.


Error Messages



[EDULER_THREAD_POOL_4] [STANDARD] [ ] [ ] (a.DatastoreMetadataServiceImpl) ERROR   - Error querying indices metadata from db
com.pega.pegarules.pub.database.DatabaseException: Error querying index metadata: code: 1031 SQLState: 42000 Message: ORA-01031: insufficient privileges

DatabaseException caused by prior exception: java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges

 | SQL Code: 1031 | SQL State: 42000

    at com.pega.platform.datastore.metadata.RDBMetadataAPIImpl.getDatabaseIndices(RDBMetadataAPIImpl.java:181) ~[datastore.jar:?]
    at com.pega.platform.datastore.metadata.RDBMetadataAPIImpl.getDatabaseIndices(RDBMetadataAPIImpl.java:95) ~[datastore.jar:?]
    at com.pega.platform.logicaldatastore.metadata.DatastoreMetadataServiceImpl.getDatastoreIndices(DatastoreMetadataServiceImpl.java:70) ~[logical-datastore.jar:?]
    at com.pega.pegarules.management.internal.system.operations.ClusterManagementAPI.getTableIndices(ClusterManagementAPI.java:395) ~[prprivate-management.jar:?]
    at com.pega.pegarules.management.internal.system.operations.ClusterManagementAPI.getSystemStateOfAllNodesInCluster(ClusterManagementAPI.java:325) ~[prprivate-management.jar:?]
    at com.pega.pegarules.management.internal.system.operations.ClusterManagementAPI.getSystemState(ClusterManagementAPI.java:170) ~[prprivate-management.jar:?]
    at com.pega.pegarules.management.internal.system.operations.ClusterManagementAPI.persistClusterState(ClusterManagementAPI.java:907) ~[prprivate-management.jar:?]
    at com.pega.pegarules.management.internal.system.operations.ClusterManagementAPI.persistClusterState(ClusterManagementAPI.java:884) ~[prprivate-management.jar:?]



Steps to Reproduce



Install Pega Platform 8.3.1.


Root Cause



A defect in Pegasystems’ code or rules.

Insufficient privilege means that the user does not have the 'Analyze any' privileges. According to the Deployment guides, this privilege is required; however, this is a Database Administrator privilege which is not granted to the user. It is determined that the call made is doing more than needed. Hence, the 'Analyze any' privilege is required.



Resolution



On the newer versions of the Pega Platform, the 'Analyze any' privilege is no longer required.

This feature is implemented in the following:
  • Pega Platform 8.1.8
  • Pega Platform 8.2.6
  • Pega Platform 8.3.2
  • Pega Platform 8.4

Published April 10, 2020 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us