My Oracle Support Banner

ORA-07216: slghst: gethostname error, unable to get name of current host - When Connecting to a Non-Oracle Database via Database Gateway (Doc ID 2847237.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
Information in this document applies to any platform.

Symptoms

The Gateway fails to establish a session from an Oracle connection:

SQL> select * from <DB2_Table>@<DBLINK> where rownum < 5;
select * from <DB2_Table>@<DBLINK> where rownum < 5
  *
ERROR at line 1:
ORA-07216: slghst: gethostname error, unable to get name of current host.

When exiting from SQL*Plus session getting an ORA-00600 error

--------------------------------------
Thu Dec 02 16:52:13 2021
Errors in file /u02/app/oracle/diag/rdbms/<xxxxxxx>/<XXXXXXXXX>/trace/XXXXXXXXX_ora_342881.trc (incident=57368):
ORA-00600: internal error code, arguments: [729], [39720], [space leak], [], [], [], [], [], [], [], [], []
-------------------------------------

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


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