| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: dbstart - does not work
Take a look in Metalink, there's a log for that, and a fixe too. And that's the fixe as it looks
Edit the script and change the 'awk' lines
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 }'`
Additionally for platforms which set LD_LIBRARY_PATH in the dbstart
script you should change the following:
From:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ORACLE_HOME}/lib ;
export LD_LIBRARY_PATH
To:
LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH} ;
export LD_LIBRARY_PATH
I did that, and it's working perf.
NY
"Jay Strauss" <jstrauss_at_compuserve.com> wrote in message
news:lxJE5.87$515.5789_at_news-west.usenetserver.com...
> Sorry if this has been posted before but I couldn't find it.
>
> The dbstart script for (at least) 8.1.6/Linux does not work. Copied my
old
> version from 8.1.5 and it works fine.
>
> I didn't find any report of this on technet.oracle.com, I'm not the best
at
> ksh scripts, does anyone know how to change the script to make it work?
>
> Jay
>
>
>
>
>
Received on Wed Oct 11 2000 - 00:06:05 CDT
![]() |
![]() |