‘ERROR: oracle.sysman.oii.oiic.OiicInstallAPIException: Failed to prepare feature archive for installation. EM13c: PluginInstall.sh throws

‘ERROR: oracle.sysman.oii.oiic.OiicInstallAPIException: Failed to prepare feature archive for installation. EM13c: PluginInstall.sh throws

Cause:

This error occur due to space crunch in /tmp location as oracle searches for temporary directory for installation to proceed but cannot.

ERROR: oracle.sysman.oii.oiic.OiicInstallAPIException: Failed to prepare feature archive /u01/app/oracle/OEM/middleware/install/tmp_installer/oracle.sysman.db/13.4.1.0.0/oracle.sysman.db.oms.plugin-13.4.1.0.0.farb for installation.



The log(s) can be found here: /data01/OraInstall2021-11-15_06-22-03PM.
ERROR: Installer execution failed (1).

Workaround:

Increase /tmp space.

If different directory should be chosen for installation to use temp space, then edit PluginInstall.sh from middleware home by adding the entry -Djava.io.tmpdir=/data01 to INSTALLER_JAVA_OPTIONS=”-mx1024m -Doracle.installer.appendjre=true” parameter value

-bash-4.2$ grep 'INSTALLER_JAVA_OPTIONS="-mx1024m' /u01/app/oracle/OEM/middleware/sysman/install/PluginInstall.sh
INSTALLER_JAVA_OPTIONS="-mx1024m -Doracle.installer.appendjre=true -Djava.io.tmpdir=/data01"

Leave a Reply

%d bloggers like this: