Database Networking (MOSC)

MOSC Banner

Is there a way to start/stop multiple listeners with one command

edited Feb 23, 2018 9:27AM in Database Networking (MOSC) 7 commentsAnswered ✓

Hi All,

If we have multiple listener like

LISTENER1

LISTENER2

LISTENER3

...

LISTENERn

Is there a way to start/stop all of them in one command? I am trying to avoid using the script like:

#!/bin/bash

for i in {1..2};

do

lsnrctl stop LISTENER$i

done;

Thank you,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center