Software
Download the following software:
To know about Pre-installation Requirements
Database Installation
For this installation, we will need 12.1.0.2, 12.2.0.1, 18c or 19c for the repository database, so you can install the Oracle 19c Database from below link
[code] [oracle@orcl19c ~]$ sqlplus / as sysdba SQL*Plus: Release 19.0.0.0.0 - Production on Sat May 2 16:22:26 2020 Version 19.6.0.0.0 Copyright (c) 1982, 2019, Oracle. All rights reserved. Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.6.0.0.0 SQL> select name from v$database; NAME --------- ORCL1 SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 ORCL1PDB READ WRITE NO 4 PDB1 READ WRITE NO 5 RCAT READ WRITE NO SQL> [/code]
Create the directories for middleware home and agent home. Also, start the file "em13300_linux64.bin"
[code] [oracle@orcl19c u02]$ mkdir -p /u02/app/oracle/middleware [oracle@orcl19c u02]$ mkdir -p /u02/app/oracle/agent [oracle@orcl19c u02]$ ls -lrt /u01/app/oracle/suh_test/em13* -rwxrwxr-x. 1 oracle oinstall 2109004737 May 2 16:28 em13400_linux64-2.zip -rwxrwxr-x. 1 oracle oinstall 2047749474 May 2 16:28 em13400_linux64-3.zip -rwxrwxr-x. 1 oracle oinstall 2117312528 May 2 16:28 em13400_linux64-4.zip -rwxrwxr-x. 1 oracle oinstall 808014516 May 2 16:28 em13400_linux64-5.zip -rwxrwxr-x. 1 oracle oinstall 1623577684 May 2 16:28 em13400_linux64.bin -rwxrwxr-x. 1 oracle oinstall 2143125187 May 2 18:21 em13400_linux64-6.zip -rwxrwxr-x. 1 oracle oinstall 1879163226 May 2 18:21 em13400_linux64-7.zip [oracle@orcl19c u02]$ /u01/app/oracle/suh_test/em13400_linux64.bin ERROR: Temporary directory /tmp does not have enough free space. At least 12289 MB of free space are required. Please input another directory or [Exit]: /u02/tmp ERROR: Cannot find component oracle.jdk. ERROR: Cannot find components specified in JRE_COMPONENT=oracle.jdk,oracle.jre. ERROR: Installer execution failed (1). [/code]
I don't have enough space in /tmp, so got to choose different directory /u02/tmp. Since i choose other than default temp directory I got following error.
[code] ERROR: Cannot find component oracle.jdk. ERROR: Cannot find components specified in JRE_COMPONENT=oracle.jdk,oracle.jre. [/code]
Looks like it's a bug in Oracle. For more details check below support document.
Solution
|
And in my case /u02/tmp:
$ ./em13400_linux64.bin -J-Djava.io.tmpdir=/u02/tmp
Now i can see installation got started with out any issues. [code] [oracle@orcl19c suh_test]$ ./em13400_linux64.bin -J-Djava.io.tmpdir=/u02/tmp Launcher log file is /u02/tmp/OraInstall2020-05-02_05-35-05PM/launcher2020-05-02_05-35-05PM.log. Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done [/code] Un-check the security updates checkbox and click the "Next" button. Click the "Yes" button. Check the "Skip" option and click the "Next" button. Click the "Next" button. Prerequisite Checks got failed with following one. Once fixed Click the "Next" button. [code] Checking for glibc-devel-2.17-55-i686; Not found. Failed Checking for ip_local_port_range=11000 - 65000; ip_local_port_range=9000 - 65500. Failed [/code] Installed missing RPM glibc-devel and fixed ip_local_port_range as below [code] [root@orcl19c ~]# cat /proc/sys/net/ipv4/ip_local_port_range 9000 65500 [root@orcl19c ~]# /sbin/sysctl -a | grep ip_local_port_range net.ipv4.ip_local_port_range = 9000 65500 [root@orcl19c ~]# vi /etc/sysctl.conf [root@orcl19c ~]# cat /proc/sys/net/ipv4/ip_local_port_range 9000 65500 [root@orcl19c ~]# /sbin/sysctl -p fs.file-max = 6815744 kernel.sem = 250 32000 100 128 kernel.shmmni = 4096 kernel.shmall = 1073741824 kernel.shmmax = 4398046511104 kernel.panic_on_oops = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.all.rp_filter = 2 net.ipv4.conf.default.rp_filter = 2 fs.aio-max-nr = 1048576 net.ipv4.ip_local_port_range = 11000 65000 [root@orcl19c ~]# [root@orcl19c ~]# cat /proc/sys/net/ipv4/ip_local_port_range 11000 65000 [/code] Select "Simple" options, then click the "Next" button. Provide the middleware and agent locations, then click the "Next" button. Enter the administrator password and database connection details, then click the "Next" button. Encountered following errors and the fixed as per support documents as below 13.4:Installing/Upgrading OMS to 13.4 Fails With Error: Check if all adaptive features parameters are unset (Doc ID 2635383.1) EM 13c: Enterprise Manager 13c Cloud Control Installation with a 12.2 Repository Database Fails with Message: Check if the parameter _allow_insert_with_update_check is set to True (Doc ID 2254373.1) [code] SQL> alter system set "_allow_insert_with_update_check" = true; System altered. SQL> alter session set container=PDB1; Session altered. alter system set "_optimizer_nlj_hj_adaptive_join"= FALSE scope=both sid='*'; alter system set "_optimizer_strans_adaptive_pruning" = FALSE scope=both sid='*'; alter system set "_px_adaptive_dist_method" = OFF scope=both sid='*'; alter system set "_sql_plan_directive_mgmt_control" = 0 scope=both sid='*'; alter system set "_optimizer_dsdir_usage_control" = 0 scope=both sid='*'; alter system set "_optimizer_use_feedback" = FALSE scope=both sid='*'; alter system set "_optimizer_gather_feedback" = FALSE scope=both sid='*'; alter system set "_optimizer_performance_feedback" = OFF scope=both sid='*'; System altered. SQL> System altered. SQL> System altered. SQL> System altered. SQL> System altered. SQL> System altered. SQL> System altered. SQL> System altered. SQL> [/code] Enter a location for the software library and unchecked the "Configure a Shared Location for Oracle BI Publisher" option, and check the "Enable Oracle BI Publisher" option checked. Click the "Next" button. click the "Install" button.
Installation and configuration take some time.
Run the script as root. [code] [root@orcl19c ~]# /u02/app/oracle/middleware/allroot.sh [/code] Note down URL's [code] Use the following URL to access: 1. Enterprise Manager Cloud Control URL: https://orcl19c.oracledbashop.com:7803/em 2. Admin Server URL: https://orcl19c.oracledbashop.com:7102/console 3. BI Publisher URL: https://orcl19c.oracledbashop.com:9803/xmlpserver/servlet/home The following details need to be provided while installing an additional OMS: 1. Admin Server Host Name: orcl19c.oracledbashop.com 2. Admin Server Port: 7102 [/code] Login with SYSMAN. |
[code] [oracle@orcl19c bin]$ pwd /u02/app/oracle/middleware/bin [oracle@orcl19c bin]$ [oracle@orcl19c bin]$ ./emctl status oms Oracle Enterprise Manager Cloud Control 13c Release 4 Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved. WebTier is Up Oracle Management Server is Up JVMD Engine is Up BI Publisher Server is Up [/code]




No comments:
Post a Comment