Home > Installation > Oracle 11gR2 silent installation problem

Oracle 11gR2 silent installation problem

November 25, 2010 Leave a comment Go to comments

When I installed Oracle 11gR2 in silent mode, I encountered two problems. The details and solutions are shown as below

Problem 1:

Symptoms

1. Edit the ./response/db_install.rsp withe following settings

oracle.install.option=INSTALL_DB_SWONLY

ORACLE_HOSTNAME=testvmdb

UNIX_GROUP_NAME=dba

INVENTORY_LOCATION=/opt/oracle/oraInventory

SELECTED_LANGUAGES=en

ORACLE_HOME=/opt/oracle/product/11g

ORACLE_BASE=/opt/oracle

oracle.install.db.InstallEdition=EE

oracle.install.db.DBA_GROUP=dba

oracle.install.db.OPER_GROUP=dba

2. Start the silent installation

$  ./runInstaller -silent -ignorePrereq  -responseFile ‘/export/home/oracle/database/response/db_install.rsp’
Starting Oracle Universal Installer…

Checking Temp space: must be greater than 180 MB.   Actual 180764 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4233 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-11-25_10-52-41AM. Please wait …$ 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)

Fix

Check the installation session environment variable, unset the DISPLAY

$ unset DISPLAY

 

Problem 2:

Symptoms

1. After fixing the problem 1, restart the installation in silent mode

2. Start the silent installation, got the following server problem

“/export/home/oracle/database/response/db_install.rsp” 415 lines, 22657 characters
$ ./runInstaller -silent -ignorePrereq  -responseFile ‘/export/home/oracle/database/response/db_install.rsp’
Starting Oracle Universal Installer…

Checking Temp space: must be greater than 180 MB.   Actual 184798 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 5549 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-11-25_10-28-43AM. Please wait …$ [SEVERE] – Email Address Not Specified
A log of this session is currently saved as: /tmp/OraInstall2010-11-25_10-28-43AM/installActions2010-11-25_10-28-43AM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.

Fix

Set both installation variables in db_install.rsp with values shown

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

DECLINE_SECURITY_UPDATES=true

 

Advertisements
Categories: Installation
  1. No comments yet.
  1. November 28, 2010 at 11:13 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: