9.5.3 Determining the Current Status of a Listener
To show the current status of a listener, use either the STATUS
command of the Listener Control utility or Oracle Enterprise Manager Cloud Control. The status output provides basic status information about a listener, a summary of listener configuration settings, the listening protocol addresses, and a summary of services registered with the listener.
- Showing Status Using Listener Control
Run theSTATUS
command to view status of the listener. - Showing Status Using Oracle Enterprise Manager Cloud Control
Parent topic: Administering the Listener
9.5.3.1 Showing Status Using Listener Control
Run the STATUS
command to view status of the listener.
At the command line, enter the following command:
lsnrctl STATUS [listener_name]
In the preceding command, listener_name is the name of the listener defined in the listener.ora
file. It is not necessary to identify the listener if you are using the default listener name LISTENER
.
Example 9-5 shows example output of the STATUS
command.
Example 9-5 Listener Control Utility's STATUS Command Output
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=net))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 23.4.0.0.0 Start Date 15-March-2024 20:22:00 Uptime 65 days 10 hr. 5 min. 22 sec Trace Level support Security OFF Listener Parameter File /oracle/admin/listener.ora Listener Log File /oracle/network/log/listener.log Listener Trace File /oracle/network/trace/listener.trc Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=net))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sales-server)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=sales-server)(PORT=2484))) Services Summary... Service "sales.us.example.com" has 1 instance(s). Instance "sales", status READY, has 3 handler(s) for this service... Service "hr.us.example.com" has 1 instance(s). Instance "hr", status READY, has 2 handler(s) for this service... The command completed successfully
The STATUS
command output includes the sections described in the following table:
Table 9-1 Listener Control Utility STATUS Command
Output Section | Description |
---|---|
STATUS of the LISTENER |
Status of the listener, including the following:
|
Listening Endpoints Summary |
The protocol addresses the listener is configured to listen on. |
Services Summary |
A summary of the services registered with the listener and the service handlers allocated to each service. |
Service |
The registered service. |
Instance |
The name of the instance associated with the service. The status field indicates if the instance can accept connections.
|
Parent topic: Determining the Current Status of a Listener
9.5.3.2 Showing Status Using Oracle Enterprise Manager Cloud Control
The following procedure describes how to show the status of a listener using Oracle Enterprise Manager Cloud Control:
-
Access the Net Services Administration page in Oracle Enterprise Manager Cloud Control.
-
Select Listeners from the Administer list, and then select the Oracle home that contains the location of the configuration files.
-
Click Go. You may be prompted to log in to the database server.
The Listeners page appears.
-
Select a listener.
-
From the Actions list, select Show Listener Control Status.
-
Click Go.
The Listener Control Status page appears.
-
After viewing the content, click the listener link at the top of the page.
Parent topic: Determining the Current Status of a Listener