Start & Stop Oracle Listener

Use Oracle’s Listener Control utility from the correct Oracle home and an authorized operating system account.

Check the listener

lsnrctl status
lsnrctl services

These commands show listener status and registered services. Check the listener name, configuration file and endpoints in the output.

Start or stop the default listener

lsnrctl start
lsnrctl stop

For a named listener, supply its actual name:

lsnrctl status LISTENER_NAME
lsnrctl start LISTENER_NAME
lsnrctl stop LISTENER_NAME

Replace LISTENER_NAME before running the command. Starting or stopping a listener is separate from starting or stopping the database. Listener shutdown prevents new connections through that listener.

Interactive mode

lsnrctl
LSNRCTL> help
LSNRCTL> status
LSNRCTL> exit

Automatic listener startup depends on the installed service or cluster configuration. If Oracle Restart or Clusterware manages the listener, use the management procedure for that environment.

Reference: Oracle: Listener Control Utility.

You May Also Like

Leave a Reply?