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
Last updated on SEPTEMBER 19, 2017
Applies to:Primavera P6 Professional Project Management - Version 184.108.40.206 and later
Primavera P6 Enterprise Project Portfolio Management - Version 8.0 and later
Information in this document applies to any platform.
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 reported errors.
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 hundreds of Community platforms