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:start stop status services version reload save_config trace spawn dbsnmp_start dbsnmp_stop dbsnmp_status change_password quit exit 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:password rawmode displaymode trc_file trc_directory trc_level log_file log_directory log_status current_listener connect_timeout startup_waittime use_plugandplay save_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