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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle 8i Install On Redhat 9

Re: Oracle 8i Install On Redhat 9

From: Chaz <news-dfn_at_chaz6.com>
Date: Thu, 8 May 2003 16:07:17 +0100
Message-ID: <b9drrl$igh8j$1@ID-117927.news.dfncis.de>


"Chaz" <news-dfn_at_chaz6.com> wrote in message news:b9da0n$hh7vg$1_at_ID-117927.news.dfncis.de...
> "Joydeep" <joy_deep_at_yahoo.com> wrote in message
> news:9a11504a.0305072256.395f66c4_at_posting.google.com...
> > Hi all,
> >
> > I have been trying to install Oracle 8.1.7 on Redhat 9. I downloaded
> > the Oracle software and the stub from the OTN site. Installed Java
> > 1.1.8. Created oracle user and the usergroup dba,oinstall and oper.
> > Installed compat-egcs-6.2-1.1.2.14,compat-glibc-6.2-2.1.3.2 and
> > compat-libs-6.2-3. Changed the bash_profile. Now my bash_profile looks
> > like this :
> > ***********************************************************
> > # .bash_profile
> >
> > # Get the aliases and functions
> > if [ -f ~/.bashrc ]; then
> > . ~/.bashrc
> > fi
> >
> > # User specific environment and startup programs
> > umask 022
> > EDITOR=vi; export EDITOR
> > TERM=xterm; export TERM
> > TMPDIR=/tmp; export TMPDIR
> >
> > # +--------------------------+
> > # | SETUP ORACLE ENVIRONMENT |
> > # +--------------------------+
> >
> > export ORACLE_SID=orcl
> > export ORACLE_BASE=/opt/oracle
> > export ORACLE_HOME=/opt/oracle/product/8.1.7
> >
> > export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
> > export TNS_ADMIN=$ORACLE_HOME/network/admin
> >
> > export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
> > export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
> >
> > export ORACLE_OWNER=oracle
> > export ORACLE_TERM=xterm
> >
> > # +--------------------------+
> > # | LINUX STUFF |
> > # +--------------------------+
> >
> > export LD_ASSUME_KERNEL=2.2.5
> > . /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
> >
> > # +--------------------------+
> > # | SETUP SEARCH PATH |
> > # +--------------------------+
> >
> >

>
PATH=$ORACLE_HOME/bin:/opt/bin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/X
> 11R6/bin:/usr/local/java/bin:.
> > export PATH
> >
> > # +--------------------------+
> > # | SETUP JAVA ENVIRONMENT |
> > # +--------------------------+
> >
> > export JAVA_HOME=/usr/local/java
> >
> > export

>
CLASSPATH=/opt/oracle/product/8.1.7/jdbc/lib/classes12.zip:/opt/oracle/produ >
ct/8.1.7/JRE:/opt/oracle/product/8.1.7/jlib:/opt/oracle/product/8.1.7/rdbms/
> jlib:/opt/oracle/product/8.1.7/network/jlib:.
> >
> >
> > unset USERNAME
> > *******************************************
> >
> > Then, I ran runInstaller from Disk1/install/linux/ folder. It went
> > smoothly except later, in some of the modules, when it tried to relink
> > it failed. I clicked ignore in those cases. After that I cancelled the
> > net8 configuration, database creation and the apache server
> > configuration.
> > Now when I applied the stub, it failed saying "error while loading
> > shared libraries: libclntsh.so.8.0: cannot open shared object file".
> > The stub also changed svrmgrl and sqlplus to svrmgrlO and sqlplusO in
> > $ORACLE_HOME/bin directory.
> > Now I cannot find libclntsh.so.8.0 anywhere in my my pc. I don't know
> > from where I can download it.
> >
> > Please help me fix this problem.
> >
> > You can mail me at joy_deep_at_yahoo.com
> >
> > Regards,
> >
> > Joydeep

>

> Hi

>
> I remember last time I installed it on RedHat 9 I had a bit of trouble
doing
> so, but in the end I got it going. I have to do another installation this
> afternoon, so I shall let you know how it goes.
>

> Regards,
>

> Chris

>
>

Hi

All done, and it went more easily then I expected. The only snag I had was that I did not install XFree, but that was easily added using up2date.

Oracle is one of those things, that unless you do everything perfectly, then you are bound to run into problems.

Anyway, here's what I did...

Set up users, groups, directories etc
Run the installer program
Install Oracle.. there are some messages about missing files, just hit ignore
Extract glibc-2.1.3-stubs.tar.gz into /u01/app/oracle, or wherever you installed Oracle
Run ./setup_stubs.sh
Run /u01/app/oracle/bin/netca (or just write ./net/admin/tnsnamed.ora yourself)
And that's it!

[oracle_at_xxx oracle]$ cat /etc/redhat-release Red Hat Linux release 9 (Shrike)
[oracle_at_xxx oracle]$ uptime
 16:05:25 up 3:00, 4 users, load average: 0.00, 0.05, 0.25 [oracle_at_xxx oracle]$ /u01/app/oracle/bin/sqlplus */*@*

SQL*Plus: Release 8.1.7.0.0 - Production on Thu May 8 16:05:58 2003

(c) Copyright 2000 Oracle Corporation. All rights reserved.

Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production

I would recommend you start from scratch, and make sure you get everything right. It is a lot easier than trying to troubleshoot.

Regards,

Chris Received on Thu May 08 2003 - 10:07:17 CDT

Original text of this message

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