My Oracle Support Banner

datapatch fails with Error:"ORA-01775: looping chain of synonyms" (Doc ID 2649977.1)

Last updated on MAY 05, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

 ./datapatch -verbose gets following error:

 

1)

Warning: Package Body created with compilation errors.

Errors for PACKAGE BODY DBMS_QOPATCH:

LINE/COL ERROR
-------- -----------------------------------------------------------------
1016/5 PL/SQL: SQL Statement ignored
1016/12 PL/SQL: ORA-01775: looping chain of synonyms
1073/5 PL/SQL: SQL Statement ignored
1073/12 PL/SQL: ORA-01775: looping chain of synonyms

 

 

2)

Warning: Package Body created with compilation errors.

Errors for PACKAGE BODY SYS.DBMS_STATS_ADVISOR:

LINE/COL ERROR
-------- -----------------------------------------------------------------
1648/7 PL/SQL: SQL Statement ignored
1648/14 PL/SQL: ORA-01775: looping chain of synonyms
2026/15 PL/SQL: SQL Statement ignored
2026/22 PL/SQL: ORA-01775: looping chain of synonyms

 

Compiling these package body also fails and cannot be validated.

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
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.