Re: listener woes

From: <oratune_at_aol.com>
Date: Thu, 26 Oct 2000 22:59:27 GMT
Message-ID: <8tad0b$afg$1_at_nnrp1.deja.com>


[Quoted] In article <39F86069.53B9D29F_at_home.nl>,   frank <fbortel_at_home.nl> wrote:
> Any of the instances using MTS?
>
> jawa wrote:
>
> > Oracle 7.3.4.4 on AIX -- Why doesn't the listener process startup
 on a
> > system reboot using the following call from /etc/inittab to the
 following
> > script dbora? The 'stop' stanza works fine. The 'start' stanza
 starts the
> > databases but not the listener. It's as if some oracle process
 needs to be
> > running before the call to lsnrctl happens. Any ideas?
> >
> > inittab entry:
> > oracle:2:wait:/bin/su oracle -c "/.../.../dbora start"
> >
> > dbora script:
> > #!/bin/sh
> > if [ ! -f ${ORACLE_HOME}/bin/dbstart -o ! -d ${ORACLE_HOME} ]
> > then
> > echo "Oracle startup: cannot start"
> > exit
> > fi
> > #
> > case "$1" in
> > 'start') #Start the Oracle Databases
> > ${ORACLE_HOME}/bin/dbstart
> > 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
> > #
>
>

[Quoted] I don't believe MTS to be the problem. The difficulty is using init to [Quoted] start ORACLE when the rc process, at system boot and system shutdown, should be used.

--
[Quoted] David Fitzjarrell
Oracle Certified DBA


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Oct 27 2000 - 00:59:27 CEST

Original text of this message