Name

lsnrctl

Use lsnrctl to manage the Oracle listener process.

Syntax

lsnrctl command

command ::= {
         change_password [listener_name]
        |exit
        |quit
        |help
        |reload [listener_name]
        |save_config [listener_name]
        |services [listener_name]
        |set [parameter]
        |show [parameter]
        |spawn [listener_name] alias
           [(arguments='arg1,arg2,...')]
        |start [listener_name]
        |status [listener_name]
        |stop [listener_name]
        |trace level [listener_name]
        |version [listener_name] }

Parameters

change_password [listener_name]

Establishes or changes the password for the listener.

exit

Exits the lsnrctl utility.

quit

Exits the lsnrctl utility.

help

Displays help information.

reload [listener_name]

Rereads the listener configuration file (listener.ora) and applies the values to the listener without stopping and restarting.

save_config[listener_name]

Saves the current configuration state of the listener to the listener.ora file (creates a copy named listener.bak first).

services [listener_name]

Displays detailed information about database services, instances, and service handlers.

set[parameter]

Changes the specified parameter value of the listener. Allowed parameters are:

current_listener [listener_name]

Sets the name of the listener to administer.

displaymode {compat| normal | verbose | raw}

Sets the format of the output of status and services commands. compat means the output is compatible with the older versions of Oracle. normal means the output is formatted and descriptive. verbose means the output is detailed, formatted, and descriptive. ...

Get Oracle Utilities Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.