Advanced Replication - Dbms_defer_sys.purge Getting ORA-01031 after upgrade to 12c
(Doc ID 2041280.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
Advanced replication - while executing dbms_defer_sys.purge getting ORA-1031: insufficient privileges error after database upgrade from 11g to 12c.
Connected as REPADMIN
declare rc binary_integer; begin rc := sys.dbms_defer_sys.purge( delay_seconds=>0); end;
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 569
ORA-06512: at "SYS.DBMS_LOGREP_UTIL", line 593
ORA-06512: at "SYS.DBMS_REPCAT_ADMIN", line 221
ORA-06512: at "SYS.DBMS_DEFER_SYS", line 506
No changes in grants, also tried to grant execute on the above packages - but did not work.
however this works fine with SYS user.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!