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

Last updated on JANUARY 19, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.4 [Release 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 09-SEP-2013***
***Checked for relevance on 28-Apr-2015***

Symptoms

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.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms