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

7.1.8 base rules install fails - DB GRANT permissions

SA-83197

Summary



Pega 7.1.8 base rules installation fails with database GRANT permissions error. Error messages are generated when installing Pega 7.1.8 on Oracle Exadata.


Error Messages



[java] (SQLLoader) INFO - CREATE TABLE RULES.PR_SYS_CACHE_ENTRY
     [java] (SQLLoader) NFO - File: oracledate03910.sql
     [java] (SQLLoader) INFO - GRANT ALL ON
     [java] (SQLLoader) WARNING - Failed to execute SQL in file oracledate03910.sql
     [java]
     [java] java.sql.SQLSyntaxErrorException: ORA-01749: you may not GRANT/REVOKE privileges to/from yourself
     [java]
     [java] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
     [java] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
     [java] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059)
     [java] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522)
     [java] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257)
     [java] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587)
     [java] at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
     [java] at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:30)
     [java] at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:931)
     [java] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1150)
     [java] at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1792)
     [java] at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1745)
     [java] at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:334)
     [java] at com.pega.pegarules.install.SQLLoader.main(SQLLoader.java:266)
     [java] (SQLLoader) WARNING - Statement: GRANT ALL ON RULES.pr_sys_cache_entry TO DATA
     [java] Exception in thread "main" com.pega.pegarules.install.SQLLoader$SQLLoaderException:

     [java]
     [java] Encountered a SQL Exception, clean schema before running again.
     [java]

     [java] at com.pega.pegarules.install.SQLLoader.fail(SQLLoader.java:359)
     [java] at com.pega.pegarules.install.SQLLoader.main(SQLLoader.java:316)

BUILD FAILED


Steps to Reproduce



Not Applicable


Root Cause



For the install, DATA Schema User was used instead of DeploymentUser.


Resolution



Make the following change to the operating environment:

Use the DeploymentUser for the install such that the user does not grant permissions to itself and instead will grants permissions to the Rules and Data schema owners.

Published August 19, 2019 - Updated October 8, 2020

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