Listener named LISTENER Started With no Listener.ora File Present (Doc ID 2197333.1)

Last updated on NOVEMBER 07, 2016

Applies to:

Oracle Net Services - Version 9.0.1.0 to 12.1.0.2B1 [Release 9.0.1 to 12.1]
Information in this document applies to any platform.
The listener process can be started without a listener.ora file in place.

Generic to any OS platform and all the DB versions.
The moment " lsnrctl start "

command is passed,

the listener utility searched for listener.ora file under " $ORACLE_HOME/network/admin "
and then $TNS_ADMIN locations.

if the listener.ora file is not found,

default values for the following are assumed by the listener:

PROTOCOL=tcp
HOST= localhost
PORT=1521

and a simple listener is started.

Goal

lsnrctl start => starts the default listener even without listener.ora file.




> lsnrctl status

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 21-OCT-2016 13:14:00

Copyright (c) 1991, 2013, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 04-OCT-2016 14:01:59
Uptime 16 days 23 hr. 12 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/diag/tnslsnr/iFAMS-MERGER-DB2/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname here)(PORT=1521)))
 

Solution

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