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

Home -> Community -> Usenet -> c.d.o.misc -> Re: dbora - lsnrctl start??

Re: dbora - lsnrctl start??

From: Sybrand Bakker <postmaster_at_sybrandb.demon.nl>
Date: Wed, 24 Nov 1999 11:50:16 +0100
Message-ID: <943440690.13558.0.pluto.d4ee154e@news.demon.nl>


Most likely causes:
- the environment has not been setup correctly in that & task

Without exact error messages, this are my educated guesses

Hth,

--
Sybrand Bakker, Oracle DBA
  Susanne Mainz <smainz_at_debis.com> wrote in message = news:81gbgc$9ae$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 Wed Nov 24 1999 - 04:50:16 CST

Original text of this message

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