Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Multiple Listeners
> -----Original Message----- > Any quick start guides / scripts / notes for having multiple version > listeners on same Solaris box? ------------------------------------
It works fine. Here is an example of some commands to put into a general Oracle startup script.
export ORACLE_BASE=/oracle/app/oracle
export LOGFILE=${ORACLE_BASE}/log/ora-startup.log
exec >> $LOGFILE 2>&1
touch $LOGFILE
chmod a+r $LOGFILE
print "\nStarting ora-startup"
date
# Automatically export all variables
set -a
# Start the databases
$ORACLE_BASE/admin/dbascripts/init.d/dbstart
# Start the listeners
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
$ORACLE_HOME/bin/lsnrctl start LIST_V920
export ORACLE_HOME=$ORACLE_BASE/product/9.0.1
$ORACLE_HOME/bin/lsnrctl start LIST_V901
#Start the listeners
export ORACLE_HOME=$ORACLE_BASE/product/8.1.7
$ORACLE_HOME/bin/lsnrctl start LIST_DSNR4
$ORACLE_HOME/bin/lsnrctl start LIST_V817
$ORACLE_HOME/bin/lsnrctl start LIST_V817_2
export ORACLE_HOME=$ORACLE_BASE/product/8.1.7.4
$ORACLE_HOME/bin/lsnrctl start LIST_V8174
etc. etc. etc.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephen Lee INET: slee_at_dollar.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Oct 16 2002 - 13:39:39 CDT
![]() |
![]() |