My Oracle Support Banner

Error 'ORA-01749: You may not GRANT/REVOKE privileges to/from yourself' When Executing the "manual_script_before_upgrade.sql" Script During Upgrade of an Oracle P6 Database (Doc ID 2303310.1)

Last updated on JULY 31, 2023

Applies to:

Primavera P6 Professional Project Management - Version 8.1.0.0 and later
Primavera P6 Enterprise Project Portfolio Management - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to execute the manual_script_before_upgrade.sql script before upgrading an Oracle database, the following error occurs:

GRANT SELECT ON sys.DBA_VIEWS TO SYSTEM with grant option
ORA-01749: you may not GRANT/REVOKE privileges to/from yourself

GRANT SELECT ON sys.gv_$TRANSACTION TO SYSTEM with grant option
ORA-01031: insufficient privileges

 

The issue can be reproduced at will with the following steps:

  1. Login to SQL*Plus as the system user.
  2. Execute the manual_script_before_upgrade.sql script.
  3. View the reported errors.

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!


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