Advanced Replication - Dbms_defer_sys.purge Getting ORA-01031 after upgrade to 12c
Last updated on AUGUST 06, 2015
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms