My Oracle Support Banner

DG4ODBC Fails with Error ORA-28511 and Trace Contains Corrupted Information (Doc ID 555355.1)

Last updated on JULY 23, 2021

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.1 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


A select using Database Gateway for ODBC (DG4ODBC) fails with error:

SQL> select count(*) from GTW_EMP@sqlserver;
select count(*) from GTW_EMP@sqlserver
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
ORA-02063: preceding line from SQLSERVER
Process ID: 1248
Session ID: 23 Serial number: 25


And the trace file shows corrupted information like:

Entered hgolofn at %04d/%02d/%02d-%02d:%02d:%02d
Exiting hgolofn, rc=0 at %04d/%02d/%02d-%02d:%02d:%02d
Exiting hgoinit, rc=0 at %04d/%02d/%02d-%02d:%02d:%02d
Entered hgolgon at %04d/%02d/%02d-%02d:%02d:%02d
Entered hgosuec at %04d/%02d/%02d-%02d:%02d:%02d
Exiting hgosuec, rc=0 at %04d/%02d/%02d-%02d:%02d:%02d



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

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