Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: listener woes

Re: listener woes

From: jawa <p29682_at_email.mot.com>
Date: Thu, 26 Oct 2000 07:59:04 -0700
Message-ID: <8t9gro$jr52@nntp.cig.mot.com>

That is a typo -- it is actually ORACLE_HOME. Good eye, though.

"Dave A" <dave_and_vanna_at_hotmail.com> wrote in message news:svfbbnpsk5l409_at_corp.supernews.com...
> just a guess, but you have the variable ORACLE_HOME for everything exept
 the
> listener start portion where ORA_HOME is used. Are the values behind
 these
> variables correct?
>
> --
> Dave A
>
>
> "jawa" <p29682_at_email.mot.com> wrote in message
> news:8t73k9$m4q3_at_nntp.cig.mot.com...
> > 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
> > #
> >
> >
>
>
Received on Thu Oct 26 2000 - 09:59:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US