Documentation Center

lsnrctl

Use this utility to start or stop the Oracle listener or check on its status.

The Listener Control utility (lsnrctl) is your primary interface to the Oracle listener. You can use Listener Control to start and stop the listeners, report on their status, and change their operational settings.
  • To execute the Listener Control utility, at a command prompt type:

    Oracle_Home/bin/lsnrctl

    where Oracle_home is the directory where Oracle is installed.

  • To check the current status of a listener, type: lsnrctl status
  • To start the lsnrctl, type: lsnrctl start
  • To display a list of commands for lsnrctl, at the LSNRCTL> prompt type help.

    For example: LSNRCTL> help

    Sample system response:

    The following operations are available. An asterisk (*) denotes a modifier or extended command:
    startstopstatusservicesversion
    reloadsave_configtracespawndbsnmp_start
    dbsnmp_stopdbsnmp_statuschange_passwordquitexit
    set*show*
  • To display extended commands type: help command

    For example, to display the extended commands for set, at the LSNRCTL> prompt type: help set

    For example: LSNRCTL> help set

    Sample system response:

    The following operations are available. An asterisk (*) denotes a modifier or extended command:
    passwordrawmodedisplaymode
    trc_filetrc_directorytrc_level
    log_filelog_directorylog_status
    current_listenerconnect_timeoutstartup_waittime
    use_plugandplaysave_config_on_stop
  • Display help for a specific command, type: help command

    For example: help status

    Sample system response:

    status [<listener_name>] : get the status of listener