Skip to main content
GRID/OEM

OEM: Java Upgrade Issue With OEM 13.4

By May 15, 2023No Comments3 min read

While performing the OEM Upgrade to 13.4 with GUI launcher initially faced issue with insufficient temporary mount point, after addressing by changing the temporary location. Again OEM 13.4 launcher failed with Java issues.

$ chmod 775 em13400_linux64.bin
ORA-X1-oracle-EM12REP:/backup/OEM134
$ ./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]: /backup/OEM134
ERROR: Cannot find component oracle.jdk.
ERROR: Cannot find components specified in JRE_COMPONENT=oracle.jdk,oracle.jre.
ERROR: Installer execution failed (1).
ORA-X1-oracle-EM12REP:/backup/OEM134

Again tried to set the environment variables and retried the operation

$ . oraenv
ORACLE_SID = [EM12REP] ? oms
bash: [: /opt/oracle: unary operator expected
The Oracle base remains unchanged with value /opt/oracle
Resetting ORACLE_BASE to its previous value or ORACLE_HOME
The Oracle base remains unchanged with value /opt/oracle
ORA-X1-oracle-EM12REP:/backup/OEM134
$ ./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]: /backup/OEM134
ERROR: Cannot find component oracle.jdk.
ERROR: Cannot find components specified in JRE_COMPONENT=oracle.jdk,oracle.jre.
ERROR: Installer execution failed (1).
ORA-X1-oracle-EM12REP:/backup/OEM134
$

The issue was identified as the listed bug “Bug 30232302 : 13.4 stack uptake EM installer fails to load OUI while providing alternate tmp space” to parse the parameters with java temporary directory as below

$ ./em13400_linux64.bin -J-Djava.io.tmpdir=/backup/OEM134
Launcher log file is /backup/OEM134/OraInstall2022-08-26_12-08-45AM/launcher2022-08-26_12-08-45AM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed
Checking swap space: must be greater than 512 MB.   Actual 6143 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Preparing to launch the Oracle Universal Installer from /backup/OEM134/OraInstall2022-08-26_12-08-45AM
====Prereq Config Location main===
/backup/OEM134/OraInstall2022-08-26_12-08-45AM/stage/prereq
EMGCInstaller args -scratchPath
EMGCInstaller args /backup/OEM134/OraInstall2022-08-26_12-08-45AM
EMGCInstaller args -sourceType
EMGCInstaller args network
EMGCInstaller args -timestamp
EMGCInstaller args 2022-08-26_12-08-45AM
EMGCInstaller args -paramFile
EMGCInstaller args /backup/OEM134/sfx_yWvyTf/Disk1/install/linux64/oraparam.ini
EMGCInstaller args -nocleanUpOnExit
DiskLoc inside SourceLoc/backup/OEM134
EMFileLoc:/backup/OEM134/OraInstall2022-08-26_12-08-45AM/oui/em/
ScratchPathValue :/backup/OEM134/OraInstall2022-08-26_12-08-45AM

After parsing the parameter the launcher started successfully and able to Install successfully.

The Published article from Oracle Support: EM 13.4 : Input of Different Temp Location fails with ‘Cannot find component oracle.jdk.’ (Doc ID 2637530.1)

Thank You.

Leave a Reply