Network Admin   «Prev  Next»

Start Listener Line Commands

The following commands are used to Start listener with line commands:
  1. lsnrctl: This starts the Listener Controller.
  2. status: This displays the current status of the listener.
  3. stop: This stops the listener service.
  4. start: This starts the listener service.
  5. exit: This closes the Listener Controller.

Here we see the lsnrctl command in action:
$ lsnrctl
LSNRCTL for Solaris: Version 9.2.0.1.0 - Production on 28-FEB-2004 11:53:14

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

Welcome to LSNRCTL, type "help" for information.
LSNRCTL> help
The following lsnrctl 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*

The following commands are used to manage the listener:
  1. services: Displays each service available, along with the connection history.
  2. version: Displays the version information of the listener.
  3. reload: Forces a read of the configuration file in order for new settings to take effect without stopping and starting the listener.
  4. save_config: Creates a backup of the existing listener.ora file and saves changes to the current version.
  5. trace: Sets the trace level to one of the following OFF, USER, ADMIN, or SUPPORT.
  6. spawn: Spawns a program that runs with an alias in the listener.ora file.
  7. dbsnmp_start: Starts the DBSNMP subagent.
  8. dbsnmp_stop: Stops the DBSNMP subagent.
  9. dbsnmp_status: Displays the status of the DBSNMP subagent.
  10. change_password: Sets a new password for the listener.
  11. quit or exit: Exits the lsnrctl utility.
  12. set: Changes the value of any parameter. Everything that can be shown can be set.
  13. show: Displays current parameter settings.