Grid Control installation on RHEL 5.4 x64


Linux requirements

Base release of the product is normally not supported on RHEL 5.0 but latest release is. So the *complexity* to install it:

Oracle Enterprise Manager 10g Grid Control Certification Checker [ID 412431.1]

Installation requirement for Grid Control in OEL/RHEL 5(Linux x86-64) bit OS [ID 889692.1]

rpm -qa --queryformat "%{N}-%{VERSION}.%{RELEASE} (%{ARCH})n" | grep <package_name>

Here is the list for x86_64:

libXp- (i386)
libXp- (x86_64)
kernel-headers- (x86_64)
gcc-c++- (x86_64)
gcc- (x86_64)
libstdc++- (x86_64)
libstdc++- (i386)
libstdc++-devel- (x86_64)
make-3.81.3.el5 (x86_64)
libgomp- (x86_64)
glibc-headers-2.5.34 (x86_64)
glibc-2.5.34 (x86_64)
glibc-devel-2.5.34 (i386)
glibc-2.5.34 (i686)
glibc-devel-2.5.34 (x86_64)
binutils- (x86_64)
compat-db-4.2.52-5.1 (x86_64)
compat-db-4.2.52-5.1 (i386))
openmotif-2.1.30-11 (x86_64)
gdbm- (x86_64)
gdbm- (i386)

Do not forget to create the needed link (see reference note):

ln -s /usr/lib/ /usr/lib/

Oracle installation

How To Drop, Create And Recreate DB Control In A 10g Database [ID 278100.1]

Pleae note that the short release (in case you want to re-install so always use the definitive one):

--Step 1: Drop AQ related objects in the SYSMAN schemaLogon SQLPLUS as user SYSMAN
--Step 2: Drop the DB Control Repository ObjectsLogon SQLPLUS as user SYS or SYSTEM,
--and drop the sysman account and management objects:
EXEC sysman.emd_maintenance.remove_em_dbms_jobs;
EXEC sysman.setEMUserContext('',5);
REVOKE dba FROM sysman;
SELECT owner, synonym_name name
FROM dba_synonyms
WHERE table_owner = 'SYSMAN';
IF r1.owner = 'PUBLIC' THEN
DROP ROLE mgmt_user;

How to Install Grid Control on OEL/RHEL5/SLES10 Using the Existing Database (11g) Option [ID 784963.1]

As explained in the documentation prepare the em_using_existing_db.rsp, oms_patchset.rsp and agent_patchset.rsp response file.

/tmp/oracle/Disk1/runInstaller -noconfig -ignoreSysPrereqs -silent -responseFile /tmp/oracle/Disk1/response/em_using_existing_db.rsp use_prereq_checker=false b_skipDBValidation=true -force
/tmp/oracle/10205/3731593/Disk1/runInstaller -noconfig -silent -responseFile /tmp/oracle/10205/3731593/Disk1/response/oms_patchset.rsp
/tmp/oracle/10205/3731593/Disk1/runInstaller -noconfig -silent -responseFile /tmp/oracle/10205/3731593/Disk1/response/agent_patchset.rsp
export PERL5LIB=/ora_gc/oms10g/perl/lib/5.6.1
/ora_gc/oms10g/perl/bin/perl /ora_gc/oms10g/sysman/install/ /ora_gc
tail -f /ora_gc/oms10g/cfgtoollogs/oui/configActions<date>.log

Look also at /ora_gc/oms10g/cfgtoollogs/oui/configActions.err

Errors and corrections


OCMRepeater is not Available after Upgrading Grid Control to [ID 812060.1]

[oragc@server1 ~]$ echo $ORACLE_HOME
[oragc@server1 ~]$ $ORACLE_HOME/ $ORACLE_HOME


Problem: Core Dumps: 10.2 Agent core dumping every 5 minutes and/or emagent.trc shows WARN collector: Error exit. Error message: Instance Health Check initialization failed [ID 363170.1]

Grid Control session timeout

Fed up with the 15 minutes session idle time ?:

How to Change the Default Session Timeout on EM GRID Control and DB Control Connections [ID 234875.1]

Add in $ORACLE_HOME/sysman/config/ (240 minutes = 4 hours):


Link error on HPUX 11.11

Error message is:

Error in invoking target 'agent nmo nmb nmhs emsubagent' of makefile '/opt/STMtools/STMoracleagent/agent10g/sysman/lib/'.

Reference Metalink note is 831111.1.

There is patch 8500835 to solve the issue. Problem is that you can apply it only on HPUX and that it requires to be applied onto a installation folder (i.e. Disk1). If your central repository is on Linux you cannot apply it on your agent_download folder. Looking at the script it is in fact a simple copy of one unique file filegroup40.jar into $OMS_HOME/sysman/agent_download/ so quite easy to achieve. Do the copy and restart the installation.

4 thoughts on “Grid Control installation on RHEL 5.4 x64

  1. Hi Yannick,

    I’ve trying yo install the Base release on RHEL 5.4. Imposible…

    After installing oracle-validated and more stuff like that…
    yum install zlib-devel
    rpm -ivh libpng10-devel-1.0.13-8.i386.rpm libpng10-1.0.13-8.i386.rpm
    yum install gdk-pixbuf glib gtk+
    rpm -ivh imlib-1.9.15-11.el5.x86_64.rpm
    rpm -ivh imlib-devel-1.9.15-11.el5.x86_64.rpm

    It was imposible to resolve this 3 packages: gnome-libs, xscreensaver and openmotif21

    [root@db05 GRID_CONTROL]# rpmbuild –rebuild xscreensaver-4.18-5.rhel4.2.src.rpm
    error: Failed build dependencies:
    XFree86-devel is needed by xscreensaver-4.18-5.rhel4.2.x86_64
    [root@db05 GRID_CONTROL]# rpmbuild –rebuild gnome-libs-
    error: Failed build dependencies:
    ORBit-devel is needed by gnome-libs-

    I’ve already request the BASE RELEASE if exist, because it’s imposible to install Grid Control on RHEL 5.4.
    Only downgrading to RHEL 4 I think so.

    What do you think about it?


    • Hi Daniel,

      Why rpmbuild and not rpm ? Using something like rpm -Uvh you should be proposed to install dependencies if your server has a well configured package repository…

      Beyond this, why working to install while is available ? Do you know that after Grid Control 10gR2 there was Grid Control 11gR1 and now Cloud Control 12c. RedHat 5 is soon to be de-supported as well (not to mention RedHat 4)…

      I strongly suggest you move to Cloud Control 12c on RedHat 6, that is clearly more user friendly and repository java processes are really more stable (Weblogic also helps of course). To finally convinced you if I have to list one functionality that rocks in Cloud Control 12c you really need to give a try, I straight choose ASH Analytics !

      Thanks, Yannick.

  2. Hi Yannick,

    I choose these releases (OS 5.4 & EMGC because they are specified for the OCM 11g exam.
    I requested the and old versions to practice this installation and the related tasks but
    the is only a PSU and not a base software installation.
    The is the base software.

    RHEL 5.4 doesn’t have these packages: “gnome-libs, xscreensaver and openmotif21”
    RHEL 4.8 have it all and it was easy to install and upgrade it to, then I started to install agents to monitor and everything works.

    I’m looking for somebody that can give me an idea about installing on RHEL 5.4 because it’s specified as “Exam environment” in the Oracle website. Then I feel a bit uncomfortable about this.

    Thanks for the -U upgrade option, sometimes I’ve used but in this subject I’m trying to install old packages “.arch” or rebuilding the RPMs from old releases for my required environment.

    Well, I have a very good news, I’ve just check that It was changed to GRID
    So, It’s the solution to my problems… WOW !!

    Thanks in advance Daniel

    • Hi Dani,

      I’m also preparing OCM exam 🙂 …

      And I share the (previous) need of Grid 10gR2 for this exam but as you rightly mentioned, starting from 13th May 2013 this is now 11gR1. I’m wondering why they moved from 64 bits to 32 bits as the industry standard is clearly 64 bits…

      I also see that they are going to remove Streams which is even a more good news for me as (unfortunately) I know a bit the product (I followed the Streams training) !

      I will prepare a 11gR1 Grid on OEL 5.4 32 bits to also practice a bit this old product…

      Thanks, Yannick.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>