My Oracle Support Banner

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 01, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
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

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


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