Re: Error while installing 8.1.7 on Linux

From: Jan Bols <jan_at_ivpv.ugent.be>
Date: Mon, 07 Jul 2003 09:19:42 +0200
Message-ID: <3F091F0E.4070304_at_ivpv.ugent.be>


Alexander,
just last week I was in the same position as you where.

If you want to install 8.1.7 you have to take care of the following things. I followed the instructions of the page on the following link: http://www.bioweircom.org/HotTopics/oracle-8.1.7.html

But with a few adaptations.

This is what I did to get it running:

  1. First of all you have to specify LD_ASSUME_KERNEL=2.2.5 but I see you figured that out already. Also make sure you put the following things in your .bashrc or similar: edit .bashrc #---------ORALCE settings--------- ORACLE_BASE=/u01/app/oracle ORACLE_HOME=$ORACLE_BASE/product/8.1.7 NLS_LANG=AMERICAN_AMERICA.UTF8 ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data PATH=$ORACLE_HOME/bin:$PATH export ORACLE_BASE ORACLE_HOME NLS_LANG ORA_NLS33 PATH
  2. Second, if you want to have apache for Oracle running I believe you have to install jdk 1.1.8. It's available on the blackdown site http://www.blackdown.com/. You have tot choose the glibc version. Install it under /usr/local/java or similar.
  3. When installing Oracle you must have booted from the vmlinuz kernel and not the vmlinuz-secure kernel which is selected by default at boottime. (This is the reason why I spent a day full of frustration when installing oracle on my linux)
  4. You can install oracle choosing the typical installation or the minimal or the custom one.
  5. The installer will install all the files and afterwards will start linking. At 65% it will start complaining. Just click on the ignore button at all of these warning.
  6. Near the end of the installation, the installer will prompt you to run $ORACLE_HOME/root.sh as root. This file has two errors in it, so before you run it make the following changes:

Change line 102 from:
RMF=/bin/rm -f
to:
RMF="/bin/rm -f"

Change line 156 from:
RUID=`/usr/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}` to:
RUID=`/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}'` #NOTE: /usr/bin becomes /bin AND '{print $1} becomes '{print $1}'

7. At the end of the installation, the installer will try to run three configuration wizards: the Net8 Configuration Assistant, the Oracle Database Configuration Assistant, and the Apache Web Server Configuration Assistant. You should stop all of them. You will run them later. After this your installer is done and you should exit it.

8. Now copy the glibc-2.1.3-stubs.tar.gz patch to your $ORACLE_HOME dir, untar it and run setup_stubs.sh

9. run the 2 patches on the install CD:
- Disk1/patch/bug1538440

     export TOP_PATCH_DIR=/tmp/public/download/Disk1/patch/bug1538440
     run ./README.1538440
     run /u01/app/oracle/product/8.1.7/root.sh as root to complete 
installation of the patch
- Disk1/patch/bug1542738
     First edit README.1542738 to use #!/bin/bash
     run ./README.1542738

  1. Change your .bashrc or similar so that they include the following:

LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH ORACLE_SID=#your_SID
JRE_Location=$ORACLE_HOME/JRE

CLASSPATH1=$JRE_Location:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbm/jlib:
CLASSPATH2=$ORACLE_HOME/network/jlib:$ORACLE_HOME/plsql/jlib:
CLASSPATH3=$ORACLE_HOME/owm/jlib:$ORACLE_HOME/assistants/jlib:
CLASSPATH4=$ORACLE_HOME/assistants/dbma/jlib:$ORACLE_HOME/assistants/dbca/jlib:
CLASSPATH=$CLASSPATH1$CLASSPATH2$CLASSPATH3$CLASSPATH4$CLASSPATH TNS_ADMIN=$ORACLE_HOME/network/admin
TWO_TASK=#net service name of the database export ORACLE_BASE ORACLE_HOME NLS_LANG ORA_NLS33 PATH export CLASSPATH JRE_Location ORACLE_SID LD_LIBRARY_PATH
  1. run dbassist
  2. restart the listener lsnrctl stop lsnrctl start
  3. run netasst edit $ORACLE_HOME/bin/netasst: change from: #$JRE -classpath $CLASSPATH oracle.net.asst.... to: $JRE -nojit -classpath $CLASSPATH oracle.net.asst...

That should be it.

Hope this works.

Jan Bols Received on Mon Jul 07 2003 - 09:19:42 CEST

Original text of this message