starting listener on remode node using a script
how do i start the listener on a remote host through a shell script.
i tried rsh,ssh with no success. you can execute other commands using rsh but trying to start the listener throws up:
rsh parlxdbp2 /opt/oracle/product/server32/9.2.0/bin/lsnrctl status
LSNRCTL for Linux: Version 188.8.131.52.0 - Production on 12-DEC-2003 15:22:46
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Message 1053 not found; No message file for product=network, facility=TNS
even if i execute a scipt setting up the environment before firing this command i get the same error.
Try creating a small script on the remote host like
/ora01/app/oracle/product/9.2.0/bin/lsnrctl start listener
rsh -l oracle &
a) node is the remote node I'm starting "listener" on,
b) "rsh_start_listener" is a shell script on node that contains:
I hope this work, this is not the solution but a work-around.
Click Here to Expand Forum to Full Width