Re: listener

From: Mladen Gogala <>
Date: Wed, 13 May 2015 15:15:38 -0400
Message-ID: <>

On 05/13/2015 01:27 PM, Zelli, Brian wrote:
> Ok, really stupid question. How do I know the exact name of my listener?

The name is "Rumpelstilskin". First, we start it:

    [oracle_at_oradb admin]$ lsnrctl start rumpelstilskin

    LSNRCTL for Linux: Version - Production on 13-MAY-2015     15:12:05

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

    Starting /oracle/product/ please wait...

    TNSLSNR for Linux: Version - Production     System parameter file is
    /oracle/product/     Log messages written to
    /oracle/diag/tnslsnr/oradb/rumpelstilskin/alert/log.xml     Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))     Listening on:


    Alias                     rumpelstilskin
    Version                   TNSLSNR for Linux: Version -
    Start Date                13-MAY-2015 15:12:05
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF

    Listener Parameter File
    /oracle/product/     Listener Log File
    /oracle/diag/tnslsnr/oradb/rumpelstilskin/alert/log.xml     Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))     (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oradb)(PORT=1521)))     Services Summary...
    Service "" has 1 instance(s).

       Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...

The command completed successfully

Next, we guess the name from the first try:

    oracle_at_oradb admin]$ ps ax|grep tnslsnr       3367 ? Ssl 0:00
    /oracle/product/ rumpelstilskin -inherit       3379 pts/1 S+ 0:00 grep tnslsnr

Our first-born is safe! One needs to remember that Linux "ps" command shows the full command line, when using BSD syntax.

Mladen Gogala
Oracle DBA

Received on Wed May 13 2015 - 21:15:38 CEST

Original text of this message