Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: shutdown password protected listener

Re: shutdown password protected listener

From: Andy Rivenes <arivenes_at_llnl.gov>
Date: Wed, 03 Jan 2007 08:44:13 -0800
Message-Id: <7.0.0.16.2.20070103083430.02334aa0@llnl.gov>


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-l
Received on Wed Jan 03 2007 - 10:44:13 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US