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

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

Bug in dbstart Script?

From: mohammed bhatti <mkb125_at_yahoo.com>
Date: Thu, 12 Jul 2001 09:31:40 -0700
Message-ID: <F001.00348E3C.20010712094727@fatcity.com>

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: mohammed bhatti
  INET: mkb125_at_yahoo.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 - 11:31:40 CDT

Original text of this message

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