Database Networking (MOSC)

MOSC Banner

automatic start/stop listener in oracle 10g

edited Aug 3, 2009 10:20AM in Database Networking (MOSC) 6 commentsAnswered
 I have the oracle listener automatic start/stop script setup so that everytime when we have to reboot server, it will do its job. However, the script does not seem to work.

/usr/bin/su - oracle -c "/etc/init.d/listenstop"

The following is the listenstop file:

#!/usr/bin/ksh
ORACLE_HOME="/apps/oracle/product/10.2.0.0"; export ORACLE_HOME
$ORACLE_HOME/bin/lsnrctl <<STOPTNS
stop listener_test
exit
STOPTNS

What might be the possible problem here? We are using Sun Solaris server. Thanks.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center