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 to [Release 12.1]
Oracle Net Services - Version to [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.


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
ORA-02063: preceding 2 lines from JDE.WORLD


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.