4 Replies Latest reply on Oct 12, 2011 10:14 AM by Dude!

    Oracle 11g R2 Installation Silent Mode

      I have a response file. I started the installation of oracle by issuing the following command : ./runInstaller -silent -responseFile db_install.rsp
      and I had this error:

      Exception in thread "main" java.lang.NoClassDefFoundError
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Class.java:164)
           at java.awt.Toolkit$2.run(Toolkit.java:821)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
           at javax.swing.UIManager.initialize(UIManager.java:1262)
           at javax.swing.UIManager.maybeInitialize(UIManager.java:1245)
           at javax.swing.UIManager.getUI(UIManager.java:851)
           at javax.swing.JPanel.updateUI(JPanel.java:104)
           at javax.swing.JPanel.<init>(JPanel.java:64)
           at javax.swing.JPanel.<init>(JPanel.java:87)
           at javax.swing.JPanel.<init>(JPanel.java:95)
           at oracle.sysman.oii.oiif.oiifo.OiifoOCMUI.<init>(OiifoOCMUI.java:125)
           at oracle.sysman.oii.oiif.oiifo.OiifoOCMInterfaceManager.<init>(OiifoOCMInterfaceManager.java:79)
           at oracle.sysman.oii.oiif.oiifo.OiifoOCMInterfaceManager.getInstance(OiifoOCMInterfaceManager.java:124)
           at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:123)
           at oracle.install.commons.util.Application.startup(Application.java:869)
           at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
           at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
           at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
           at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
           at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

      However I had openjdk installed on the machine : The machine is CentOS.

      Please help me because I need it to deploy oracle

      Edited by: 879597 on Oct 11, 2011 4:54 AM
        • 1. Re: Oracle 11g R2 Installation Silent Mode
          Zoltan Kecskemethy
          Check installation prerequisites. kernel parameters, dependent packages etc.

          If you have MOS access see "Requirements for Installing Oracle 11gR2 RDBMS on RHEL (and OEL) 5 on AMD64/EM64T [ID 880989.1]" or other install document in the Internet for CentOS.

          One more thing is important: Java is not a prerequisite. Oracle installer and software has its own java. Unset JAVA_HOME variable before install.
          • 2. Re: Oracle 11g R2 Installation Silent Mode
            Please How can I unset the java home?
            • 3. Re: Oracle 11g R2 Installation Silent Mode
              As root, modify max-file-descriptor setting for grid user's project. Assuming project name for grid user is group.oinstall:

              /usr/sbin/projmod -sK "process.max-file-descriptor=(priv,65536,deny)" group.oinstall
              • 4. Re: Oracle 11g R2 Installation Silent Mode
                I don't see any valid reason to run CentOS in order to install Oracle database. You can download and use Oracle Linux for free from https://edelivery.oracle.com/linux. CentOS and Oracle Linux, alias OEL are both from the Red Hat source. However, Oracle Linux ships with a more modern and Oracle optimized kernel. Then setup Oracle public yum: http://public-yum.oracle.com and finally install: yum install oracle-validated to setup all prerequisites for the Oracle database installation. If you need help, try the Oracle Linux forum or subscribe to Oracle ULN for professional support. I wonder why so many people make the Oracle installation under Linux harder than it has to be.