Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: dbora - lsnrctl start??
Susanne Mainz wrote:
> 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/shORA_HOME=/home/oracle/V8.0.5ORA_OWNER=oracleif [ ! -f
> $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]thenecho "Oracle startup:
> cannot start"exitficase "$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
May be the library path is not set up correctly?
--
| | | Knut Lassmann Email: K.lassmann_at_q-bus.de | | q~bus Mediatektur GmbH Fon: 390 489 186 | | Salzufer 13F Fax: 390 489 140 | | 10587 Berlin | | | --------------------------------------------------------------------Received on Wed Nov 24 1999 - 08:11:08 CST
![]() |
![]() |