Skip to main content
GRID/OEM

OEM 13.4 Upgrade OUI failed to start with different Temp Location

By April 22, 2022August 28th, 2022No Comments2 min read

OEM currently running on 13.2 the plan is to upgrade the OEM to 13.4 version. Since the /tmp location space is not sufficient provided the alternate destination.

in nature this should work, but for some reason the OUI failed to start.

 

$ . 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 workaround to fix the issue is mentioned in the MOS note “EM 13.4 : Input of Different Temp Location fails with ‘Cannot find component oracle.jdk.’ (Doc ID 2637530.1) ”

We have to start the launcher with additional attribute like below, that fixed the issue.

$ ./em13400_linux64.bin -J-Djava.io.tmpdir=/backup/OEM134

Launcher log file is /backup/OEM134/OraInstall2022-04-26_12-08-45AM/launcher2022-04-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-04-26_12-08-45AM

====Prereq Config Location main===

/backup/OEM134/OraInstall2022-04-26_12-08-45AM/stage/prereq

EMGCInstaller args -scratchPath

EMGCInstaller args /backup/OEM134/OraInstall2022-04-26_12-08-45AM

EMGCInstaller args -sourceType

EMGCInstaller args network

EMGCInstaller args -timestamp

EMGCInstaller args 2022-04-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-04-26_12-08-45AM/oui/em/

ScratchPathValue :/backup/OEM134/OraInstall2022-04-26_12-08-45AM

 

 

Leave a Reply