Running Prerequisite Kit scripts from Software Kit
The Prerequisite Kit is available in the following location of the downloaded Enterprise Manager:
<download location of the script>/install/requisites/bin/emprereqkit
(on Microsoft Windows, the namefilename is emprereqkit.bat
)
Example: D:\OracleMS\install\requisites\bin
(on Windows path)
To run this prerequisite script without taking any corrective actions, we can run it as follows:
<download location>/install/requisites/bin/emprereqkit -executionType <install/upgrade/postrequisite/plugindeploy> -prerequisiteXMLLoc <prerequisite_xml_location> -connectString <connection_string> -dbUser SYS -dbPassword <password_for_sys_account> -dbRole sysdba -reposUser SYSMAN -showPrereqs
For example on a Windows installation:
D:\OracleMS\install\requisites\bin\emprereqkit.bat -executionType install -prerequisiteXMLLoc $ORACLE_HOME/install/requisites/list/ -connectString "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SID=EnterpriseManager)))" -dbUser SYS -dbPassword mypwd -dbRole sysdba -reposUser SYSMAN -showPrereqs
If you want to take corrective actions, you can use the flag --runCorrectiveActions
in the script.