datapatch -verbose Fails with Error:"ORA-30512: cannot modify SYS.TAB$ more than once in a transaction" (Doc ID 2223272.1)

Last updated on JANUARY 20, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

While running datapatch -verbose fails with below error:

GRANT SELECT ON sys.tab$ TO dv_secanalyst
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-30512: cannot modify SYS.TAB$ more than once in a transaction
ORA-06512: at “SYS.REBUILD_CACHE_SYNONYMS”, line 8
ORA-06512: at “SYS.REBUILD_CACHE_SYNONYMS”, line 15
ORA-06512: at line 2

SQL>
SQL> GRANT SELECT ON sys.user$ TO dv_secanalyst
2 /
GRANT SELECT ON sys.user$ TO dv_secanalyst
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-30512: cannot modify SYS.USER$ more than once in a transaction
ORA-06512: at “SYS.REBUILD_CACHE_SYNONYMS”, line 8
ORA-06512: at “SYS.REBUILD_CACHE_SYNONYMS”, line 15
ORA-06512: at line 2

 

 

Changes

 While performing post PSU installation steps.

Cause

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