listener woes
From: jawa <p29682_at_email.mot.com>
Date: Wed, 25 Oct 2000 10:00:55 -0700
Message-ID: <8t73k9$m4q3_at_nntp.cig.mot.com>
#
[Quoted] case "$1" in
esac
# Received on Wed Oct 25 2000 - 19:00:55 CEST
Date: Wed, 25 Oct 2000 10:00:55 -0700
Message-ID: <8t73k9$m4q3_at_nntp.cig.mot.com>
[Quoted] [Quoted] Oracle 7.3.4.4 on AIX -- Why doesn't the listener process startup on a [Quoted] [Quoted] system reboot using the following call from /etc/inittab to the following [Quoted] [Quoted] script dbora? The 'stop' stanza works fine. The 'start' stanza starts the [Quoted] databases but not the listener. It's as if some oracle process needs to be [Quoted] running before the call to lsnrctl happens. Any ideas?
inittab entry:
[Quoted] [Quoted] oracle:2:wait:/bin/su oracle -c "/.../.../dbora start"
dbora script:
#!/bin/sh
[Quoted] [Quoted] if [ ! -f ${ORACLE_HOME}/bin/dbstart -o ! -d ${ORACLE_HOME} ]
then [Quoted] [Quoted] echo "Oracle startup: cannot start" exit fi
#
[Quoted] case "$1" in
[Quoted] [Quoted] 'start') #Start the Oracle Databases
${ORACLE_HOME}/bin/dbstart
[Quoted] wait;sync;sync;sync;sleep 10
${ORA_HOME}/bin/lsnrctl start
wait;sync;sync;sync;sleep 10 ;; 'stop')
${ORACLE_HOME}/bin/lsnrctl stop
wait;sync;sync;sync;sleep 10
${ORACLE_HOME}/bin/dbshut
wait;sync;sync;sync;sleep 10 ;;
esac
# Received on Wed Oct 25 2000 - 19:00:55 CEST