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 11.1.0.6 to 11.2.0.4 [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.
Symptoms
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
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=15111)))(CONNECT_DATA=(SERVICE_NAME=DG4ODBC)))
ORA-02063: preceding line from SQLSERVER
Process ID: 1248
Session ID: 23 Serial number: 25
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
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=15111)))(CONNECT_DATA=(SERVICE_NAME=DG4ODBC)))
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
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
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 |
References |