Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> automatic startup and shutdown of LISTENER
I would like to be able tostartup and shutdown the listener when my SA shutsdown and brings the Unix box back up. What happens when my SA brings up
the OS is that he gets the lsnrctl prompt rather than listener starting. He
can then type the start command and listerner starts. But it should start
without him having to key in the command.
I have the following in both the /etc/init.d/dbstart and
/etc/rc2.d/s99dbstart files:
su - oracle -c $ORACLE_HOME/bin/ lsnrctl start
(I use the default listener name "LISTENER")
Sun SPARC Solaris OS 2.4
Oracle7 ServerRelease 7.3.4.0.1 - Production
With thedistributed, parallel query and Spatial Data options
PL/SQL Release 2.3.4.0.0 - Production
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Van M. Etheridge INET: VanE_at_UANET.ORG Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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-LReceived on Mon Feb 12 2001 - 10:20:08 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).