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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Bug in dbstart Script?

Re: Bug in dbstart Script?

From: Jared Still <jkstill_at_cybcon.com>
Date: Thu, 12 Jul 2001 21:52:53 -0700
Message-ID: <F001.003497B6.20010712215021@fatcity.com>

Yeah, you should see the one on AIX, it's a real mess.

Jared

On Thursday 12 July 2001 10:47, mohammed bhatti wrote:
> Folks,
>
> I'm not sure if this applies to any of you, but the
> $ORACLE_HOME/bin/dbstart script 8.1.6 for Solaris 2.6
> appears to have a slight bug in it. Whenever we
> re-booted, during the system startup, the dbstart
> script is called but none of our databases ever come
> up. I finally tracked it down to this offending piece
> of code in dbstart:
>
> if test -f $ORACLE_HOME/bin/svrmgrl; then
> VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk
> '
> /PL\/SQL (Release|Version)/ {substr($3,1,3) ;
> print substr($3,1,3)}'`
> ...
> ...
> ...
>
> which I've replaced with this:
>
> if test -f $ORACLE_HOME/bin/svrmgrl; then
> VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk
> '
> /Oracle8i Enterprise Edition (Release|Version)/
> {substr($5,1,3) ;
> print substr($5,1,3)}'`
> ...
> ...
> ...
>
> Our databases come up automatically after a re-boot.
>
> hth someone.
>
> mkb
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jared Still
  INET: jkstill_at_cybcon.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Jul 12 2001 - 23:52:53 CDT

Original text of this message

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