Re: dbora - lsnrctl start

From: Roger Luethy <luethy_at_hotmail.com>
Date: Mon, 29 Nov 1999 14:56:14 +0100
Message-ID: <38428603_at_news.datacomm.ch>


Hi Susanne
i think you should first start the listener then the db i.e.

case "$1" in
'start')
su - $ORA_OWNER -c $ORA_HOME/bin/lsnrctl start & su - $ORA_OWNER -c $ORA_HOME/bin/dbstart & ;;
'stop')
su - $ORA_OWNER -c $ORA_HOME/bin/dbshut & ;;
esac

Cheer
Roger

roger.luethy_at_epa.ch

Susanne Mainz <smainz_at_debis.com> schrieb in im Newsbeitrag: 81tvva$9u9$1_at_news.hamburg.pop.de...
> Hi everybody,
> I need to automatically start my Oracle 8.0.5 database AND listener
whenever
> the machine (SUN Solaris 2.7) is bootet.
> So I modified the dbora startup file like the Oracle documentation
suggests:
> Here it is:
> #!/bin/sh
> ORA_HOME=/home/oracle/V8.0.5
> ORA_OWNER=oracle
> if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
> then
> echo "Oracle startup: cannot start"
> exit
> fi
> case "$1" in
> 'start')
> su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
> su - $ORA_OWNER -c $ORA_HOME/bin/lsnrctl start &
> ;;
> 'stop')
> su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
> ;;
> esac
>
> Still only the database gets started, the listener needs to be started
> manually.
> Why?
>
> Susanne
>
>
Received on Mon Nov 29 1999 - 14:56:14 CET

Original text of this message