lsnrctl commands in Oracle

$ lsnrctl start [listener_name]

$ lsnrctl stop [listener_name]
$ lsnrctl status [listener_name]
$ lsnrctl reload [listener_name]
$ lsnrctl services [listener_name]
LSNRCTL> help
LSNRCTL> version [listener_name]    — get the version information of the listener
LSNRCTL> start [listener_name]   — starts the listener
LSNRCTL> stop [listener_name]    — stops the listener
LSNRCTL> status [listener_name]   — get the status of listener
LSNRCTL> services [listener_name]   — get the service information of the listener
LSNRCTL> reload [listener_name]    — reload the parameter files and SIDs
LSNRCTL> save_config [listener_name]    — saves configuration changes to parameter file
LSNRCTL> trace OFF | USER | ADMIN | SUPPORT [listener_name]    — set tracing to the specified level
LSNRCTL> spawn [listener_name] spawn_alias [(ARGUMENTS=’arg0, arg1,…’)]
LSNRCTL> change_password [listener_name]   –– changes the password of the listener

LSNRCTL> set [below_modifier]
password                           rawmode
displaymode                        trc_file
trc_directory                      trc_level
log_file                           log_directory
log_status                         current_listener
inbound_connect_timeout            startup_waittime
save_config_on_stop                dynamic_registration
enable_global_dynamic_endpoint     connection_rate_limit
LSNRCTL> show [below_modifier]
rawmode                            displaymode
rules                              trc_file
trc_directory                      trc_level
log_file                           log_directory
log_status                         current_listener
inbound_connect_timeout            startup_waittime
snmp_visible                       save_config_on_stop
dynamic_registration               enable_global_dynamic_endpoint
oracle_home                        pid
connection_rate_limit

LSNRCTL> quit
LSNRCTL> exit
default listener_name is LISTENER
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s