Tuesday, May 12, 2015

Issue encounter during Oracle Database 11.2.0.4 installation on Oracle Linux 7

1. Packages "elfutilslibelfdevel0.97" and "pdksh5.2.14" Are Missing
While installing the 11.2.0.4 database software on a Oracle Linux 7 the Oracle Universal Installer (OUI) reports that packages "elfultilslibelfdevel0.97" and "pdksh5.2.14" are missing.

Solution:
a. Under the /database directory, modify the file /database/stage/cvu/cv/admin/cvu_config , search for CV_ASSUME_DISTID and replace OEL4 with OEL7 as below.
CV_ASSUME_DISTID=OEL4
to:
CV_ASSUME_DISTID=OEL7

b. Reinstall the 11.2.0.4 software using /database/runInstaller.
OUI should now perform the OEL7 prerequisite checks (which are identical to the RHEL7 prerequisite checks) and no longer report that packages "elfutilslibelfdevel0.97" and "pdksh5.2.14" are missing.

2. Error in invoking target 'agent nmhs' of makefile
While installing Oracle Database 11.2.0.4 software, you may get an error during the LINK stage of installation:
Exception String: Error in invoking target 'agent nmhs' of makefile '/u01/oracle/app/product/11.2.0/db_1/sysman/lib/ins_emagent.mk'.

Solution:
Modify the file /sysman/lib/ins_emagent.mk, search for MK_EMAGENT_NMECTL and add in -lnnz11 as below. 
#===========================
#  emdctl
#===========================

$(SYSMANBIN)emdctl:
        $(MK_EMAGENT_NMECTL) -lnnz11


Save the file and click “RETRY” to resume the installation. The installation should be able to complete successfully.