Skip to main content

Errors while Installing 12c EM Cloud Control

 This blog will list the errors faced during Installation of Enterprise Manager 12c Cloud Control


1. :Error in invoking target 'install' of makefile '/u01/app/oracle/oms12cr3/oms/sqlplus/lib/ins_sqlplus.mk'


INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target 'install' of makefile '/u01/app/oracle/oms12cr3/oms/sqlplus/lib/ins_sqlplus.mk'. See '/u01/app/oraInventory/logs/installActions2021-05-14_12-14-33-AM.log' for details.

Exception Severity: 1

INFO: POPUP WARNING:Error in invoking target 'install' of makefile '/u01/app/oracle/oms12cr3/oms/sqlplus/lib/ins_sqlplus.mk'. See '/u01/app/oraInventory/logs/installActions2021-05-14_12-14-33-AM.log' for details.



INFO: /usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lclntsh
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory

Solution:

Install glibc-devel package

[root@oel8a ~]# yum install glibc-devel*
Oracle Linux 8 EPEL Packages for Development (x86_64)                                                                                                             1.9 kB/s | 2.5 kB     00:01
Oracle Linux 8 EPEL Packages for Development (x86_64)                                                                                                             601 kB/s |  16 MB     00:27
Last metadata expiration check: 0:00:15 ago on Fri 14 May 2021 12:30:16 AM +03.
Package glibc-devel-2.28-42.0.1.el8.x86_64 is already installed.
Dependencies resolved.
==================================================================================================================================================================================================
 Package                                         Arch                                 Version                                               Repository                                       Size
==================================================================================================================================================================================================
Upgrading:
 glibc-devel                                     x86_64                               2.28-127.0.3.el8_3.2                                  ol8_baseos_latest                               1.0 M
 glibc-langpack-en                               x86_64                               2.28-127.0.3.el8_3.2                                  ol8_baseos_latest                               825 k
 glibc-headers                                   x86_64                               2.28-127.0.3.el8_3.2                                  ol8_baseos_latest                               477 k
 libnsl                                          x86_64                               2.28-127.0.3.el8_3.2                                  ol8_baseos_latest                               100 k
 glibc-common                                    x86_64                               2.28-127.0.3.el8_3.2                                  ol8_baseos_latest                               1.3 M
 glibc                                           x86_64                               2.28-127.0.3.el8_3.2                                  ol8_baseos_latest                               3.6 M

Transaction Summary
==================================================================================================================================================================================================
Upgrade  6 Packages

Total download size: 7.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): glibc-headers-2.28-127.0.3.el8_3.2.x86_64.rpm                                                                                                              120 kB/s | 477 kB     00:03
(2/6): libnsl-2.28-127.0.3.el8_3.2.x86_64.rpm                                                                                                                     238 kB/s | 100 kB     00:00
(3/6): glibc-langpack-en-2.28-127.0.3.el8_3.2.x86_64.rpm                                                                                                          165 kB/s | 825 kB     00:05
(4/6): glibc-devel-2.28-127.0.3.el8_3.2.x86_64.rpm                                                                                                                199 kB/s | 1.0 MB     00:05
(5/6): glibc-common-2.28-127.0.3.el8_3.2.x86_64.rpm                                                                                                               303 kB/s | 1.3 MB     00:04
(6/6): glibc-2.28-127.0.3.el8_3.2.x86_64.rpm                                                                                                                      430 kB/s | 3.6 MB     00:08
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                             549 kB/s | 7.3 MB     00:13
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                          1/1
  Upgrading        : glibc-common-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                1/12
  Running scriptlet: glibc-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                       2/12
  Upgrading        : glibc-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                       2/12
  Running scriptlet: glibc-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                       2/12
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew

  Upgrading        : glibc-langpack-en-2.28-127.0.3.el8_3.2.x86_64                                                                                                                           3/12
  Running scriptlet: glibc-headers-2.28-127.0.3.el8_3.2.x86_64                                                                                                                               4/12
  Upgrading        : glibc-headers-2.28-127.0.3.el8_3.2.x86_64                                                                                                                               4/12
  Upgrading        : glibc-devel-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                 5/12
  Running scriptlet: glibc-devel-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                 5/12
  Upgrading        : libnsl-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                      6/12
  Running scriptlet: glibc-devel-2.28-42.0.1.el8.x86_64                                                                                                                                      7/12
  Cleanup          : glibc-devel-2.28-42.0.1.el8.x86_64                                                                                                                                      7/12
  Cleanup          : libnsl-2.28-42.0.1.el8.x86_64                                                                                                                                           8/12
  Cleanup          : glibc-headers-2.28-42.0.1.el8.x86_64                                                                                                                                    9/12
  Cleanup          : glibc-common-2.28-42.0.1.el8.x86_64                                                                                                                                    10/12
  Cleanup          : glibc-langpack-en-2.28-42.0.1.el8.x86_64                                                                                                                               11/12
  Cleanup          : glibc-2.28-42.0.1.el8.x86_64                                                                                                                                           12/12
  Running scriptlet: glibc-2.28-42.0.1.el8.x86_64                                                                                                                                           12/12
  Running scriptlet: glibc-common-2.28-127.0.3.el8_3.2.x86_64                                                                                                                               12/12
  Verifying        : glibc-devel-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                 1/12
  Verifying        : glibc-devel-2.28-42.0.1.el8.x86_64                                                                                                                                      2/12
  Verifying        : glibc-langpack-en-2.28-127.0.3.el8_3.2.x86_64                                                                                                                           3/12
  Verifying        : glibc-langpack-en-2.28-42.0.1.el8.x86_64                                                                                                                                4/12
  Verifying        : glibc-headers-2.28-127.0.3.el8_3.2.x86_64                                                                                                                               5/12
  Verifying        : glibc-headers-2.28-42.0.1.el8.x86_64                                                                                                                                    6/12
  Verifying        : libnsl-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                      7/12
  Verifying        : libnsl-2.28-42.0.1.el8.x86_64                                                                                                                                           8/12
  Verifying        : glibc-common-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                9/12
  Verifying        : glibc-common-2.28-42.0.1.el8.x86_64                                                                                                                                    10/12
  Verifying        : glibc-2.28-127.0.3.el8_3.2.x86_64                                                                                                                                      11/12
  Verifying        : glibc-2.28-42.0.1.el8.x86_64                                                                                                                                           12/12

Upgraded:
  glibc-devel-2.28-127.0.3.el8_3.2.x86_64         glibc-langpack-en-2.28-127.0.3.el8_3.2.x86_64        glibc-headers-2.28-127.0.3.el8_3.2.x86_64        libnsl-2.28-127.0.3.el8_3.2.x86_64
  glibc-common-2.28-127.0.3.el8_3.2.x86_64        glibc-2.28-127.0.3.el8_3.2.x86_64

Complete!
[root@oel8a ~]# 


Reference:


I have installed the glibc-devel and also ignored the errors. I was able to successfully install the OEM 12c Cloud Control




Comments

Popular posts from this blog

12.1.0 Grid Installation on Solaris 11.3 fails with ASM failed to start

Issue Description  We faced one issue, while installing the GI 12.1.0.1.0 on Solaris 11.3  ASM failed to start. Check /u01/app/grid/cfgtoollogs/asmca/asmca-201202PM061908.log for details. 2020/12/02 18:19:17 CLSRSC-184: Configuration of ASM failed 2020/12/02 18:19:17 CLSRSC-258: Failed to configure and start ASM Died at /u01/app/12.1.0/grid_1/crs/install/crsinstall.pm line 1976. The command '/u01/app/12.1.0/grid_1/perl/bin/perl -I/u01/app/12.1.0/grid_1/perl/lib -I/u01/app/12.1.0/grid_1/crs/install /u01/app/12.1.0/grid_1/crs/install/rootcrs.pl ' execution failed This error is coming during root.sh execution on primary node. After checking the asmca logs, the error seen is as below: ========================== [main] [ 2020-12-02 17:00:49.575 AST ] [UsmcaLogger.logException:156] SEVERE:method oracle.sysman.assistants.usmca.backend.USMInstance:configureLocalASM [main] [ 2020-12-02 17:00:49.575 AST ] [UsmcaLogger.logException:157] ORA-27122: unable to protect memory [main] [ 2020-1...

Health Check Script

Oracle Database Health Check Script Run this script has sysdba user or any user having DBA Role Change the spool file patch to correct directory. In this example it is set to  /export/home/oraprod/ $ cat Health_Check_Script.sql set pagesize 1100 SET MARKUP HTML ON SPOOL ON spool /export/home/oraprod/health_check_new.html set feedback off set linesize 200; set pages 50 set lines 1000 set pages 70 set heading on PROMPT================================================================ prompt PROMPT PROMPT Daily_Monitoring Checkup Report prompt ================================================================================================================================================= PROMPT REPORT DATE select to_char(sysdate,'DD-MON-YYYY:HH:MI:SS') "Report Run Date" from dual; prompt DATABASE NAME PROMPT ============== select instance_name,host_name,version,status from gv$instance ,v$database a; PROMPT DATABASE INFO PROMPT =============...

12.2 Stage area creation fails with startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory

 12.2 Stage area creation fails with startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory While creating the stage area for 12.2 Installation, we face issue while running the buildstage.sh ....startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java: No such file or directory Solution:  Please go to the path provided in the error log and check if the java is working fine with below command: java -version Generally this java is having some issues.   Install the jre 7 or jre 8 and copy the the jre at the same path by renaming old folder. It should work fine.  Now if your run the build command again, it should succeed.  Running command: /u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jre/Linux_x64/1.6.0/bin/java -classpath /u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/emocmutl.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/ewt-3_4_22.jar:/u01/soft/ebs/startCD/Disk1/rapidwiz/bin/../jlib/share-1_1_18.jar:/u01/soft/ebs/star...