Starting TNS Listener or LSNRCTL Start Yields TNS-12541, Linux Error: 111: Connection Refused (Doc ID 343295.1)

Last updated on SEPTEMBER 14, 2016

Applies to:

Oracle Net Services - Version 10.2.0.4 to 11.2.0.3 [Release 10.2 to 11.2]
Oracle Net Services - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.
Any 10g or 11g listener version can display these problems.
***Checked for relevance on 17-JAN-2014***
Checked for relevance on 30-SEP-2011.
Any 10g or 11g listener version can display these problems.
***Checked for relevance on 17-JAN-2014***





Symptoms

Lsnrctl start yields the following information.  Attempting to start an Oracle10g R2 (10.2.0.1.0) or newer TNS Listener
on Linux SuSE SLES9 x86_64:

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 02-DEC-2005 13:48:21
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/oracle/product/10gdb/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/oracle/product/10gdb/network/admin/listener.ora
Log messages written to /u01/oracle/product/10gdb/network/log/listener.log
Listening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=prod1.us.oracle.com)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=prod1.us.oracle.com)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL =IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 02-DEC-2005 13:48:22
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/oracle/product/10gdb/network/admin/listener.ora
Listener Log File /u01/oracle/product/10gdb/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=prod1.us.oracle.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "10gdb1" has 1 instance(s).
Instance "10gdb1", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

 

Any of the following listener error stacks might be thrown:

Connecting to  (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=prod1.us.oracle.com)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused

Connecting to  (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=prod1.us.oracle.com)(PORT=1521)))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error 
TNS-00517: Lost contact 
Linux Error: 104: Connection reset by peer

Changes

This is likely a new installation.

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