8 Replies Latest reply on Jun 15, 2010 12:14 PM by 711783

    Oracle 10g Installation ./runInstaller Issue

    711783
      This steps i performed to install Oracle 10g R2 on RHEL 5
      I am accessing this system through putty and x11 is enable and xming is installed in my system.
      I can access xclock, gedit etc. so why Installer not getting started ?
      --------------------------------------------------------------------------------
      1. Add the following lines to /etc/security/limits.conf file
      vi /etc/security/limits.conf
      ########
      # New #
      ########
      oracle soft nproc 2047
      oracle hard nproc 16384
      oracle soft nofile 1024
      oracle hard nofile 65536

      2. Add the following lines to /etc/pam.d/login file
      vi /etc/pam.d/login
      ########
      # New #
      ########
      session required /lib/security/pam_limits.so

      3. In order to use Oracle Software, we need to make a change in “oracle” user’s buffer size and number of opened file descriptors. In order to do it, we add below lines to /etc/profile file
      vi /etc/profile
      ########
      # New #
      ########
      if [ $USER = "oracle" ]; then
      if [ $SHELL = "/bin/ksh" ]; then
      ulimit -p 16384
      ulimit -n 65536
      else
      ulimit -u 16384 -n 65536
      fi
      fi

      4.
      vi /etc/selinux/config
      SELINUX=disabled

      5. Changing redhat-release file
      (delete existing version and change it to)
      redhat-4

      vi /etc/redhat-release
      Orignal
      Red Hat Enterprise Linux Server release 5.5 (Tikanga)
      to
      Fake
      redhat-4

      4) Create groups and user for Oracle Installation
      at root
      groupadd oinstall
      groupadd dba

      at root
      useradd -g oinstall -G dba oracle
      passwd oracle

      at root
      mkdir -p /u01/app/oracle/product/10.2.0/db_1
      chown -R oracle.oinstall /u01
      chmod -R 777 /u01/


      root(check your machine name)
      xhost

      at oracle
      vi .bash_profile
      ########
      # New #
      ########
      # .bash_profile


      # Get the aliases and functions
      if [ -f ~/.bashrc ]; then
      . ~/.bashrc
      fi

      export TMP=/tmp;
      export TMPDIR=$TMP;
      export ORACLE_BASE=/u01/app/oracle;
      export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1;
      export ORACLE_SID=cmsdev;
      export ORACLE_TERM=xterm;
      export PATH=/usr/sbin:$PATH;
      export PATH=$ORACLE_HOME/bin:$PATH;
      export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
      export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;


      5) Copy Setup file folder to /u01
      at root
      cp -r /backup/orasetup/ora10-64.tgz /u01/
      chown -R oracle.oinstall /u01/oracle10g2_x86-64/

      at oracle
      tar -zxvf ora10-64.tgz

      6) Oracle ./runInstaller
      at oracle
      cd /u01/oracle10g2_x86-64/database/
      ./runInstaller
      ---------------------------------------------------This is the error
      But when i am doing ./runInstaller


      -bash-3.2$ ./runInstaller
      Starting Oracle Universal Installer...

      Checking installer requirements...

      Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
      Passed


      All installer requirements met.

      Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-06-14_11-00-27AM. Please wait ...Error in CreateOUIProcess(): 13
      : Permission denied
      ---------------------------------------------------This is the error

      Thanks in advance all Gurus :)
        • 1. Re: Oracle 10g Installation ./runInstaller Issue
          Zekeriya Besiroglu
          hi

          pls check tmp directory permission

          $ export TMP=$HOME/tmp

          hope this helps

          zekeriya besiroglu

          http://zekeriyabesiroglu.blogspot.com
          • 2. Re: Oracle 10g Installation ./runInstaller Issue
            711783
            Thank you :)
            but i already did this steps in post installation steps.
            • 3. Re: Oracle 10g Installation ./runInstaller Issue
              711783
              -bash-3.2$ ./runInstaller
              Starting Oracle Universal Installer...

              Checking installer requirements...

              Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux- 2
              Passed


              All installer requirements met.

              Preparing to launch Oracle Universal Installer from /u01/app/oracle/tmp/OraInstall2010-06-14_12-00-08PM. Plea se wait ...-bash-3.2$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/app/oracle/tmp/OraInsta ll2010-06-14_12-00-08PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such fil e or directory
              at java.lang.ClassLoader$NativeLibrary.load(Native Method)
              at java.lang.ClassLoader.loadLibrary0(Unknown Source)
              at java.lang.ClassLoader.loadLibrary(Unknown Source)
              at java.lang.Runtime.loadLibrary0(Unknown Source)
              at java.lang.System.loadLibrary(Unknown Source)
              at sun.security.action.LoadLibraryAction.run(Unknown Source)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
              at sun.awt.DebugHelper.<clinit>(Unknown Source)
              at java.awt.Component.<clinit>(Unknown Source)
              • 4. Re: Oracle 10g Installation ./runInstaller Issue
                450804
                Hi,

                did you install all the required packages? I have the feeling you are missing: libXp-1.0.0-8.1.el5.i386.rpm

                Get the full package list at: http://www.oratoolkit.ch/knowledge/howto/installation/eeSrv-10g-R2-on-RHEL-5.5-x86_64.php

                Regards,
                David

                OCP 9i / 10g / 11g
                • 5. Re: Oracle 10g Installation ./runInstaller Issue
                  711783
                  Thanks you Sir, I put request to System Admin to install this rpm :) Hope is works now
                  • 6. Re: Oracle 10g Installation ./runInstaller Issue
                    711783
                    -bash-3.2$ ./runInstaller
                    Starting Oracle Universal Installer...

                    Checking installer requirements...

                    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                    Passed


                    All installer requirements met.

                    Preparing to launch Oracle Universal Installer from /u01/app/oracle/tmp/OraInstall2010-06-15_07-58-17AM. Please wait ...-bash-3.2$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/app/oracle/tmp/OraInstall2010-06-15_07-58-17AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
                    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
                    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
                    at java.lang.ClassLoader.loadLibrary(Unknown Source)
                    at java.lang.Runtime.loadLibrary0(Unknown Source)
                    at java.lang.System.loadLibrary(Unknown Source)
                    at sun.security.action.LoadLibraryAction.run(Unknown Source)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
                    at sun.awt.DebugHelper.<clinit>(Unknown Source)
                    at java.awt.Component.<clinit>(Unknown Source)


                    Anyone can give knowledge on this. Please help me guys :)
                    • 7. Re: Oracle 10g Installation ./runInstaller Issue
                      Ehtiram Hasanov
                      I think this error happens before the GUI of oracle universal installer appears, i.e. awt - is javas abstract wiindows toolkig library which previously used for GUI applications. It seems that this library also uses native library, in this case some with name libXp.so.6 and could not find it.
                      If you are sure all the necessary packages are installed (required for oracle installation) and you are still getting this issue, then try to find the shared object (library) in /lib, /usr/lib directories. for example type cd /lib and then ls -l Xp.so
                      if you can see the library (so file) with the similar name, then make a symbolik link to this library file in this directory(i.e. where you have found it)
                      for example if you have found libXp.so file in the /lib directory for making symbolink link to it you can use: ln -s /lib/libXp.so /lib/libXp.so.6 command and try again to launch your installer.
                      • 8. Re: Oracle 10g Installation ./runInstaller Issue
                        711783
                        Thanks :)
                        this error solve with installation of libXp < rpm