Friday, July 3, 2015

The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed

If you're having trouble installing the OEMGC Agent on Windows, and receiving that error despite having the file 12.1.0.3.0_PluginsOneoffs_233.zip present in the agent installation folder, then create the following batch file and run it:

runme.bat:

set PERL5LIB=
set ORACLE_HOME=
set path=%CD%;%WINDIR%;%WINDIR%\SYSTEM32
set ORATMP=c:\TMP
MKDIR %ORATMP%
SET TMP=%ORATMP%
SET TEMP=%ORATMP%
DEL %ORATMP%\*.* /Q
sc delete Oracleagent12c1Agent

call agentDeploy.bat AGENT_BASE_DIR=c:\oemgc\agent12c RESPONSE_FILE=%CD%\agent.rsp
pause


Comments: This batch file is attempting to pre-empt a whole bunch of pitfalls.Unset PERL5LIB, unset ORACLE_HOME, clean up the PATH, create a clean TMP directory, delete any service from a previous installation attempt.