Database Administration (MOSC)

MOSC Banner

Start a LOCAL LISTENER from other server

edited Jul 16, 2015 11:28AM in Database Administration (MOSC) 5 commentsAnswered ✓

Dears,

I have a Physycal Standby and I want to automatize the startup and shutdown process.

I want to run one script that makes all the process for Primary and Standby instances. This script will run from the Primary server.

I am not having success starting the Standby’listener remotely.

The script startupListStby.sh is in Stanby server with these instructions:

/opt/oracle/app/oracle/product/11.2.0.3/bin /lsnrctl start  LISTENER_GMP2

The script runs fine locally but using ssh from Primary server is giving errors

ssh oracle@stbyHost '/opt/oracle/app/oracle/admin/scripts/startupListStby.sh'

TERM environment variable not set.

Tagged:

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