Guenadi N Jilevski's Oracle BLOG


Installing Oracle Grid Control on OEL 5.4

Installing Oracle Grid Control on OEL 5.4

Here we will look at the steps to install Oracle Enterprise Manager Grid Control on OEL 5.4.

Kernel Parameters

Make Sure the Linux kernel parameters are set as specified as below in /etc/systcl.conf

fs.aio-max-nr = 1048576

fs.file-max = 6815744

kernel.shmall = 2097152

kernel.shmax = 536870912

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 1024 65500

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048586

Activate the parameters with

sysctl -p

Modify /etc/security/limits.conf to include the following.

oracle soft nofile 131072

oracle hard nofile 131072

oracle soft nproc 131072

oracle hard nproc 131072

oracle soft core unlimited

oracle hard core unlimited

oracle soft memlock 3500000

oracle hard memlock 3500000

# Recommended stack hard limit 32MB for oracle installations

# oracle hard stack 32768

Append the following entry to the “/etc/pam.d/login” file.

session required

Disable secure linux by editing the “/etc/selinux/config” file, making sure the SELINUX flag is set as follows.


Alternatively, this alteration can be done using the GUI tool (Applications > System Settings > Security Level). Click on the SELinux tab and disable the feature.


Install the required packages, some of which may already be present.

# From OEL 5.4

cd /media/cdrom/Enterprise/RPMS

rpm -Uvh glibc-2*

rpm -Uvh make-3*

rpm -Uvh binutils-2*

rpm -Uvh gcc-3*

rpm -Uvh libaio-0*

rpm -Uvh glibc-common-2*

rpm -Uvh setarch-1*

rpm -Uvh pdksh-5*

rpm -Uvh openmotif21*

rpm -Uvh sysstat-5*

rpm -Uvh gnome-libs-1*

rpm -Uvh compat-db-4*

rpm -Uvh compat-db-4.1.25-9.i386.rpm

rpm -Uvh control-center-2*

rpm -Uvh xscreensaver-4*

rpm -Uvh glibc-devel-2*

rpm -Uvh glibc-devel-2.3.4-2.43.i386.rpm

rpm -Uvh libgcc-3*

rpm -Uvh compat-gcc*

rpm -Uvh compat-glibc*

rpm -Uvh compat-libgcc-296*

rpm -Uvh libstdc++-devel-3*

rpm -Uvh libgcc-3.4.6-11.0.1.i386.rpm

rpm -Uvh compat-libstdc++-296*

rpm -Uvh compat-libstdc++-33-3.2.3-47.3.i386.rpm

rpm -Uvh libstdc++-3*

rpm -Uvh openmotif2*

rpm -Uvh freetype-devel*

rpm -Uvh fontconfig-devel*

rpm -Uvh xorg-x11-devel*

rpm -Uvh –force xorg-x11-deprecated-libs*

Create the new groups and users.

groupadd oinstall

groupadd dba

groupadd oper

useradd -g oinstall -G dba oracle

passwd oracle

Create the directories in which the Oracle software will be installed.

mkdir -p /u01/app/oracle/OracleHomes

chown -R oracle.oinstall /u01

Login as root and issue the following command.

xhost +

Login as the oracle user and add the following lines at the end of the “.bash_profile” file:

# Oracle Settings

TMP=/tmp; export TMP


ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE


AGENT_HOME=$ORACLE_BASE/OracleHomes/agent10g; export AGENT_HOME

OMS_HOME=$ORACLE_BASE/OracleHomes/oms10g; export OMS_HOME; export ORACLE_HOSTNAME



PATH=/usr/sbin:$PATH; export PATH




if [ $USER = “oracle” ]; then

if [ $SHELL = “/bin/ksh” ]; then

ulimit -p 16384

ulimit -n 65536


ulimit -u 16384 -n 65536



Pre-install Patching

Download from Metalink patch 6078836 and apply it as per the instructions below.

# To apply the patch, unzip the PSE container file:


# % unzip


# Set your current directory to the directory where the patch

# is located:


# % cd 6078836

# As the super-user, copy to /usr/lib


# % mv /usr/lib/ /usr/lib/ (if exist already in /usr/lib)

# % cp /usr/lib/



# Restart the OHS instances of the iAS instance under repair.


Launch runInstaller after loggin as oracle user

We will select Enterprise Manager 10 Grid Control Using a New Database. Then press Next.

In the Parent Directory we specify the $ORACLE_BASE/OracleHomes. Press Next to continue.

Wait for the OUI to complete the prerequisite checks. If the result is fine press Next to continue.

Accept the OUI suggested values or change accordingly and press Next to continue.

Here we accept to perform the configurations later. Press Next to Continue.

Specify the passwords and press Next to continue.

Review the Summary and press Install to start the installation process.

Wait while OUI is performing the install. We are notified for the progress of the installation.

Execute as root from a separate terminal session the specified scripts. Press OK to continue.

Wait while OUI is performing the configuration. We are notified for the progress of the installation. Make sure that all configuration assistants complete successfully.

After successful completion of the configuration we are notified for details how to connect to Oracle Enterprise Manager Grid Control using a browser.

After that we launch a browser and login into the Oracle EM Grid Control and look at the repository database.

In this article we looked at the prerequisites for Oracle EM install on OEL. We set the kernel parameters, created the user account and groups. We patched the OEL for Oracle EM Grid Control Installation and installed the Oracle EM Grid Control.

February 12, 2010 - Posted by | oracle

No comments yet.

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: