现象:
On Microsoft Windows x64 (64-bit) 2008 R2
EM 13.2 Agent installation has been failed with Error D:\Oracle\oem\agent Directory has space less than 1.5 GB. Make sure that the agent base directory has space more than 1.5 GB.
D:\>D:\Oracle\oem\install\agentDeploy.bat AGENT_BASE_DIR=D:\Oracle\oem\agent RESPONSE_FILE=D:\Oracle\oem\install\agent.rsp
D:\Oracle\oem\install
Present working directory:D:\Oracle\oem\install
Archive location:D:\Oracle\oem\install directory
D:\Oracle\oem\agent
Agent base directory:D:\Oracle\oem\agent
ECHO is off.
ECHO is on.
Agent base directory:D:\Oracle\oem\agent
OMS Host:
Agent image loc : "D:\Oracle\oem\install"
'wmic' is not recognized as an internal or external command,
operable program or batch file.
"Space available in AgentBaseDirectory is -1 MB"
" ERROR: D:\Oracle\oem\agent Directory has space less than 1.5 GB. Make sure that the agent base directory has space more than 1.5 GB."
However, there's enough of free disk space on the drive where the agent base directory is.
D:\>dir
Volume in drive D is New Volume
Volume Serial Number is 08E4-05A6
Directory of D:\
12/06/2016 12:51 AM <DIR> test
08/31/2017 12:09 PM <DIR> Oracle
0 File(s) 0 bytes
2 Dir(s) 37,169,029,1115 bytes free
原因:
Already having PERL5LIB environment variable on the Windows target host
and
wmic.exe file path C:\windows\system32\wbem not set in the environment variable PATH.
处理方法:
If the PERL5LIB environment variable set , remove it using
C:\> set PERL5LIB=
PERL5LIB=d:\Oracle\oem\agent12c\core\12.1.0.4.0\perl\lib;d:\Oracle\oem\agent12c\core\12.1.0.4.0\perl
Ensure that wmic.exe file path C:\windows\system32\wbem in the Environment PATH variable as below example
Path=C:\WINDOWS\system32;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32\wbem;
Then Perform the agent installation.
|