My Oracle Support Banner

DG4ODBC Gives Error Ora-28511: Lost Rpc Connection To Heterogeneous Remote Agent, NCR status = -2147385341 (Doc ID 952651.1)

Last updated on OCTOBER 14, 2023

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


You are using the 11g dg4odbc gateway to query a non-Oracle database.
After a working for some time, with no configuration changes, the gateway stops working with the following errors reported in the sqlplus session:

ORA-28511: lost RPC connection to heterogeneous remote agent using
ORA-02063: preceding line from ...

The following message is written to the alert log:

HS: Lost RPC connection to remote Agent...
HS: ... Agent SID =
(DESCRIPTION=  ...))),
NCR status = -2147385341

If tracing is enabled for the gateway, the resulting trace file shows no errors.


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.