
|
[oracle-l]
||
[Date Prev]
[01-2007 Date Index]
[Date Next]
||
[Thread Prev]
[01-2007 Thread Index]
[Thread Next]
Re: shutdown password protected listener
- From: Andy Rivenes <arivenes@xxxxxxxx>
- To: joe_dba@xxxxxxxxxxx,oracle-l@xxxxxxxxxxxxx
- Date: Wed, 03 Jan 2007 08:44:13 -0800
The following was taken from "dbcontrol" available at
http://www.appsdba.com/scripts_unix.htm#dbcontrol.
Assumes that the Oracle environment has been set, and that a listener
alias is specified (normally it's LISTENER) and that the password is
set in the variable lsnpwd. Note that there are differences between
using the clear text password and the encrypted password. For more
details look at http://www.appsdba.com/dbconfig_network.htm.
$ORACLE_HOME/bin/lsnrctl <<-EON > $CMDLOG
set current_listener ${LALIAS}
set password $lsnpwd
stop ${LALIAS}
exit
EON
#
Andy Rivenes
Email: arivenes@xxxxxxxx
--
http://www.freelists.org/webpage/oracle-l
|

|