Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: shutdown password protected listener
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_at_llnl.gov
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Jan 03 2007 - 10:44:13 CST
![]() |
![]() |