0 Replies Latest reply on Jul 16, 2004 9:52 AM by 425564

    installation problem oracle 8i on RHL 9

    425564
      i am trying to install oracle 8i on Red Hat Linux 9 box.
      Configuration of the box is 512 MB Ram , 40 GB HDD

      For installation i have downloaded some files from different sites :

      compat-db-3.3.11-4.i386.rpm jdk118_v3-glibc-2.1.3.tar.bz2
      compat-gcc-7.3-2.96.118.i386.rpm nss_db-compat-2.2-20.i386.rpm
      compat-libgcj-7.3-2.96.118.i386.rpm glibc-2.1.3-stubs.tar
      compat-libgcj-devel-7.3-2.96.118.i386.rpm

      * The Official Patch from Oracle (glibc-2.1.3-stubs)

      Copy the patch to Oracle Home before launching the installer


      rpm -Uvh compat-gcc-7.3-2.96.118.i386.rpm
      rpm -Uvh compat-libgcj-7.3-2.96.118.i386.rpm
      rpm -Uvh compat-libgcj-devel-7.3-2.96.118.i386.rpm
      rpm -Uvh nss_db-compat-2.2-20.i386.rpm
      rpm -Uvh compat-db-3.3.11-4



      Installing Java Development Kit

      Install jdk in /usr/local

      [root]# tar -xvjf jdk-1.1.8_v3.tar.bz2 -C /usr/local


      Created a symbolic link to the directory jdk118_v3 because oracle expects to find it under /usr/local/java:

      [root]# ln -s /usr/local/jdk118_v3 /usr/local/java




      [root@linux ]# groupadd oinstall
      [root@linux ]# groupadd dba
      [root@linux ]# useradd -g oinstall -G dba oracle
      [root@linux ]# passwd oracle
      Changing password for user oracle.
      New password:
      BAD PASSWORD: it is based on a dictionary word
      Retype new password:
      passwd: all authentication tokens updated successfully.
      [root@linux 817InstallFiles]#
      [root@linux u01]$ mkdir /u01/oracle/product
      [root@linux u01]$ cd /u01/oracle/product
      [root@linux u01]$ mkdir 8.1.7
      [root@linux u01]$ chown -R oracle.oinstall /u01/oracle/*

      login to oracle from another window

      [oracle@frodo oracle]$ vi .bash_profile

      # Stuff for 8.1.7 Install
      export LD_ASSUME_KERNEL=2.2.5
      export ORACLE_BASE=/u01/oracle
      export ORACLE_HOME=$ORACLE_BASE/product/8.1.7
      export PATH=$PATH:$ORACLE_HOME/bin
      unset LANG

      # Java DEVELOPMENT Kit for 8.1.7
      JAVA_HOME=/usr/local/java; export JAVA_HOME
      CLASSPATH=${JAVA_HOME}/lib/classes.zip; export CLASSPATH

      #Need to point to init*.ora
      ORACLE_SID=orcl; export ORACLE_SID

      # Need shared libraries ie for lsnrctl
      if [ "${LD_LIBRARY_PATH:-}" == "" ]; then
      LD_LIBRARY_PATH=${ORACLE_HOME}/lib:/usr/lib:/usr/local/lib
      else
      LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
      fi
      export LD_LIBRARY_PATH

      Then

      # . /home/oracle/.bash_profile


      [oracle@linux 817InstallFiles]$ tar -xvf linux81701.tar
      [oracle@linux Disk1]$ ./runInstaller



      Source:
      /u01/817InstallFiles/Disk1/stage/products.jar

      Destination:
      /u01/oracle/product/8.1.7

      Loading product list. Please wait...

      Unix Group name:
      oinstall


      Prompted to run a script as root.

      [root@linux 8.1.7]# sh orainstRoot.sh
      Creating Oracle Inventory pointer file (/etc/oraInst.loc)
      Changing groupname of /u02/oracle/oraInventory to oinstall.


      Select product to install:

      Oracle Enterprise
      Installation Types:
      Typical (837MB)


      Verify JDK Home Directory:
      (not necessary for 8.1.6 install, must be available for 8.1.7)

      /usr/local/java

      Database Identification:
      name.domain
      linux.yujsys.com

      SID:orcl
      typically default value. Max 8 chars.

      After 5% installation Giving Error
      i.e. error writing to file .
      /u01/oracle/doc/dcommon/gifs/bookbig.gif
      Action Taken : Ignore

      While linking ...
      After 64% error in invoking target relink to make file.
      /u01/oracle/product/8.1.7/precomp/lib/ins_precomp.mk
      Action Taken : Applied the patch glibc-2.1.3-stubs.tar .

      [root@linux 8.1.7]# sh setup_stubs.sh

      Setting up patch files...done.
      Patching makefiles as necessary:
      checking file '/u01/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/rdbms/demo/ociucb.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/rdbms/lib/ins_rdbms.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/rdbms/lib/env_rdbms.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/network/lib/ins_net_client.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/network/lib/env_network.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/network/lib/ins_cman.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/network/lib/ins_names.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/network/lib/ins_oemagent.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/network/lib/env_oemagent.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/network/lib/ins_net_server.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/network/lib/ins_nau.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/plsql/lib/env_plsql.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/plsql/lib/ins_plsql.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/plsql/demo/demo_plsql.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/precomp/lib/ins_precomp.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/precomp/lib/env_precomp.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ldap/lib/env_ldap.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ldap/lib/ins_ldap.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ldap/demo/demo_ldap.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/sqlplus/lib/env_sqlplus.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/sqlplus/lib/ins_sqlplus.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ord/im/lib/env_ordim.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ord/img/demo/demo_ordimg.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ord/ts/demo/oci/src/demo_ordts.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ord/ts/demo/proc/src/demo_ordts.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ord/ts/lib/env_ordts.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/md/demo/examples/demo_sdo.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/md/demo/unix/motif/src/demo_motif.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/md/demo/unix/motif/src/db_src/demo_dbsrc.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/md/demo/unix/motif/src/main_src/demo_mainsrc.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/otrace/demo/atmoci.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/otrace/lib/env_otrace.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/otrace/lib/ins_otrace.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ctx/lib/env_ctx.mk'...OK.
      checking file '/u01/oracle/product/8.1.7/ctx/lib/ins_ctx.mk'...OK.
      Rebuilding client shared library...cp: cannot stat `/DISCARD/': No such file or
      directory
      done.
      Relinking executables:
      running 'ins_rdbms.mk'...done.
      running 'ins_net_client.mk'...done.
      running 'ins_cman.mk'...done.
      running 'ins_names.mk'...done.
      running 'ins_oemagent.mk'...done.
      running 'ins_net_server.mk'...done.
      running 'ins_nau.mk'...done.
      running 'ins_plsql.mk'...done.
      running 'ins_precomp.mk'...done.
      running 'ins_ldap.mk'...done.
      running 'ins_sqlplus.mk'...done.
      running 'ins_otrace.mk'...done.
      running 'ins_ctx.mk'...done.


      After 75% error in invoking target install of makefile
      /u01/oracle/product/8.1.7/networks/lib/ins_oemagent.mk
      Action taken : Ignore

      After 80% Same as above
      /u01/oracle/product/8.1.7/networks/lib/ins_net_server.mk
      Action taken : Ignore

      After 96% Same as above
      /u01/oracle/product/8.1.7/networks/lib/ins_ctx.mk
      Action taken : Ignore

      100% completed .
      Then
      [root@linux 8.1.7]# sh root.sh

      Running Oracle8 root.sh script...
      root.sh: command substitution: line 1: unexpected EOF while looking for matching `''
      root.sh: command substitution: line 2: syntax error: unexpected end of file
      root.sh: line 157: [: !=: unary operator expected
      \nThe following environment variables are set as:
      ORACLE_OWNER= oracle
      ORACLE_HOME= /u01/oracle/product/8.1.7
      ORACLE_SID= orcl

      Enter the full pathname of the local bin directory: [usr/local/bin]:
      \nCreating /etc/oratab file...
      Entry will be added to the /etc/oratab file by
      Database Configuration Assistant when a database is created
      Finished running generic part of root.sh script.
      Now product-specific root actions will be performed.

      Done !

      Now

      Net 8 Configuration Asistence                    in progress...
      Oracle Database Configuration Asistence           pending...
      Starting Web server in non -SSL mode on port 7777 pending...

      I do not know how long I have to wait !!!!
      I stopped Net 8 after 2 hours .....!!!!!
      And Then issue some commands ...... to check...
      [oracle@linux oracle]$ svrmgrl

      Oracle Server Manager Release 3.1.7.0.0 - Production

      Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.

      Oracle8i Enterprise Edition Release 8.1.7.0.1 - Production
      With the Partitioning option
      JServer Release 8.1.7.0.1 - Production

      SVRMGR> connect internal
      Connected.
      SVRMGR> startup
      ORACLE instance started.
      Total System Global Area 24805536 bytes
      Fixed Size 73888 bytes
      Variable Size 24449024 bytes
      Database Buffers 204800 bytes
      Redo Buffers 77824 bytes
      ORA-00205: error in identifying controlfile, check alert log for more info
      SVRMGR>

      Can anybody help me ???????