My Oracle Support Banner

ORA-28500: Connection From ORACLE To A Non-Oracle System Returned This Message: (Doc ID 2215717.1)

Last updated on MAY 11, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Oracle Net Services - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
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
Information in this document applies to any platform.

Symptoms

You are attempting to configure a dblink from Oracle to DB2 using Database Gateway for ODBC (DG4ODBC).   You have installed DB2 DBConnectior ODBC Driver and unix ODBC driver manager on your Unix system.

When attempting a query using the dblink, you receive the following error:

ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
{IM004}
ORA-02063: preceding 2 lines from JDE.WORLD

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


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