EM 12c, 13c: EM Diag Repvfy Kit for Cloud Control fails to install on MS Windows due to missing commonenv.bat file.
Last updated on FEBRUARY 05, 2018
Applies to:Enterprise Manager Base Platform - Version 220.127.116.11.0 and later
Enterprise Manager (EM) 12c or 13c Cloud Control system on Windows Server (w/EM Repository DB on same Server)
Installing the EMDiag Repvfy Kit (following <Note 1426973.1> : "EM 13c, 12c: EMDIAG REPVFY Kit for Cloud Control -
Download, Install/De-Install and Upgrade"), to either the OMS or Repository Database Oracle Home fails with error:
Unable to locate PERL
Unable to find the right environment
Make sure the following directories and files exists
- ORACLE_HOME - D:\Oracle\Oradb12cr1\product\12.1.0\dbhome_1
- EMDROOT - D:\Oracle\Oradb12cr1\product\12.1.0\dbhome_1
- commonenv - D:\Oracle\Oradb12cr1\product\12.1.0\dbhome_1\bin\commonenv.bat
(even though the ORACLE_HOME & ORACLE_SID environment variables are set correctly).
EM 12c was upgraded to 13.1, but same issue occurred both before & after upgrade, as EMDIAG Kit is actually the same for both.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms