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

Home -> Community -> Usenet -> c.d.o.server -> Re: abort dbstart !!

Re: abort dbstart !!

From: rob <rob_at_dsdelft.nl>
Date: Thu, 21 Jun 2001 09:14:40 +0200
Message-ID: <9gs6t0$7f4$1@news.tudelft.nl>

> Which oracle version? Which OS version?
> I had some problems with the dbstart script for 8.1.6 on Solaris.
> You could try hacking it, or use the script that comes with 8.1.7.
Same error exists on HP-UX, this is because PL/SQL doesn't return the string "PL/SQL" anymore in 8.1.6 versions.
To correct this edit dbstart script as follows: Change

     from:
        VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk '
          /PL\/SQL (Release|Version)/ {substr($3,1,3) ;
          print substr($3,1,3)}'`
      to:
        VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk '
          /PL\/SQL (Release|Version)/ { print substr($3,1,3); exit }
          /Oracle7 Server (Release|Version)/ { print substr($4,1,3); exit }
          /Oracle8i Enterprise Edition (Release|Version)/ { print
substr($5,1,3); exit }
          /Oracle8i (Release|Version)/ { print substr($3,1,3); exit }'`


Rob Received on Thu Jun 21 2001 - 02:14:40 CDT

Original text of this message

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