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: Help need for Oracle 8.1.6 on RH 7.0

Re: Help need for Oracle 8.1.6 on RH 7.0

From: jhaskins <jhaskins_at_uswest.net>
Date: Tue, 06 Feb 2001 22:30:35 -0800
Message-ID: <3A80EB8B.BB2ABBAD@uswest.net>

This helped me, same situation. Sorry about the formatting - jhaskins

From the OTN:
If you're having trouble with Oracle 8.1.x on any version of Linux that uses glibc version 2.2,
try this and see if it solves your problem:

The problem is that Oracle 8.1.x needs glibc 2.1.3. It will link without error with glibc 2.2, but
when you try to run dbassist or create a database from scratch, there are problems (dbassist
hangs, "End of file on communication channel", etc.)

Here is a step-by-step process for getting Oracle 8.1.6 or 8.1.7 working on systems with glibc
2.2 (don't bother with 8.1.5 if you can help it):

  1. Install the compat-glibc RPM for 2.1.3.x
  2. cd to the directory where compat-glibc installed the files (for me it's /usr/i386-glibc21-linux/lib).
  3. Copy the following files to $ORACLE_HOME/lib:
                            libc-2.1.3.so
                            libpthread.so
                            libdl.so
                            ld-linux.so.2 

For me, several of these are symbolic links, so you'll need to copy the target of the symbolic
link and rename it to the link name when you copy it to $ORACLE_HOME/lib.

For example, if ls -l shows:

                            ld-linux.so.2 -> ld-2.1.3.so
                            libc-2.1.3.so
                            libdl.so -> libdl.so.2
                            libpthread.so -> libpthread.so.0

 Then you will:

                            cp ld-2.1.3.so
$ORACLE_HOME/lib/ld-linux.so.2
                            cp libc-2.1.3.so $ORACLE_HOME/lib
                            cp libdl.so.2 $ORACLE_HOME/lib/libdl.so
                            cp libpthread.so.0
$ORACLE_HOME/lib/libpthread.so

4. Create a file in $ORACLE_HOME/lib called libc.so with the following contents (as a single
line):

GROUP ( <OH>/lib/libc-2.1.3.so <OH>/lib/ld-linux.so.2 <CL>/libc_nonshared.a )

Substitute the value of $ORACLE_HOME for <OH> and the location of the compat-glibc
directory for <CL>. For example:

                            My $ORACLE_HOME is:
                            /u01/app/oracle/product/8.1.7

(Notice the use of the OFA standard? Do yourself and others a favor - follow the standard. If
you don't know what OFA is, please see the Oracle Administrator's Guide for UNIX.)

and my compat-glibc directory is:

                            /usr/i386-glibc21-linux/lib

                            so the GROUP line looks like this for me:

GROUP (/u01/app/oracle/product/8.1.7/lib/libc-2.1.3.so /u01/app/oracle/product/8.1.7/lib/ld-linux.so.2 /usr/i386-glibc21-linux/lib/libc_nonshared.a)

                            This is all one line.

5. cd $ORACLE_HOME/bin
6. Run the following command from the UNIX prompt:

relink all

All of the Oracle software, including the assitants, will work fine now.

 I have used this technique for RedHat 7.0 with the 2.2.16 kernel, as well as the 2.4.0 and
2.4.1-pre11 kernels.

Thanks to Richard Rankin for this simple and reliable method (there are others, but they are not
as clean).

                            John Smiley
                            Sr. Oracle DBA
                            Lucent Technologies, Inc.

                                                                                                   

dalianya_at_my-deja.com wrote:
>
> Hello,
>
> I just installed Oracle8i on RH 7.0. The GUI installer runs ok for
> Oracle software installation. When it comes to the GUI database
> configuration tools to create the starter database, the GUI tool just
> hang there forever without any error message. I tried a couple of times
> to create the starter database, everytime it get hang when it reach 80%
> done.
>
> My hardware is:
> RAM 192M
> Swap 500M
> CPU Celeron 500MHz
> HD 10GB
>
> I also tried to create the database by generating a script and run the
> script in console mode. when you run the generated script, it prompt
> you to SVRMGRL and if you type startup, it hangs again!
>
> Any help will greatlly appreciated!!
>
> Thanks in advance,
>
> Sent via Deja.com
> http://www.deja.com/
Received on Wed Feb 07 2001 - 00:30:35 CST

Original text of this message

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