Get TNS-12541 on Windows Platforms When Issuing Tnsping <xxxx> Where Xxxx Is The Listener Service For The Gateway

(Doc ID 1574954.1)

Last updated on AUGUST 25, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 12.1.0.1 [Release 11.1 to 12.1]
Oracle Database Gateway for SQL Server - Version 11.1.0.7 to 12.1.0.1 [Release 11.1 to 12.1]
Oracle Database Gateway for DRDA - Version 11.1.0.6 to 11.2.0.1 [Release 11.1 to 11.2]
Oracle Database Gateway for Sybase - Version 11.1.0.6 to 12.1.0.1 [Release 11.1 to 12.1]
Oracle Database Gateway for Teradata - Version 11.1.0.6 to 12.1.0.1 [Release 11.1 to 12.1]
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)

Symptoms

Using version 11.2  of Database Gateway for ODBC (DG4ODBC) running on a Win 64-bit or 32-bit platform, the following error occurs when issuing -

tnsping dg4odbc_om_dev

Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=myhostname)(PORT=1511)) (CONNECT_DATA=(SID=dg4odbc_om_dev)) (HS=OK))
TNS-12541: TNS:no listener

 

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