My Oracle Support Banner

Error executing script: upg_ords_object_grants.sql Error: ORA-20103: ORA-01927: cannot REVOKE privileges you did not grant While Upgrading ORDS (Doc ID 2744343.1)

Last updated on SEPTEMBER 16, 2022

Applies to:

Oracle REST Data Services - Version 18.1 and later
Information in this document applies to any platform.

Symptoms

While trying to upgrade ORDS schema, the following error appears.

java.io.IOException: Error executing script: upg_ords_object_grants.sql

Error: ORA-20103: Cannot revoke EXECUTE on SYS.DBMS_LOB from ORDS_PUBLIC_USER.

ORA-01927: cannot REVOKE privileges you did not grant                                  

ORA-06512: at line 35

The same error appeared for the following objects as well.

DBMS_SESSION
DBMS_UTILITY


Cause

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

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


In this Document
Symptoms
Cause
Solution


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