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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Installation Problem of Oracle 8i R2 8.1.6 in Linux

Re: Installation Problem of Oracle 8i R2 8.1.6 in Linux

From: Mr_Lab <t.o.b.y_at_btinternet.com>
Date: 2000/08/03
Message-ID: <8mcfpb$9dn$1@uranium.btinternet.com>#1/1

There is a bug in the dbstart script. Either run svrmgrl, connect internal and do a startup, or correct the dbstart script error, you should find the problem near this comment:

# Figure out if this is a V5, V6, or V7 database. Do we really need V5?

about 8 lines down, it looks for the pl/sql version. I changed this to read:

# Figure out if this is a V5, V6, or V7 database. Do we really need V5?

            if [ -f $ORACLE_HOME/bin/sqldba ] ; then
                VERSION=`$ORACLE_HOME/bin/sqldba command=exit | awk '
                        /SQL\*DBA: (Release|Version)/ {split($3, V, ".") ;
                        print V[1]}'`
            else
                if test -f $ORACLE_HOME/bin/svrmgrl; then
                    VERSION=`$ORACLE_HOME/bin/svrmgrl command=exit | awk '
****                /(JServer|PL\/SQL) (Release|Version)/ {substr($3,1,3) ;
                        print substr($3,1,3)}'`
                else
                        VERSION="8.2"
                fi
            fi

            STATUS=1


BTW, it's the line with **** which need to be removed!

--
Mr. Lab
--
http://www.klingklang.co.uk
http://klingklang.dyndns.org
--


"Jason Ng" <jason_ncl_at_yahoo.com> wrote in message
news:8mbg0o$8ge$1_at_news.hk.linkage.net...

> I have started the database by:
>
> dbstart
>
> and it said that the database has been started successfully
>
> Jason
>
> "Davide Bianchi" <info_at_soft-land.org> wrote in message
> news:398926a8.147383666_at_news.cis.dfn.de...
> > On Thu, 3 Aug 2000 10:08:30 +0800, "Jason Ng" <jason_ncl_at_yahoo.com>
> > wrote:
> >
> > >Hi,
> > >
> > >I have recently downloaded and installed Oracle8i Release 2 8.1.6 in my
> > >Linux box. I can now successfully start sqlplus, but I found that I
can't
> > >connect to the Oracle server. The error message is:
> > >
> > >ORA-01034: Oracle not found
> > >
> > >What is the problem?
> >
> > But the Oracle deamon is running ? There is a database started
> > on the machine ?
> > Davide
> >
>
>
Received on Thu Aug 03 2000 - 00:00:00 CDT

Original text of this message

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